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.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 heyoka 7.14.1
File Size Uploaded Provenance Actions
heyoka-7.14.1.tar.gz 1.7 MB Without provenance Details for heyoka-7.14.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for heyoka 7.14.1
File Actions
heyoka-7.14.1-cp315-cp315t-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64 Details for heyoka-7.14.1-cp315-cp315t-manylinux_2_28_x86_64.whl
heyoka-7.14.1-cp315-cp315t-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ ARM64 Details for heyoka-7.14.1-cp315-cp315t-manylinux_2_28_aarch64.whl
heyoka-7.14.1-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details for heyoka-7.14.1-cp315-cp315-manylinux_2_28_x86_64.whl
heyoka-7.14.1-cp315-cp315-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.1-cp315-cp315-manylinux_2_28_aarch64.whl
heyoka-7.14.1-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.1-cp314-cp314t-manylinux_2_28_x86_64.whl
heyoka-7.14.1-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.1-cp314-cp314t-manylinux_2_28_aarch64.whl
heyoka-7.14.1-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.1-cp314-cp314-manylinux_2_28_x86_64.whl
heyoka-7.14.1-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.1-cp314-cp314-manylinux_2_28_aarch64.whl
heyoka-7.14.1-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.1-cp313-cp313-manylinux_2_28_x86_64.whl
heyoka-7.14.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.1-cp313-cp313-manylinux_2_28_aarch64.whl
heyoka-7.14.1-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.1-cp312-cp312-manylinux_2_28_x86_64.whl
heyoka-7.14.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for heyoka-7.14.1-cp312-cp312-manylinux_2_28_aarch64.whl

Total release size: 1.2 GB

Release files / heyoka-7.14.1.tar.gz

Download URL heyoka-7.14.1.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
41e2d6a57097ce79a1f1e5be653f5d66bb0aad34abfadbc18d399ce48b803fb0
BLAKE2b-256 checksum
How to use checksums
8bed6c5ae575df54183ada85186a6f78587964f9210178d11b9d5bcabf50a236
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp315-cp315t-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp315-cp315t-manylinux_2_28_x86_64.whl
Size 101.5 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0d9eae50d6e2c87fe9ab5fccc3b831681c958e16a20111feec148f72914d20fd
BLAKE2b-256 checksum
How to use checksums
67f8ecf9d6573921090962b8bcfecddae8ab1131ad09160d02dd4ce4354ab0c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp315-cp315t-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp315-cp315t-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e083862104f7652017ea8b1681e2800aaa3a65f034ede7b688d417c8148f6c41
BLAKE2b-256 checksum
How to use checksums
eb0dc63f9d1c0e376ae6321cdfe99dc046b08bd709162a0db80c0e99ef29d50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp315-cp315-manylinux_2_28_x86_64.whl
Size 101.4 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
82da11206532fd12c2c6673082ea11a69475b8c2024f9da72e9f602d7d3f16c2
BLAKE2b-256 checksum
How to use checksums
0d8bb7bf9256fed1b2c18b411fa44816e3c07749bd967b0db9f12f05fa9082ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp315-cp315-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp315-cp315-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e8a034d7ba292c369153b8cbd1b9d0521e744123beee0df6daa7528ecd25b1e0
BLAKE2b-256 checksum
How to use checksums
04251a44776d7e3e6a0292be5eec19024819bce009eb5b39b26730000d172cca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 101.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e700ddbc39af93bbb5f3b1f6e26ca558ca8f6b471a76e79532ddb1f2d7b3b876
BLAKE2b-256 checksum
How to use checksums
c7d5ef7b7ede3403e044a360909fdf765645dd8bf859a221b68856bde63dbf3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
347335b1b8d44a845aa0db453d18901e9a4cf5623c6e1af04fdd58200a4abfc2
BLAKE2b-256 checksum
How to use checksums
250c219b93064cae396b3871223ad8145f7823ed08caf95589d6c235ed0001f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 101.4 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d9a1e0cd3d199fbbf551251b2916c784baaac6b32cbe747cc9c2c27904bfb169
BLAKE2b-256 checksum
How to use checksums
a4083408c7643af936e9a8d2fbeb1ff0f8fd786f77dc7b996e6c647a7314455d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp314-cp314-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
211602fb4c9e1bfd23389c371cd17802e4c20e6522c6844fee06c7cc8091f0ea
BLAKE2b-256 checksum
How to use checksums
c09b8e1d791c882beb4ec9c6485fccf45f14147857956c049a3e6a21cb0565ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 101.4 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c2c3a192df94b95efc54600d5c86ab227e9895f81e0fc883cdcd2a12a7292a2f
BLAKE2b-256 checksum
How to use checksums
11dd1d0a34405bcb8605142a7117bd9953223c524d4fcda9322f4d90ae586b11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
ded82ee6bf31b86b916afb5e46f542072f62fe608f53363594b0851cb308bd70
BLAKE2b-256 checksum
How to use checksums
6f8d5c63f5c235eab3f83d9bba9e2603a6972e719a173d806083f6c73b19f22e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL heyoka-7.14.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 101.4 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
988a8183f2df4d88eef46a6657f81f3de9ed7d6284de7997ca4e03ffdbc18b94
BLAKE2b-256 checksum
How to use checksums
f6428761cbb9fb4f2c525311c0a93b289c34f082ee035ddb542edd753231b5e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL heyoka-7.14.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 97.9 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
47f8f3881728b4987576e5d6d7b3a6bab06ad59daac1bb1bf8d432c90cbdb004
BLAKE2b-256 checksum
How to use checksums
da335022038829ce2d4903a9fa67010b266b291e6639278643aa40d78a7ce98b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.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