pyopu: Organoid Processing Unit Framework
pyopu is a Python framework for simulating and executing combinatorial optimization tasks on biological wetware (Brain Organoids) using the Holographic Tensorial Paradigm.
Features
- Agnostic Math Engine: Compile NP-Hard problems into arbitrary high-order arrays using dynamic
np.einsum. - Holographic NeoCode Paradigm: Define problems with algebraic logic and visually inspect Hamiltonian graphs.
- Interchangeable Backends: Run problems on virtual MEAs (Microelectrode Arrays) or advanced Dual-Opsin Optogenetic interfaces.
- Observer Telemetry: Extract spikes, opsin kinetics, and energy dynamics cleanly without cluttering the engine.
Defining Problems with NeoCode
pyopu uses the new NeoCode Compiler to translate logical problem definitions directly into dynamic high-order tensor arrays.
from pyopu.neocode import NeoCode, NeoTerm
prog = NeoCode(num_neobits=5)
prog.add_term(NeoTerm(weight=-20, logic=["x1", "~x3", "x4"]))
prog.draw()
The draw() method outputs a visual representation of the problem topology and algebraic Hamiltonian equation.
Quickstart
Check the examples/ directory for full implementations of the Max-Cut and 3-SAT problems using the new NeoCode abstraction.
Metadata
Release files for pyopu 0.3.5
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 |
|---|---|---|---|---|
| pyopu-0.3.5.tar.gz | 8.9 kB | Without provenance | Details for pyopu-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyopu-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for pyopu-0.3.5-py3-none-any.whl |
Total release size: 20.8 kB
Release files / pyopu-0.3.5.tar.gz
| Download URL | pyopu-0.3.5.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
389d3c145f1fabeedf53b00615946a2fa9a6bd87a7c354a3130d9813e1ebc8d5
|
|
BLAKE2b-256 checksum How to use checksums |
f7e84e039bdf233a906e62683038eab8b98a78f3ba5e337d440a71ad894cf2f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / pyopu-0.3.5-py3-none-any.whl
| Download URL | pyopu-0.3.5-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76e1795861b44e6ae609efecabac980927f55e039cfb01b849730f50766ecbef
|
|
BLAKE2b-256 checksum How to use checksums |
833229248f46d2c75b71274d1cac542b0c165852a08be90be5b571f74ba0c881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for pyopu 0.3.5
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.