This release is a pre-release and may not be stable for production use.
pythonx-graphics
Declarative 2D and 3D graphics for Python apps on Kotlin Multiplatform: Compose for 2D, Filament for 3D, and a scene built for AI agents as well as people.
@app
@Composable
def Game():
Scene3D(
camera=Camera(position=(0, 1.5, 4), look_at=(0, 0, 0)),
content=lambda: {
Sun(intensity=100_000, direction=(-1, -1, -1)),
Model("models/chair.glb", name="chair", behaviours=[Spin(axis=(0, 1, 0), speed=30)]),
},
)
- One model for 2D and 3D. Scenes are declared like pythonx-compose UI: functions,
state(...), redeclaration. A 3D scene is a Compose composition whose nodes are Filament entities. - The frame loop stays native. Motion, physics and behaviour are declared as data; Python runs on events, not every frame.
- Agentic by design. Every scene is a typed document an agent can describe, query, ground in pixels (entity-id buffer), edit through validated and undoable transactions, render headless and replay.
Status: specification. There is no code yet. Read docs/INTENT.md and
docs/SPEC.md.
Once published:
uv add --prerelease allow pythonx-graphics
Licensed under Apache-2.0.
Metadata
Release files for pythonx-graphics 0.0.1a1
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 | |
|---|---|---|---|---|
| pythonx_graphics-0.0.1a1.tar.gz | 6.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pythonx_graphics-0.0.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / pythonx_graphics-0.0.1a1.tar.gz
| Download URL | pythonx_graphics-0.0.1a1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41b31af654c4244a843635f1e764c116051b6bb64cf7f1f70c3132da9aff7ecb
|
|
BLAKE2b-256 checksum How to use checksums |
83e75d188859fb821a28aeacc6db3da07fed41daceb5490489fe6b44aaf3006d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logRelease files / pythonx_graphics-0.0.1a1-py3-none-any.whl
| Download URL | pythonx_graphics-0.0.1a1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8607e8b09129b2f931e12218689ba999fe16049463a5b0a50ef0d5d78edf043d
|
|
BLAKE2b-256 checksum How to use checksums |
8c8e92e150228116bce941a548b69ed4221ad1a763a5b8a68f1eb6b479b69ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logSecurity for pythonx-graphics 0.0.1a1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pythonx_graphics-0.0.1a1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logA 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.