Skip to main content

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)

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)

Source distribution for pixel-console-image 1.0.2
File Size Uploaded
pixel_console_image-1.0.2.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pixel-console-image 1.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

1.0.4

1 release file

1.0.3

1 release file

This release

1.0.2 This release

2 release files

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page