Skip to main content

Fast and flexible phase space mappings

Project description

madevent7

Installation

Binary wheels

Binary wheels based on the last commit that passes all unit tests are built automatically for Linux and MacOS X (with Apple silicon), for Python 3.11 and 3.12. Use one of the following commands based on your OS and Python version:

# Linux, Python 3.11
pip install https://github.com/madgraph-ml/madevent7/releases/download/latest/madevent7-0.1.0-cp311-cp311-linux_x86_64.whl

# Linux, Python 3.12
pip install https://github.com/madgraph-ml/madevent7/releases/download/latest/madevent7-0.1.0-cp312-cp312-linux_x86_64.whl

# MacOS X, Python 3.11
pip install https://github.com/madgraph-ml/madevent7/releases/download/latest/madevent7-0.1.0-cp311-cp311-macosx_14_0_arm64.whl

# MacOS X, Python 3.12
pip install https://github.com/madgraph-ml/madevent7/releases/download/latest/madevent7-0.1.0-cp312-cp312-macosx_14_0_arm64.whl

Development version

First install scikit_build_core with

pip install scikit_build_core

The pre-installed version of cmake under MacOS is outdated, so you might need to install a newer version, for example with

brew install cmake

Then check out the madevent7 repository and build and install it with

git clone git@github.com:madgraph-ml/madevent7.git
cd madevent7
pip install --no-build-isolation -Cbuild-dir=build -Ccmake.build-type=RelWithDebInfo .

This will create a directory build where you can run make directly to make development easier. To update the python module itself, make sure to also run the pip install command above again. This will not happen automatically, even if you make the installation editable! Build type RelWithDebInfo generates optimized code but includes debug symbols, so you can use lldb or gdb to debug the code.

Tests

To run the tests, you need to have the pytest, numpy and torch packages installed. One test optionally requires the lhapdf package (can be installed via conda or built from source) and the NNPDF40_nlo_as_01180 PDF set.

To run the tests, go to the root directory of the repository and run

pytest tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

madevent7-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (23.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

madevent7-0.1.0-cp312-cp312-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

madevent7-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (23.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

madevent7-0.1.0-cp311-cp311-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file madevent7-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for madevent7-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 756a58bbcee47c3b62eb0e572741f9fe80bd7eea662b17219f2c98e25beaa87b
MD5 110b51671c910e457547b291395dfef0
BLAKE2b-256 305398e5a7179abdef4494b339bf636fb62d9b6e014be0f3992c4c85b246f64b

See more details on using hashes here.

Provenance

The following attestation bundles were made for madevent7-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: ci.yml on madgraph-ml/madevent7

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madevent7-0.1.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for madevent7-0.1.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7a01ba04c9c69e77a993446a572ac2b81b7730879995f32bab711e320eca5b82
MD5 fe2985cf536b432f7572bf53e7dfcee4
BLAKE2b-256 fc3846175a3dafd3d84e19d2cacf95bef05ec62c59e9dda2bbe42d828fb81f19

See more details on using hashes here.

Provenance

The following attestation bundles were made for madevent7-0.1.0-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: ci.yml on madgraph-ml/madevent7

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madevent7-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for madevent7-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22670ce6415f1703579fadefa91bd0500d985dedc43c5e1fe418e2a86c1efd78
MD5 b80e9b9cd7c21726a300670c1edd0afd
BLAKE2b-256 5270cb86240d586988b6fe96869358d2c4205e8d010aa64818061e37be3604e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for madevent7-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: ci.yml on madgraph-ml/madevent7

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madevent7-0.1.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for madevent7-0.1.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 62f179412722512ffb323cb956c3bd736bb3b7b06d36047871f60a7cf4c432e7
MD5 5c15c89417dfe5725cd813b67bad54e1
BLAKE2b-256 37a2cf125816d5a5608354e7ce23ea58fb574ea6db68d4cf0f67c27ad5454b56

See more details on using hashes here.

Provenance

The following attestation bundles were made for madevent7-0.1.0-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: ci.yml on madgraph-ml/madevent7

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page