particletools
This single Python module around an XML data file provides some convenient functions for people working with properties of physical particles (protons, pions, D-mesons, etc.)
Status
This version is stable.
Documentation
The latest version of the documentation can be found here.
Requirements
The package is universal and should work with all Python versions above 2.7.
Installation
pip install particletools
Quickstart
The purpose of this tools is to provide library-like features to convert particle names into PDG IDs, the particle codes of some common event generators, or to obtain their masses and decay channels. The below example demonstrates how to look up the branching ratios of some particle.
from particletools.tables import print_decay_channels
print_decay_channels(221)
eta decays into:
39.3824%, gamma, gamma
32.512%, pi0, pi0, pi0
22.7%, pi+, pi-, pi0
4.69%, pi+, pi-, gamma
0.6%, gamma, e-, e+
0.044%, pi0, gamma, gamma
0.04%, pi+, pi-, e-, e+
0.031%, gamma, mu-, mu+
0.0006%, mu-, mu+
Contributors
- Hans Dembinski (github:HDembinski)
- Sonia El Hadri (github:soso128)
MIT License
Code and documentation copyright 2015-2020 Anatoli Fedynitch
Metadata
Release files for particletools 1.1.7
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 |
|---|---|---|---|---|
| particletools-1.1.7.tar.gz | 50.6 kB | Without provenance | Details for particletools-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| particletools-1.1.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for particletools-1.1.7-py2.py3-none-any.whl |
Total release size: 102.6 kB
Release files / particletools-1.1.7.tar.gz
| Download URL | particletools-1.1.7.tar.gz |
|---|---|
| Size | 50.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e1dcf107a006ca83c0058df9631e594cb4d36ef49703010ab5156d28be27d8a
|
|
BLAKE2b-256 checksum How to use checksums |
027fd4a33fb6bd67f5c88c14b518a6ac71f6f79bf3eb99f456326bd1163ec83e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / particletools-1.1.7-py2.py3-none-any.whl
| Download URL | particletools-1.1.7-py2.py3-none-any.whl |
|---|---|
| Size | 52.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e99d396701e5f8f556ec066a998c8f3b67b0a4285c7d7e8ba91ead5dea9c4d2c
|
|
BLAKE2b-256 checksum How to use checksums |
90543ddbbbe943c78350079fd79f8ddc44fe189cbe348424b044e51188f59c0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for particletools 1.1.7
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.