About
Pyromancy is a compact library for predictive coding, implemented using PyTorch. It takes a minimal approach, providing the core components for building and training predictive coding networks.
Installation
Pyromancy is available as a package on PyPI and can be installed as follows.
pip install pyromancy-ai
By default, this installs the torch and torchvision packages with only CPU support (Linux/Windows) or support for CPU and MPS (macOS). To include support for CUDA or ROCm, a corresponding extra-index-url must be specified.
pip install pyromancy-ai --extra-index-url https://download.pytorch.org/whl/cu128
Installing with this command includes support for CPU and for CUDA 12.8. The installation options can be found on PyTorch's getting started page.
Getting Started
See the example, Classifying MNIST with a Hierarchical PCN, for a complete worked-out example of how to build and train a predictive coding network.
License
Pyromancy is distributed under the terms of the BSD-3-Clause license.
Metadata
Release files for pyromancy-ai 0.0.1
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 |
|---|---|---|---|---|
| pyromancy_ai-0.0.1.tar.gz | 12.2 kB | Without provenance | Details for pyromancy_ai-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyromancy_ai-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pyromancy_ai-0.0.1-py3-none-any.whl |
Total release size: 26.9 kB
Release files / pyromancy_ai-0.0.1.tar.gz
| Download URL | pyromancy_ai-0.0.1.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b50e5c46697c44a257f24be44dd0294b20aa8c81ec819623068f591ca8eb4ba
|
|
BLAKE2b-256 checksum How to use checksums |
8a41bade50d4c5477560963896f7dba5821a0c26121f11552472b63908d199b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / pyromancy_ai-0.0.1-py3-none-any.whl
| Download URL | pyromancy_ai-0.0.1-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac4e11a8d478e7de63b2400a8698479dec89027c81daa4bc341b97e5a02553dd
|
|
BLAKE2b-256 checksum How to use checksums |
c7d77e5d87413128b7230862b7ee2ba634abf309dbb05a962ff10c5f7b21d26b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for pyromancy-ai 0.0.1
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.