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.5.tar.gz (85.0 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.5-py3-none-any.whl (94.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ainb-0.2.5.tar.gz
  • Upload date:
  • Size: 85.0 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.5.tar.gz
Algorithm Hash digest
SHA256 a342a045aeae7ccab22a81d4e352d785f7704b85346c837917a76ef008cd2f52
MD5 e8f1dd3c3dccc6e170e2de6b4ee58b40
BLAKE2b-256 89801e43c46af032860aabee845b8f85806a6f9e630926e50a39f923675942ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ainb-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 94.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f0455b7a2b166c68b73cda36047122ca3330ac7516f0e97b65988426a52cfbed
MD5 8c9800376c4386827fa84a3a1866a0dd
BLAKE2b-256 01e8f74da353dc6ffe8f792786be5ac0b0bd9ad55d6adb137cbcd32c0960eef7

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