Pixel Console Image Renderer, Editor & Module
A simple renderer for images in the terminal using the .pci file format
Installation & Usage
Installing Via PyPI
Run this command to install PCI
$ pip install pci
Then to run PCI, run the following in your terminal
$ pci
Installing Via GitHub
$ git clone https://github.com/El1teWatermelonGames/pci.git
$ cd pci
$ python setup.py install
Then to run PCI, run the following in your terminal
$ pci
Usage in code
Rendering an image file
To render an existing image file you have to use the renderImage() function
image.pci
FFF000FFF00FFF
F0F00F000000F0
FFF00F000000F0
F0000F000000F0
F00000FFF00FFF
example.py
from pci.rem import renderImage
renderImage("image.pci")
Rendering image data
This time you reformat the image yourself as a list in python & put it through a seperate function, renderData()
example.py
from pci.rem import renderData
image = [
"FFF000FFF00FFF",
"F0F00F000000F0",
"FFF00F000000F0",
"F0000F000000F0",
"F00000FFF00FFF"
]
renderData(image)
Metadata
Release files for pixel-console-image 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pixel_console_image-1.0.2.tar.gz | 8.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixel_console_image-1.0.2-py3.11.egg | Legacy Egg format | - | - | Details |
Total release size: 25.6 kB
Release files / pixel_console_image-1.0.2.tar.gz
| Download URL | pixel_console_image-1.0.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6eee2271d65b65a02722216498bc012e7ecda261fa8572d661287433a0eb05a5
|
|
BLAKE2b-256 checksum How to use checksums |
788e04f71bcd1e95d62513116d9cef80db1b111053c54e822cc8e5d43765d55d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / pixel_console_image-1.0.2-py3.11.egg
| Download URL | pixel_console_image-1.0.2-py3.11.egg |
|---|---|
| Size | 16.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9575e8a450f140a69f95d37ecbb94dc4a154055138888356931a5dd16ec96bfb
|
|
BLAKE2b-256 checksum How to use checksums |
4128a38dcbf05187d78344e476d14a3a17e67453cc666375095f963b814b0be4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for pixel-console-image 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.