Skip to main content

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


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.16.tar.gz (87.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ainb-0.2.16-py3-none-any.whl (97.3 kB view details)

Uploaded Python 3

File details

Details for the file ainb-0.2.16.tar.gz.

File metadata

  • Download URL: ainb-0.2.16.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for ainb-0.2.16.tar.gz
Algorithm Hash digest
SHA256 9b454cb8059b295ea92b1a8b6e9886239330f1a80d2c090d4d254aa61006de09
MD5 0ddd8214f03d3b7a16ac0b4b055fe458
BLAKE2b-256 7d77349b11028d35d8c7e925ccde341c56890e4e5b2605751b0c5e7cb915608f

See more details on using hashes here.

File details

Details for the file ainb-0.2.16-py3-none-any.whl.

File metadata

  • Download URL: ainb-0.2.16-py3-none-any.whl
  • Upload date:
  • Size: 97.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for ainb-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 39d7628017d3932814086cf69229721f0e4d58f5be52af74f8b2b16ac5986693
MD5 971d4f14183060395ac506e156a7538a
BLAKE2b-256 30abcb0c088626415f3262f1fc941539ac06398b754ae19272d8a11de735544d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page