Skip to main content

Pyxi

PyPI version Documentation Status

pyxi is a small library for interfacing with PyxelEdit .pyxel files in an object-oriented manner. Currently it allows for viewing all attributes of a .pyxel file, modifying values, and repacking the file into its original format for use within PyxelEdit.

Examples

Editing tile width and height on an image.

from pyxi import PyxelImage

p = PyxelImage('test_8px.pyxel')  # assume the tiles are 8x8
p.extract()  # extracts all the files into the converted/ directory (seperated layers, json data)

Loading a .pyxel file as a texture in arcade.

import arcade
from pyxi import PyxelImage

p = PyxelImage('test_8px.pyxel')
texture = p.get_tile()  # returns a Pillow Image object
player = arcade.Sprite(scale=4)
player.texture = arcade.Texture(name='S8dhS7dja', image=texture)

Metadata

Release files for pyxi 0.1.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 pyxi 0.1.4
File Size Uploaded Provenance
pyxi-0.1.4.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyxi 0.1.4
File Interpreter ABI Platform
pyxi-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / pyxi-0.1.4.tar.gz

Download URL pyxi-0.1.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
94ff506186a1ecce5bc794513144f4e8dbef2efcb8a5f6db98277ec93fb03cd6
BLAKE2b-256 checksum
How to use checksums
7f1031190a3a5fbfa41b93b903375e379257992dd7987e1c60813db4f7bc8c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / pyxi-0.1.4-py3-none-any.whl

Download URL pyxi-0.1.4-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f141e6119e247d69b4ab8b050940ee0b3779e7dd4bb942659714488586fd58c3
BLAKE2b-256 checksum
How to use checksums
e4936234ad3d3b33e75078cccaa991f262c6a407b86c4caf31ea59f2b92505da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for pyxi 0.1.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