AINB
Python library for working with AINB files
Install
Requires at least Python 3.10
pip install ainb
Optionally install graphing components with:
pip install ainb[graph]
Graphing requires installation of Graphviz (make sure to add it to your system path)
Usage
Python
import ainb
import ainb.graph
# load an AINB file and save it as JSON
script = ainb.AINB.from_file("AWonderfullyNamedFile.root.ainb")
script.save_json("output_directory")
# graph a file
ainb.graph.graph_all_commands(script, output_format="png", dpi=120.0)
Command Line
# load an AINB file and save it as JSON
ainb AWonderfullyNamedFile.root.ainb
# graph a file
ainb-graph -f png --dpi 120 --all-commands AWonderfullyNamedFile.root.ainb
Documentation
TODO
Building
To build from source:
pip install -e .
License
This software is licensed under GPLv2.
Metadata
Release files for ainb 0.2.16
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 | |
|---|---|---|---|---|
| ainb-0.2.16.tar.gz | 87.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ainb-0.2.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 184.5 kB
Release files / ainb-0.2.16.tar.gz
| Download URL | ainb-0.2.16.tar.gz |
|---|---|
| Size | 87.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b454cb8059b295ea92b1a8b6e9886239330f1a80d2c090d4d254aa61006de09
|
|
BLAKE2b-256 checksum How to use checksums |
7d77349b11028d35d8c7e925ccde341c56890e4e5b2605751b0c5e7cb915608f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|
Release files / ainb-0.2.16-py3-none-any.whl
| Download URL | ainb-0.2.16-py3-none-any.whl |
|---|---|
| Size | 97.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39d7628017d3932814086cf69229721f0e4d58f5be52af74f8b2b16ac5986693
|
|
BLAKE2b-256 checksum How to use checksums |
30abcb0c088626415f3262f1fc941539ac06398b754ae19272d8a11de735544d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|
Security for ainb 0.2.16
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.