Skip to main content

A package supplying binary kernels for Xsuite.

Project description

xsuite-kernels

Simple installation

The package can be installed with pip install xsuite-kernels. Since it is dependent on particular versions of the Xsuite packages, installing it might automatically update your Xsuite packages to newer versions. You can use the -U option to upgrade all packages to the latest versions.

This package provides a set of precompiled kernels for the Xsuite packages, so that commonly used tracking scenarios can be run without the need to compile the kernels on the target machine. The precompiled kernels are distributed as binary Python wheels of the package xsuite-kernels on PyPI.

When the package is installed on a supported machine pip will automatically download the appropriate kernel files and install them in the correct location, so that Xtrack can use them. If xsuite-kernels is not installed, Xtrack will fall back to the default behaviour of compiling the kernels on the fly.

If the package is installed from source (e.g. by cloning the repository or downloading the source distribution in case of an unsupported platform), the kernels will be compiled automatically during the installation process (see setup.py).

Developer notes

In case of a source installation, the building process can be skipped by setting an environment variable SKIP_KERNEL_BUILD to 1 before running pip install.

If your local versions of xtrack, xfields, etc. have diverged from the versions specified in pyproject.toml, you can install the package with the --no-deps option to avoid upgrading the dependencies.

The package exposes a xsuite-kernels command that can be used to manage the kernels on demand (add --help option for more information):

$ xsuite-kernels regenerate  # Regenerate all kernels
$ xsuite-kernels clean       # Remove all kernels
$ xsuite-kernels info        # Print some useful debug information

Project details


Download files

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

Source Distribution

xsuite_kernels-0.1.1.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distributions

xsuite_kernels-0.1.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (96.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

xsuite_kernels-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (16.0 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

xsuite_kernels-0.1.1-cp312-cp312-macosx_10_9_x86_64.whl (18.5 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

xsuite_kernels-0.1.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (95.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

xsuite_kernels-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (15.9 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

xsuite_kernels-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl (18.3 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

xsuite_kernels-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (95.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

xsuite_kernels-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (15.9 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

xsuite_kernels-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl (18.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

xsuite_kernels-0.1.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (95.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

xsuite_kernels-0.1.1-cp39-cp39-macosx_11_0_arm64.whl (15.9 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

xsuite_kernels-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl (18.3 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

xsuite_kernels-0.1.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (95.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

xsuite_kernels-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl (18.3 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

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