Skip to main content

heyoka.py

Build Status Build Status

Anaconda-Server Badge PyPI


Logo

Modern Taylor's method via just-in-time compilation
Explore the docs »

Report bug · Request feature · Discuss

heyoka.py is a Python library for the integration of ordinary differential equations (ODEs) via Taylor's method, based on automatic differentiation techniques and aggressive just-in-time compilation via LLVM. Notable features include:

  • support for single-precision, double-precision, extended-precision (80-bit and 128-bit), and arbitrary-precision floating-point types,
  • high-precision zero-cost dense output,
  • accurate and reliable event detection,
  • builtin support for analytical mechanics - bring your own Lagrangians/Hamiltonians and let heyoka.py formulate and solve the equations of motion,
  • builtin support for operational Earth-orbiting spacecraft analysis, including frame transformations, high-fidelity geopotential models, Earth Orientation Parameters (EOP), atmospheric models, space weather effects, ephemeris-based third-body perturbations,
  • builtin support for high-order variational equations - compute not only the solution, but also its partial derivatives,
  • builtin support for machine learning applications via neural network models,
  • the ability to maintain machine precision accuracy over tens of billions of timesteps,
  • batch mode integration to harness the power of modern SIMD instruction sets (including AVX/AVX2/AVX-512/Neon/VSX),
  • ensemble simulations and automatic parallelisation,
  • interoperability with SymPy.

heyoka.py is based on the heyoka C++ library.

If you are using heyoka.py as part of your research, teaching, or other activities, we would be grateful if you could star the repository and/or cite our work. For citation purposes, you can use the following BibTex entry, which refers to the heyoka.py paper (arXiv preprint):

