semvec/pypi-packages huggingface dataset:
ctft 0.1.11
CLI tool to get and view stylised CTFTime.org writeups in your terminal.
License: MIT
Requires Python: >=3.6.0

# ctft

ctft is a python cli tool to save and view stylised [ctftime.org](https://ctftime.org) writeups locally in your terminal.

- **Search for writeups** by name or keyword
- **View Stylised writeups** from saved files
- Writeups are saved are as **markdown files** which can also be read as plaintext(even though it doesn't make sense to read plaintext over formatted :unamused: )

VSCode users can also use markdown viewing extensions like [Markdown Preview Enhanced](https://marketplace.visualstudio.com/items?itemName=shd101wyy.markdown-preview-enhanced) to view writeups

The project took inspiration from [mzfr's lswriteups](https://github.com/mzfr/lswriteups) but I wanted to further the ease of access and reduce browser dependence.

The tool currently scrapes only writeups on CTFTime.org and github READMEs.
If you would like to add support for your site or your favourite author(with their permission ofcourse), feel free to contact me or make a pull request

## Usage

```bash
➜ python3 ctft.py -h
usage: ctft [-h] (-e EVENT | -v TASK NAME)

Get and view stylised ctftime writeups in your terminal

optional arguments:
  -h, --help            show this help message and exit
  -e EVENT, --event EVENT
                        Name of the ctf event
  -v TASK NAME, --view TASK NAME
                        View writeup in terminal

```

- The files are saved in your (home directory)/ctft_writeups

### DEMO

` python3 ctft.py -e asisctf`
![](https://raw.githubusercontent.com/bajatin/README_gif_host/master/event_demo.gif)

You can also make an alias of ctft or add ctft to $PATH for easier usage

`ctft -v Web\ Warm-up`
![](https://raw.githubusercontent.com/bajatin/README_gif_host/master/view_demo.gif)

## Installation 

`pip3 install ctft`

### Manual Installation

- Cone the repo:

`git clone https://github.com/bajatin/ctft`

- Install dependencies:

`pip install -r requirements.txt`

## Contributing
I started this project solely for educational purposes to familiarize myself with python and asynchronous programming.
Pull requests or suggestions for imporvement are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)
peopleai-api 0.0.4
Python library to download activities from People.ai's REST API
License: MIT
Requires Python: >=3.6
Keywords: People.ai activities API

peopleai-api
============

Python library to download `activities from People.ai's REST API
<https://help.people.ai/hc/en-us/articles/360042406653-Activity-APIs-Resources>`_

.. code-block:: python

    from peopleai_api import PeopleAIClient

    client = PeopleAIClient('<api_key>', '<api_secret>')

    job_id = client.start_activities_export(start_date='2020-08-06', end_date='2020-08-06', activity_type='all',
                                            output_format='JSONLines', export_type='delta')
    client.check_activities_export(job_id, until_completed=True)
    client.download_activities_export(job_id, '/tmp/peopleai-export.json')

Links & Contact Info
====================

| PyPI Package: https://pypi.org/project/peopleai-api/
| GitHub Source: https://github.com/maxzheng/peopleai-api
| Report Issues/Bugs: https://github.com/maxzheng/peopleai-api/issues
|
| Connect: https://www.linkedin.com/in/maxzheng
| Contact: maxzheng.os @t gmail.com
steammanager 0.6
Steam Shortcut Manager
License: MIT

# Steam Shortcut Manager

This is a script for adding non-steam shortcuts to Steam. Most of the work is done by the module [steamclient](https://gitlab.com/avalonparton/steam-client).

## Installation

The package is available on [PyPi](https://pypi.org/project/steamclient/) as `steammanager` and can be installed with pip.

```bash
pip install steammanager
```

## Usage

Point the script at your installed games with the `--directory` flag.

```
$ python -m steammanager --help                                    
usage: steammanager [-h] [--directory DIRECTORY] [--dry-run] [--clear-cache] [--vr] [--artwork] [--overwrite]

Manage Steam Shortcuts

optional arguments:
  -h, --help            show this help message and exit
  --directory DIRECTORY
                        location of installed game(s)
  --dry-run             don't write any changes
  --clear-cache         clears the app ID cache
  --vr                  sets VR flag for all games
  --artwork             gets official artwork from Steam
  --overwrite           overwrite existing artwork files
```

# Example Output

```console
$ python -m steammanager --artwork --vr --directory "F:\Games\Pirated\VR\\"
$ python -m steammanager --artwork --directory "F:\Games\Pirated\\" 
...
---------------------------
Name: The Outer Worlds
Exe: F:\Games\Pirated\The Outer Worlds\TheOuterWorlds.exe
Getting artwork:
header: https://steamcdn-a.akamaihd.net/steam/apps/578650/header.jpg
grid: https://steamcdn-a.akamaihd.net/steam/apps/578650/library_600x900_2x.jpg
logo: https://steamcdn-a.akamaihd.net/steam/apps/578650/logo.png
---------------------------
Name: The Witcher 3 Wild Hunt
Exe: F:\Games\Pirated\The Witcher 3 Wild Hunt\bin\x64\witcher3.exe
Getting artwork:
header: https://steamcdn-a.akamaihd.net/steam/apps/292030/header.jpg
grid: https://steamcdn-a.akamaihd.net/steam/apps/292030/library_600x900_2x.jpg
logo: https://steamcdn-a.akamaihd.net/steam/apps/292030/logo.png
=============================
Done!
Installed:
 - 26 headers
 - 25 grids
 - 24 logos
Skipped due to existing files (use --overwrite to bypass):
 - 0 headers
 - 1 grids
 - 2 logos
Failed: 0
```


![before](https://i.imgur.com/Q0gxwLS.png) ![after](https://i.imgur.com/AMIIRVj.png)


## Deploying to PyPi

```bash
python -m pip install wheel twine
rm -rfv dist/*whl
python setup.py bdist_wheel
python -m twine upload --skip-existing dist/*.whl
```


## Changelog

### 0.6
 * Fix hero image source (was using headers before)
nx.viper 1.2.4b1
Application development framework for twisted.
License: MIT
Keywords: nixiware viper twisted

Viper
=======================

Introduction
------------
Viper is an application development framework for `Twisted <https://github.com/twisted/twisted>`_.

`Twisted <https://github.com/twisted/twisted>`_ is a very flexible platform to develop almost any type of application.
This can be overwhelming, especially when you need to prototype something quickly. There is no predefined way to structure the application's components and no clear way to handle deployment in production environments.

Viper, together with the `default skeleton application <https://github.com/Nixiware/viper-skeleton-application>`_ aims to simplify the development and deployment of server-side applications by using the building blocks that Twisted offers.

To get started have a look at the `default skeleton application <https://github.com/Nixiware/viper-skeleton-application>`_ which offers examples for:

* configuration
* HTTP REST API interface
* CRUD
* scheduled and recurring operations

Features
------------

* *MVCS* structure
* environment based configuration
* deployment using systemd
* MySQL service based on *twisted.enterprise.adbapi*
* mail service based on *smtplib*


Requirements
------------
* Python 3.6

Testing
------------
Unit tests are included in ``test/`` folder.

Performing tests

* Install pytest by running ``pip install pytest``
* Run ``py.test``

Links
------------
`Python Package Index - nx.viper <https://pypi.org/project/nx.viper/>`_


Notice
------------
Viper is currently in Beta stage.

The roadmap before public release is:

1. Tests
2. Documentation