Skip to main content

HOPPET: A Higher Order Perturbative Parton Evolution Toolkit

HOPPET is a package for carrying out DGLAP evolution and other common manipulations of parton distribution functions (PDFs) in particle physics. The core package is written in Fortran. This Python interface provides access to a key subset of the functionality, the part known in the documentation as the "streamlined" interface.

The full underlying code and documentation can be found at https://github.com/hoppet-code/hoppet.

Example usage

import hoppet as hp
import numpy as np

def main():
    # choose the underlying spacing in y=log(1/x): 
    # smaller spacing gives higher accuracy but slower evolution
    dy = 0.1  
    # choose NNLO evolution
    nloop = 3 
    # Start hoppet
    hp.Start(dy, nloop)
    
    asQ0 = 0.35
    Q0 = np.sqrt(2.0)
    # Do the evolution starting from a standard benchmark initial condition 
    hp.Evolve(asQ0, Q0, nloop, 1.0, hp.BenchmarkPDFunpol, Q0)

    # Evaluate the PDFs at some x values and print them
    xvals = [1e-5,1e-4,1e-3,1e-2,0.1,0.3,0.5,0.7,0.9]
    Q = 100.0

    print('')
    print('           Evaluating PDFs at Q =',Q, ' GeV')
    print('    x      u-ubar      d-dbar    2(ubr+dbr)    c+cbar       gluon')
    for ix in range(9):
        pdf_array = hp.Eval(xvals[ix], Q)
        print('{:7.1E} {:11.4E} {:11.4E} {:11.4E} {:11.4E} {:11.4E}'.format(
            xvals[ix],
            pdf_array[6 + 2] - pdf_array[6 - 2], 
            pdf_array[6 + 1] - pdf_array[6 - 1], 
            2 * (pdf_array[6 - 1] + pdf_array[6 - 2]),
            pdf_array[6 - 4] + pdf_array[6 + 4],
            pdf_array[6 + 0]
        ))

    hp.DeleteAll()

For more examples take a look at example_py. The above example is essentially identical to tabulation_example.py and prints the output of a typical benchmark PDF.

Citation policy

If you use this program in a scientific publication we ask that you cite

G.P. Salam, J. Rojo, 'A Higher Order Perturbative Parton Evolution Toolkit (HOPPET)', Comput. Phys. Commun. 180 (2009) 120-156, arXiv:0804.3755

and

A. Karlberg, P. Nason, G.P. Salam, G. Zanderighi & F. Dreyer arXiv:2510.09310.

Metadata

Release files for HOPPET 2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HOPPET 2.3.1
File Size Uploaded Provenance Actions
hoppet-2.3.1.tar.gz 14.5 MB Without provenance Details for hoppet-2.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for HOPPET 2.3.1
File Actions
hoppet-2.3.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for hoppet-2.3.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp314-cp314-macosx_15_0_arm64.whl
hoppet-2.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for hoppet-2.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp313-cp313-macosx_15_0_arm64.whl
hoppet-2.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for hoppet-2.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp312-cp312-macosx_15_0_arm64.whl
hoppet-2.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for hoppet-2.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp311-cp311-macosx_15_0_arm64.whl
hoppet-2.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for hoppet-2.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp310-cp310-macosx_15_0_arm64.whl
hoppet-2.3.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for hoppet-2.3.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
hoppet-2.3.1-cp39-cp39-macosx_15_0_arm64.whl CPython 3.9 CPython 3.9 macOS 15.0+ ARM64 Details for hoppet-2.3.1-cp39-cp39-macosx_15_0_arm64.whl

Total release size: 200.5 MB

Release files / hoppet-2.3.1.tar.gz

Download URL hoppet-2.3.1.tar.gz
Size 14.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d86dd14e8f428707842b542cb41aa7bda439a6214be8eb45290c036a4a782ec7
BLAKE2b-256 checksum
How to use checksums
329c432df58810925e4a3b7ee6954c43a437acc1fb30e5d187004bce45209187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dc22e1c9175f113d25135479391369d3fd7dfb6d31aa2786776c9594977d4c0f
BLAKE2b-256 checksum
How to use checksums
714323f4b0713165e3aba72763f200a14030f742f08ca69bac049af4193dc1ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp314-cp314-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp314-cp314-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
b64ab3dfd9a255b865377f1c8df01a0e437d5416c88b25fc962643fd5179fbb4
BLAKE2b-256 checksum
How to use checksums
857bee51e1dbbbd42f4ae527e7f88d06c79b5c3580409f223341e97907df7cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
eba289f1aa76b03c9ab819db97b326262f4b260603e8a3b04526c5632bbed3ce
BLAKE2b-256 checksum
How to use checksums
cf4ac086da7df5b7876068668a891506cbb2e5a893aadde03501353e574713bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp313-cp313-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp313-cp313-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
50cc911f16039b508a71ad8c824e91a49baa130fe6bd223e799c1b5331814b5e
BLAKE2b-256 checksum
How to use checksums
b7bfb9238e232b743c398a5eaccfab646093f37279e5cf6901e95d5f1586e1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6d0d82909d2923abf31f2d9167f1886536545ffa03837a1ecc9fef506d6c6574
BLAKE2b-256 checksum
How to use checksums
fe8714ae4b1309d2753e1afbfa5a50bed4a63ac6a72a419c34444c25a9629a9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp312-cp312-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp312-cp312-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
1ccd8e7c5bc79c8e53a1ffdba7b90706d0d657946d1ef0dea516e4f166399efb
BLAKE2b-256 checksum
How to use checksums
69b345ed3dd986493bc38a7eface14bc004332ca65348a49bac2c3fd7007e138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
019558c9ee714c257ff30e59060f838ea5587208966793ec68d7edbecbe1b692
BLAKE2b-256 checksum
How to use checksums
fa214aa9a8cf4904d52b4a1e6bbe05b15e5c85e62e4bbf982af6c1b9a990aa51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp311-cp311-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp311-cp311-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
b9dafcf75088339bcf24985541f92c2c31363d5e989f237317294079e628a4a0
BLAKE2b-256 checksum
How to use checksums
4331e927d6b6e57baf8f0171f38be1a525b8a7c49fe9ea2a1b69ea30d66fa676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1a47ea420a89a7df61a8b7168c1ed1c2ecff6d7440a4cc64f121f78dca2d3ca1
BLAKE2b-256 checksum
How to use checksums
653cb314cbb91f2a0c401f822db4a729cbe481afa2031268b5b3b44371c5917c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp310-cp310-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp310-cp310-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
d6280f095db63eb1782b8f1fe863ab985637ddead322f9fb320ad14e4892643d
BLAKE2b-256 checksum
How to use checksums
36327cfb84cf5d54f6f185d8e1145889d53102659045c04fa9c37e5189dcc340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL hoppet-2.3.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3da820654b5c2e188632d8ec02115e14ea888060684255b73b2ed25cc5e95b86
BLAKE2b-256 checksum
How to use checksums
4662673dc21c819800874a78b750297677f8398c01f608b5a89aa755580c231a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hoppet-2.3.1-cp39-cp39-macosx_15_0_arm64.whl

Download URL hoppet-2.3.1-cp39-cp39-macosx_15_0_arm64.whl
Size 14.4 MB
Tags CPython 3.9 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
89fa3565c6011cef600300e348817bd28650dc81c2794e5720bc28fbd29ca2b8
BLAKE2b-256 checksum
How to use checksums
f8aaa1c211d318c9746f16f52338836f60dc33dddb359b0848369a118d50cb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for HOPPET 2.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page