HighTea cli
A quick command line interface for the database for the Events Bases Library from the Centre for Precision Studies in Particle Physics.
See A Theory-Events-Based Library of LHC Processes:
http://www.precision.hep.phy.cam.ac.uk/events-based-library/
Installation
The package is available on pip:
pip install highteacli
Basic Usage
# General help
$ highteacli --help
usage: highteacli.py [-h] {lproc,lpdf,hist} ...
A command line interface for the high energy theory database.
optional arguments:
-h, --help show this help message and exit
commands:
{lproc,lpdf,hist}
lproc List available processes
lpdf List available pdfs
hist make and histogram
#Help to make an histogram
$ python highteacli.py hist --help
usage: highteacli.py hist [-h] process file
positional arguments:
process process to compute the histogram for
file JSON file with the hisogram specification
optional arguments:
-h, --help show this help message and exit
$ python highteacli.py hist tests test.json
Processing request. The token is 866dd3c269f211eaa66d0242ac120003.
Wait for the result here or run
highteacli token 866dd3c269f211eaa66d0242ac120003
Token completed
{"mean": [[[[-2.0, -1.0]], 297.7068930126204], [[[-1.0, 0.0]], -165.29122920133463], [[[0.0, 1.0]], 202.0481155648153], [[[1.0, 2.0]], 301.92919831259667]], "std": [[[[-2.0, -1.0]], 225.39857447188203], [[[-1.0, 0.0]], 305.63359250045437], [[[0.0, 1.0]], 297.698081581902], [[[1.0, 2.0]], 240.26288960758953]]}
# Put result in res.json
$ highteacli hist tests test.json > res.json
Metadata
Release files for highteacli 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| highteacli-0.5.tar.gz | 11.0 kB | Without provenance | Details for highteacli-0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| highteacli-0.5-py3-none-any.whl | Python 3 | none | any | Details for highteacli-0.5-py3-none-any.whl |
Total release size: 16.3 kB
Release files / highteacli-0.5.tar.gz
| Download URL | highteacli-0.5.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81022b52332f913a4e2c134a755087862e218bebe93f206c20e61d42b949d8fb
|
|
BLAKE2b-256 checksum How to use checksums |
d35b890f88ce9ddaedc0132acf13c3df052fd6a0ff5e737bd792fc75eacd9442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / highteacli-0.5-py3-none-any.whl
| Download URL | highteacli-0.5-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3a2fc35c09445c533419c993beede29203b83bad8509d52f34a5ad39a4b084e
|
|
BLAKE2b-256 checksum How to use checksums |
06550c2f0c08f0f1c3e3c7d06aa2a7501bfc2afdb1da8be23a1598ff607e8817
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Security for highteacli 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.