pyxel-utils
Various utilities for game development with the pyxel engine.
Installation
pip install pyxel-utils
Utilities
blt_topleft
Similar to pyxel.blt, but always places the image so that the top-left
corner of the image is at the given x, y position.
Does not support the rotate parameter.
text_centered
Draws text horizontally centered at the given x, y position.
Cursor showing coordinates
Shows the current mouse coordinates under the cursor.
Usage:
import pyxel_utils
def update():
pyxel_utils.cursor_update()
...
def draw():
...
pyxel_utils.cursor_draw()
point_grid
Draws a grid of points.
Usage:
import pyxel_utils
def draw():
pyxel_utils.point_grid(10, 10, 3)
checkerboard
Draws a checkerboard pattern.
Usage:
import pyxel_utils
def draw():
pyxel_utils.checkerboard(5, 9, 10)
pymunk debug draw
Usage:
from pyxel_utils.pymunk import DrawOptions
...
draw_options = DrawOptions(color=1)
def draw():
space.debug_draw(draw_options)
Metadata
Release files for pyxel-utils 0.2.0
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 | Actions |
|---|---|---|---|---|
| pyxel_utils-0.2.0.tar.gz | 250.6 kB | Without provenance | Details for pyxel_utils-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxel_utils-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pyxel_utils-0.2.0-py3-none-any.whl |
Total release size: 255.6 kB
Release files / pyxel_utils-0.2.0.tar.gz
| Download URL | pyxel_utils-0.2.0.tar.gz |
|---|---|
| Size | 250.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c96cea5ab453e3a519580affd27b91ed386a04efd7959d896173ba883bd1177e
|
|
BLAKE2b-256 checksum How to use checksums |
6fd2966fb73a34bb430b93bdfb5f0ce36684160ece70d460dee513cf623cdcf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Release files / pyxel_utils-0.2.0-py3-none-any.whl
| Download URL | pyxel_utils-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
860b06b76701a958f3630f33c6f024410c53ac6142b87920e970a58c5fce65ec
|
|
BLAKE2b-256 checksum How to use checksums |
1e7ffe1cd4f470e5ad13a848289e987716a5200e70fb2f3a0afa67fbaa1a1a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Security for pyxel-utils 0.2.0
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.