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.10.tar.gz
(86.2 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.10-py3-none-any.whl
(96.2 kB
view details)
File details
Details for the file ainb-0.2.10.tar.gz.
File metadata
- Download URL: ainb-0.2.10.tar.gz
- Upload date:
- Size: 86.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5baeb456f73da77d292389996098a75436ca4b304027f33e3ee23584f4ae68
|
|
| MD5 |
27e6daab15b0a67a0bed8f7aba8ad483
|
|
| BLAKE2b-256 |
8324148cd5faa2957a97d53b98d264291bd14b91bcea95fb7c1b9de3eecffd6f
|
File details
Details for the file ainb-0.2.10-py3-none-any.whl.
File metadata
- Download URL: ainb-0.2.10-py3-none-any.whl
- Upload date:
- Size: 96.2 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 |
c49e5b1a8a1d63b5f6d5f0ae22a6edfed676feaa8e16a4a6e304d97bd279544b
|
|
| MD5 |
4f5e29d98277ce00097d490422ee38d3
|
|
| BLAKE2b-256 |
e4bda6f88f26f9fcb3e972a3edb7491779f42d72b67e16a737f676bdb048a0cc
|