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.6.tar.gz (85.1 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.6-py3-none-any.whl (95.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ainb-0.2.6.tar.gz
  • Upload date:
  • Size: 85.1 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.6.tar.gz
Algorithm Hash digest
SHA256 9d8f998314947cf1cf98594aabaa1d5f0f1cfc25de719777eae072b2a07037b6
MD5 b93658835c846fc5ccbec4615d3730e0
BLAKE2b-256 489fb83ccf4f028b9db22427a43d1978bd1c1e2c638f733b0109611eddd6fa50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ainb-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 95.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f88c270d5080ed830e9aa8e75ccd813bbb2caae90279b33582c902621a6bd720
MD5 401acbd60e64c5c689c28551244d823f
BLAKE2b-256 17365f415b6b431b2340522593c699d1c593f7186875da37e4e47cb2d196fd36

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