semvec/pypi-packages huggingface dataset:
peertube-uploader 1.0.0
A script to make uploading to peertube instances easier.

# PeerTube Uploader

A script to make uploading to peertube instances easier.

For documentation on the API used see 
https://docs.joinpeertube.org/api-rest-reference.html

## Installation

    pip install peertube-uploader

## Development

    pip install -r requirements.txt

## Usage

One installed you can run the `ptu` command.

````
usage: main.py [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]
               [-e ENDPOINT]

A script to make uploading to peertube instances easier. For documentation on
the API used see https://docs.joinpeertube.org/api-rest-reference.html

optional arguments:
  --version             show program's version number and exit
  -v, --verbose         Increase verbosity of output. Can be repeated.
  -q, --quiet           Suppress output except warnings and errors.
  --log-file LOG_FILE   Specify a file to log output. Disabled by default.
  -h, --help            Show help message and exit.
  --debug               Show tracebacks on errors.
  -e ENDPOINT, --endpoint ENDPOINT
                        MANDATORY! URL to a server e.g
                        https://peertube.cpy.re/ (alternatively use
                        PEERTUBE_ENDPOINT env var)

Commands:
  complete       print bash completion command (cliff)
  get-access-token  Requests an access-token from the server. (peertube-uploader)
  help           print detailed help for another command (cliff)
  import         Trigger an import of a URI (peertube-uploader)
  upload-video   Upload videos from the file-system (peertube-uploader)
````

## Thanks

Thanks to all the [contributors](https://gitlab.com/NamingThingsIsHard/media_tools/peertube-uploader/-/graphs/master).
pascman 0.0.6
Eat every text that you want with this simpatic pacman! :D

# PASCMAN ᗧ ⚇

![version](https://img.shields.io/badge/pascman-v0.0.6-brightgreen.svg)

Using the native Python Curses library to create a simple plain text pacman that eat every text that you want :D

![pascman-example](https://github.com/Ronald-TR/pascman/blob/master/docs/pascman.gif)

*No external dependencies, just **python native code*** :snake:

## Installation

`pip install pascman`

and that's all! :snake:

## Usage commands
On terminal:

    pascman <flags|args> (optional) # or 
    python -m pascman <flags|args>

Type --help and you will see all the commands descriptions
```bash

pascman --help                                       

usage: main.py [-h] [--file [FILE]] [--aggressive] [--mask [MASK]]

Eat every text with pycman!! :D

optional arguments:
  -h, --help            show this help message and exit
  --file [FILE], -f [FILE]
                        path to a file
  --aggressive, -g      just an alias for --mask=*FUCK*OFF*
  --mask [MASK], -m [MASK]
                        choose the trace that pacman will be leave
```
Basically, are three options: 

`--file <path to a text file>`

`--aggressive or just -g <displays *FUCK*OFF*> in pacman trace`

`--mask <here, you set the trace, be creative>`

If you dont set a --file or a --mask, you will play a small example with the default options.

## Game commands

a -- left

d -- right

w -- up

s -- down

and:

CTRL+C -- quit

Only **AWSD** key inputs are allowed into the game curse screen.

Enjoy! :D
colormapize 0.2
Generate a colormap from an image

About colormapize
=================

.. image:: https://img.shields.io/badge/Made%20at-%23AstroHackWeek-8063d5.svg?style=flat

About
-----

This is a small package to easily generate colormaps from images which was
built as a fun hack and should *not* be used to generate colormaps for
serious visualization work since there is no guarantee that the colormaps
made will be e.g. perceptually uniform.

Installing
----------

To install::

    pip install colormapize

Using
-----

To use, run::

    colormapize your_image.jpg colormap_name

where ``colormap_name`` is what you want to call your colormap, for example::

    colormapize your_image.jpg kittens

This should open a Matplotlib window. Click once to define the start of a path
and click again to define the end of the path. You can then use the + and - keys
to add more samples along the path. If you are not happy with the path, just
click twice again to define a new path. Once you are happy with it, press
'enter' or 'c' and you will see a preview of the colormap on the right of the
image, and the colormap will also be saved to e.g.``cmap_kittens.py``. You can
continue to redefine the path until you are happy with it, and the file will be
overwritten every time you press 'enter' or 'c'. Close the window once you are
done.

To use, make sure the colormap file (e.g. ``cmap_kittens.py``) is in the same
directory as the directory where you want to make plots, and you can then use it
as follows in other scripts::

    import colormap_kittens

    ...

    plt.imshow(mydata, cmap='kittens')