semvec/pypi-packages huggingface dataset:
rvmendillo-image-to-ascii 1.6.4
Generates and saves ASCII texts and colored images from pixels of an image file or URL
Requires Python: >=3.6

# ImageToASCII

It generates and saves ASCII texts and colored images from pixels of an image file or URL.

## Installation

Use the package manager [pip][pip-url] to install rvmendillo-image-to-ascii.

```bash
pip install rvmendillo-image-to-ascii
```

## Usage

```python
# Imports the ImageToASCII class from the rvmendillo_image_to_ascii package
from rvmendillo_image_to_ascii import ImageToASCII

# Instantiates the converter with a JPEG file
app = ImageToASCII('test_image.jpg')

# Generates ASCII text with a target width of 300 pixels
ascii_text = app.generate_ascii_text(300)

# Generates inverted ASCII text for black background
inverted_ascii_text = app.generate_ascii_text(300, inverted=True)

# Generates colored ASCII image for white background
colored_ascii_image = app.generate_colored_ascii_image(300, inverted=False)

# Generates inverted, colored ASCII image for black background
inverted_colored_ascii_image = app.generate_colored_ascii_image(300)

# Saves ASCII text in a TXT file
app.save_text(ascii_text, 'ascii_text.txt')

# Saves inverted ASCII text in a TXT file
app.save_text(inverted_ascii_text, 'inverted_ascii_text.txt')

# Saves colored ASCII image
app.save_image(colored_ascii_image, 'colored_ascii_image.png')

# Saves inverted, colored ASCII image
app.save_image(inverted_colored_ascii_image, 'inverted_colored_ascii_image.png')
```

## Examples

Colored ASCII Image

![Colored ASCII Image][colored-ascii-image]

Inverted, Colored ASCII Image

![Inverted, Colored ASCII Image][inverted-colored-ascii-image]

## License

[MIT][mit-license]

[pip-url]: https://pip.pypa.io/en/stable/
[mit-license]: https://choosealicense.com/licenses/mit/
[colored-ascii-image]: https://raw.githubusercontent.com/rvmendillo/image_to_ascii/main/examples/colored_ascii_image.png
[inverted-colored-ascii-image]: https://raw.githubusercontent.com/rvmendillo/image_to_ascii/main/examples/inverted_colored_ascii_image.png
skipperz 2.0.6
A game where you skip incoming spaceships. Lateral scroll
Requires Python: >=3.6

Skipperz, by Simon Zozol
=======
![screenshot from skipperz](https://holy-python.com/skipperz/skipperz-shot.jpg)


Description
----
In this game, you control a spaceship initially at the right side of the screen.

Some other ships will come from the left

Just skip them

install and run
-----
Easiest way to install is from you system console:  
	`pip install skipperz`

then run with this command:  
	`python -m skipperz`


controls
----
Curently, you can only use the keyboard directional arrows.

Well... actually, you can try to edit `params.py` directly on your drive. It is somewhat technical, but nothing crazy.

I will add other methods later (touchscreen, mouse, joypad)


licence
----
Licence Creative common 0. 

You do whatever you want with this. I take no responsability if it backfires.


Where can I follow the wonderful work of Simon Zozol?
-----
holy-python.com

It might be in French