particle
Extended PDG particle data and MC identification codes
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a clear need for standardized particle data access in HEP workflows. Install it if you work with particle physics data or Monte Carlo event analysis.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with only two runtime dependencies (attrs and hepunits).
- Active maintenance with a recent release 50 days ago and regular commits; last commit on 2026-08-11.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions.
last release 2026-06-25 (50 days) · last repo commit 2026-08-11 · 166 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 116,279 downloads/mo, #12,212 on PyPI
Alternatives
Verify before relying
pip install particle
from particle import Particle, PDGID
pid = PDGID(211)
print(pid.is_meson) # True
p = Particle.from_pdgid(211)
print(p) # <Particle: name="pi+", pdgid=211, mass=139.57039 ± 0.00018 MeV>- Whether the package's particle data tables are automatically updated when PDG releases new data, or if manual updates are required.
- Performance characteristics when searching across large numbers of particles or with complex filter predicates.
What it is and what it does
Particle wraps the Particle Data Group's official particle tables and provides object-oriented access to particle properties, identification codes (PDGIDs), and metadata. It implements the standard PDG ID numbering scheme through the PDGID class, which supports queries on particle properties like flavor content, spin, and charge. The Particle class offers search and lookup utilities to find particles by PDG ID, name, EvtGen identifier, or by filtering on properties like mass, width, and quark content.
The package is designed for high-energy physics workflows where you need to look up particle properties, classify particles by their quantum numbers, or work with Monte Carlo generator identification schemes. It includes command-line tools for quick lookups and provides both object-oriented and functional interfaces to PDGID queries, making it suitable for interactive exploration or embedded in analysis scripts.
Use it for
- Look up particle properties by PDG ID or name in high-energy physics simulations and analysis.
- Filter particles by quantum numbers (flavor, spin, charge) to find specific particle types in Monte Carlo events.
- Convert between different particle identification schemes used by MC generators and the standard PDG numbering.
- Build particle classification functions by composing PDGID property queries for custom physics selections.
- Query nucleus information and construct particle objects for nuclear physics calculations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a clear need for standardized particle data access in HEP workflows. Install it if you work with particle physics data or Monte Carlo event analysis.
Install
particle on PyPI
Before you install
Low install friction with only two runtime dependencies (attrs and hepunits). Active maintenance with a recent release 50 days ago and regular commits; last commit on 2026-08-11.
Requires Python 3.10 or later.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install particle
from particle import Particle, PDGID
pid = PDGID(211)
print(pid.is_meson) # True
p = Particle.from_pdgid(211)
print(p) # <Particle: name="pi+", pdgid=211, mass=139.57039 ± 0.00018 MeV>
Verify before relying
- Whether the package's particle data tables are automatically updated when PDG releases new data, or if manual updates are required.
- Performance characteristics when searching across large numbers of particles or with complex filter predicates.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesattrshepunits |
| Maintenance | Actively maintained 50 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 116,279 / month, #12,212 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering |
Evidence: particle-1.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “PDG particle data lookup”
- particleProvides a pythonic interface to Particle Data Group particle…
- fastjetFastJet provides Python bindings to the FastJet C++ library for…
- pysplashsurfpySplashsurf provides Python bindings for surface reconstruction from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also hepunits · fastjet · pysplashsurf · mplhep · tesseract · mendeleev · coffea · ldpc · periodictable · xraydb