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.13.tar.gz (86.3 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.13-py3-none-any.whl (96.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ainb-0.2.13.tar.gz
  • Upload date:
  • Size: 86.3 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.13.tar.gz
Algorithm Hash digest
SHA256 fb2fb0680d961c3e4b49b87c74a12b25b7e14f993a73867d388c6eafd60bddf6
MD5 ddcee1f59a727fc22f7f11527adf33c4
BLAKE2b-256 f8d063e98b8830c6ebcbb92847d878b42117448cc644627314e4c9f50ea26f21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ainb-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 96.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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 727a7873131a30df2aa6b03e81c69176a0e5424863e35ebe4e77488b1f7c0b29
MD5 0f45b0674a7be3d0cbbb964654aaa269
BLAKE2b-256 7f3e6b14995b3c9c6b3bd7f4a13551038a060d4f45d8d3a8a964e0894f50fe5b

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