fastjet
Decision gist · record as of 2026-08-14
Yes, if you work in high-energy physics and need to cluster particles. The package is actively maintained, has no known vulnerabilities, and offers pre-built wheels for common platforms. Medium install friction applies only to source builds; binary wheels sidestep most C++ dependencies. The BSD-3-Clause license is permissive. Install from PyPI wheels for fastest setup.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10.
- On Linux, build from source requires libboost-dev, libmpfr-dev, libgmp-dev, swig, autoconf, and libtool installed system-wide.
- Medium install friction due to compiled C++ components and external build dependencies (libboost, libmpfr, libgmp, swig, autoconf, libtool on Linux).
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution required.
last release 2026-07-28 (17 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 372,459 downloads/mo, #7,161 on PyPI
Alternatives
Verify before relying
pip install fastjet
import fastjet
# Cluster particles using FastJet algorithms
clusterer = fastjet.ClusterSequence(particles, fastjet.antikt_algorithm, R=0.4)- Whether the package provides ready-made clustering algorithms or requires algorithm specification from FastJet C++ library.
- Performance characteristics and typical clustering speed for datasets of various sizes.
- Whether Dask integration is automatic or requires explicit opt-in configuration.
What it is and what it does
FastJet is a Python interface to the FastJet C++ library, a standard tool in particle physics for grouping detected particles into jets. It wraps the complete FastJet functionality and integrates tightly with Awkward Array and Vector, allowing you to work with columnar particle data efficiently. The package supports three execution modes: vectorized, out-of-core vectorized using Dask for large datasets, and non-vectorized clustering.
You supply particle data in any coordinate system and specify a clustering algorithm; FastJet groups particles according to that algorithm's rules. The Awkward Array integration means you can pass and receive nested, ragged arrays of particles directly, making it natural to cluster multiple events in a single call. It's designed for high-energy physics workflows where particle clustering is a standard preprocessing step.
Use it for
- Cluster detected particles from collider experiments into jets for analysis pipelines.
- Process large batches of simulated or real collision events using vectorized clustering.
- Handle datasets too large for memory by clustering with Dask-backed out-of-core processing.
- Work with particles in arbitrary coordinate systems without manual conversion.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work in high-energy physics and need to cluster particles.
The package is actively maintained, has no known vulnerabilities, and offers pre-built wheels for common platforms. Medium install friction applies only to source builds; binary wheels sidestep most C++ dependencies. The BSD-3-Clause license is permissive. Install from PyPI wheels for fastest setup.
Install
fastjet on PyPI
Before you install
Medium install friction due to compiled C++ components and external build dependencies (libboost, libmpfr, libgmp, swig, autoconf, libtool on Linux). Pre-built wheels available across macOS, Linux, and Windows. Active maintenance with recent release.
Requires Python >=3.10. On Linux, build from source requires libboost-dev, libmpfr-dev, libgmp-dev, swig, autoconf, and libtool installed system-wide.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution required.
Quickstart
pip install fastjet
import fastjet
# Cluster particles using FastJet algorithms
clusterer = fastjet.ClusterSequence(particles, fastjet.antikt_algorithm, R=0.4)
Verify before relying
- Whether the package provides ready-made clustering algorithms or requires algorithm specification from FastJet C++ library.
- Performance characteristics and typical clustering speed for datasets of various sizes.
- Whether Dask integration is automatic or requires explicit opt-in configuration.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 3 packagesawkwardnumpyvector |
| Maintenance | Actively maintained 17 days since the last release |
| First released | |
| Downloads | 372,459 / month, #7,161 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 1 - PlanningIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Scientific/Engineering |
Evidence: fastjet-3.5.1.4-cp310-cp310-macosx_11_0_universal2.whl; fastjet-3.5.1.4-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; fastjet-3.5.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; fastjet-3.5.1.4-cp310-cp310-musllinux_1_2_aarch64.whl; fastjet-3.5.1.4-cp310-cp310-musllinux_1_2_x86_64.whl; fastjet-3.5.1.4-cp310-cp310-win_amd64.whl; fastjet-3.5.1.4-cp311-cp311-macosx_11_0_universal2.whl; fastjet-3.5.1.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; fastjet-3.5.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; fastjet-3.5.1.4-cp311-cp311-musllinux_1_2_aarch64.whl; fastjet-3.5.1.4-cp311-cp311-musllinux_1_2_x86_64.whl; fastjet-3.5.1.4-cp311-cp311-win_amd64.whl; fastjet-3.5.1.4-cp311-cp311-win_arm64.whl; fastjet-3.5.1.4-cp312-cp312-macosx_11_0_universal2.whl; fastjet-3.5.1.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; fastjet-3.5.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; fastjet-3.5.1.4-cp312-cp312-musllinux_1_2_aarch64.whl; fastjet-3.5.1.4-cp312-cp312-musllinux_1_2_x86_64.whl; fastjet-3.5.1.4-cp312-cp312-win_amd64.whl; fastjet-3.5.1.4-cp312-cp312-win_arm64.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 › “particle clustering high energy physics”
- fastjetFastJet provides Python bindings to the FastJet C++ library for…
- hepunitsProvides units and physical constants in the HEP (High Energy…
- mt2Computes stransverse mass (MT2) for particle physics calculations,…
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 coffea · vector · awkward-cpp · particle · boost-histogram · uproot3-methods · correctionlib · dask-awkward · iminuit · uproot3