No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ainb-0.2.15.tar.gz
(87.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ainb-0.2.15-py3-none-any.whl
(97.1 kB
view details)
File details
Details for the file ainb-0.2.15.tar.gz.
File metadata
- Download URL: ainb-0.2.15.tar.gz
- Upload date:
- Size: 87.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0fc653b5c1a3ec656701dde4e1fc001868b4c55a16ac9e1e250eaac975e5759
|
|
| MD5 |
4f4e11038947c7f8babfacb7faa52ef2
|
|
| BLAKE2b-256 |
704f55b19bce53890b2e3d584c7a44fa37a5548c81c39d4685f463d32c40c47c
|
File details
Details for the file ainb-0.2.15-py3-none-any.whl.
File metadata
- Download URL: ainb-0.2.15-py3-none-any.whl
- Upload date:
- Size: 97.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
059cbcf3013e342591a8391afc1e0a76182180826dd8bef41a3651f440f437ad
|
|
| MD5 |
1ef6a34d0200f3a29c7cc1664642a59c
|
|
| BLAKE2b-256 |
4bcb6683e34705aedc1147385527cf28097ba8a77281eed674ea73185d2692b2
|