@article{10.1093/mnras/stab1032,
    author = {Biscani, Francesco and Izzo, Dario},
    title = "{Revisiting high-order Taylor methods for astrodynamics and celestial mechanics}",
    journal = {Monthly Notices of the Royal Astronomical Society},
    volume = {504},
    number = {2},
    pages = {2614-2628},
    year = {2021},
    month = {04},
    issn = {0035-8711},
    doi = {10.1093/mnras/stab1032},
    url = {https://doi.org/10.1093/mnras/stab1032},
    eprint = {https://academic.oup.com/mnras/article-pdf/504/2/2614/37750349/stab1032.pdf}
}

heyoka.py's novel event detection system is described in the following paper (arXiv preprint):

@article{10.1093/mnras/stac1092,
    author = {Biscani, Francesco and Izzo, Dario},
    title = "{Reliable event detection for Taylor methods in astrodynamics}",
    journal = {Monthly Notices of the Royal Astronomical Society},
    volume = {513},
    number = {4},
    pages = {4833-4844},
    year = {2022},
    month = {04},
    issn = {0035-8711},
    doi = {10.1093/mnras/stac1092},
    url = {https://doi.org/10.1093/mnras/stac1092},
    eprint = {https://academic.oup.com/mnras/article-pdf/513/4/4833/43796551/stac1092.pdf}
}

Installation

Via pip:

$ pip install heyoka

Via conda + conda-forge:

$ conda install heyoka.py

Documentation

The full documentation can be found here.

Authors

  • Francesco Biscani (European Space Agency)
  • Dario Izzo (European Space Agency)

License

heyoka.py is released under the MPL-2.0 license.

Metadata

Release files for heyoka 7.14.0

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

Source distribution (sdist)

Source distribution for heyoka 7.14.0
File Size Uploaded Provenance Actions
heyoka-7.14.0.tar.gz 1.7 MB Without provenance Details for heyoka-7.14.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for heyoka 7.14.0
File Actions
heyoka-7.14.0-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details for heyoka-7.14.0-cp314-cp314t-manylinux_2_28_x86_64.whl
heyoka-7.14.0-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details for heyoka-7.14.0-cp314-cp314t-manylinux_2_28_aarch64.whl
heyoka-7.14.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for heyoka-7.14.0-cp314-cp314-manylinux_2_28_x86_64.whl
heyoka-7.14.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.0-cp314-cp314-manylinux_2_28_aarch64.whl
heyoka-7.14.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for heyoka-7.14.0-cp313-cp313-manylinux_2_28_x86_64.whl
heyoka-7.14.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.0-cp313-cp313-manylinux_2_28_aarch64.whl
heyoka-7.14.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for heyoka-7.14.0-cp312-cp312-manylinux_2_28_x86_64.whl
heyoka-7.14.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.0-cp312-cp312-manylinux_2_28_aarch64.whl
heyoka-7.14.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for heyoka-7.14.0-cp311-cp311-manylinux_2_28_x86_64.whl
heyoka-7.14.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.0-cp311-cp311-manylinux_2_28_aarch64.whl

Total release size: 1.0 GB

Release files / heyoka-7.14.0.tar.gz

Download URL heyoka-7.14.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3459d33820d8a29395e564c0b42b9b7f5592c093f69ee54cb2e456678636433b
BLAKE2b-256 checksum
How to use checksums
3af55694eb21a5d00f79d28c54d2299112fcec8a9b99ef8c542939cb24f7976c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 104.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
76966c7f44c2c19f0148a2a74bc526de4d8f8543b44dd40e7c58bc0f04267166
BLAKE2b-256 checksum
How to use checksums
7bad46660afeb0d5709456ffc6620ae33bd5087a39c24ff715baa5ae71e1ac86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 100.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
5026e254c10f50998b9b3150a27a97b0d5d04581d4b7cd567079c2777f528c1c
BLAKE2b-256 checksum
How to use checksums
b0eeab71f78a31baf2f560dab4cdb7a49551d6895561b8774793e40186f6c005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 104.1 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
eea21efc53b3dd75b99b5ea65c2fa6915db9028b8b7f8e9829cb0942c0d51b7a
BLAKE2b-256 checksum
How to use checksums
c678676c612208383cd501fa7b9994d6f8f9883931e5c1c702557a49c9b5e3f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 100.2 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fdb69d0ea85c0660b0aaf8ea74fdbd94e113f84392f5f62e4d7debbfc45fc3f9
BLAKE2b-256 checksum
How to use checksums
a0d2719988995e8239fbfca0a2623a4cc7785f7b4f437c941ef3979bc5efae63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 104.1 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3aaf593a939a216fc74b166d654ef2ad85f3bbb9b1f8e2aefce078fba4e50e2b
BLAKE2b-256 checksum
How to use checksums
870cd8ab5355d9eb89bc1bc7bd1ce7fff8552b079052761e644d22a48a342c63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 100.2 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
acc01a12f4632c775c16e24d6cd3ea8f4a185e951d71fe7724845e2e3265a5cb
BLAKE2b-256 checksum
How to use checksums
2ce46fc98a7b2bb0197f3b7ea93cded146c8199ce892055d9e061e31c8fcf780
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 104.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
81f9187526f47b9b209ec96dd3f6100b9cc5f825c0b688ae696e0a51cfecfdbd
BLAKE2b-256 checksum
How to use checksums
dc5a43f20446d05b9d867a4a62853893fed2b87d46069152c8825885a99e0fd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 100.2 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
45cbc688e35281ea1e32f226db01a5268c336d45ebce1448659aac38a86b649d
BLAKE2b-256 checksum
How to use checksums
06d6a3be7c0c7b4efbd4398a4925e8949baeba3fcc1553079d5c6c54a4722d4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 104.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7e7295d6446ee23f479c34e708be85ac1f7909e76f63386a88a9065f49d10dc7
BLAKE2b-256 checksum
How to use checksums
0bc9c24bd962ddc710e8e90dbb29a1edf599ea3072e2b2833687dd5a0eaee161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heyoka-7.14.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 100.1 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e7de6d4b66e7ac001068b5e7127f141d934513d480ebcef0cba0c164d908f883
BLAKE2b-256 checksum
How to use checksums
18cea37cadb9d00c6074cc6455a6f283c3f002b6ea57d8d145b12693215a8e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"AlmaLinux","version":"8.10","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for heyoka 7.14.0

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