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)

Metadata

Release files for pixel-console-image 1.0.4

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.4
File Size Uploaded Provenance
pixel_console_image-1.0.4.tar.gz 8.6 kB Without provenance Details

Release files / pixel_console_image-1.0.4.tar.gz

Download URL pixel_console_image-1.0.4.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
619c76806b803ccac55d475a87fb521c817171dad8f3f0552e1750c0513910c8
BLAKE2b-256 checksum
How to use checksums
6313dce867ca222a87432028376434460c260b4722429648e2da5d6ff9458c74
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.4

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.

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