CyRK


NameCyRK JSON
Version 0.10.1 PyPI version JSON
download
home_pageNone
SummaryRunge-Kutta ODE Integrator Implemented in Cython and Numba.
upload_time2024-07-25 17:47:07
maintainerNone
docs_urlNone
authorNone
requires_python<3.13,>=3.8
license# Creative Commons Attribution-ShareAlike 4.0 International Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. **Using Creative Commons Public Licenses** Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. * __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors). * __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees). ## Creative Commons Attribution-ShareAlike 4.0 International Public License By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. ### Section 1 – Definitions. a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License. d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. e. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. f. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. g. __License Elements__ means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. h. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License. i. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. j. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License. k. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. l. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. m. __You__ means the individual or entity exercising the Licensed Rights under this Public License. __Your__ has a corresponding meaning. ### Section 2 – Scope. a. ___License grant.___ 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: A. reproduce and Share the Licensed Material, in whole or in part; and B. produce, reproduce, and Share Adapted Material. 2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 3. __Term.__ The term of this Public License is specified in Section 6(a). 4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 5. __Downstream recipients.__ A. __Offer from the Licensor – Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. B. __Additional offer from the Licensor – Adapted Material.__ Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. C. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). b. ___Other rights.___ 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 2. Patent and trademark rights are not licensed under this Public License. 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. ### Section 3 – License Conditions. Your exercise of the Licensed Rights is expressly made subject to the following conditions. a. ___Attribution.___ 1. If You Share the Licensed Material (including in modified form), You must: A. retain the following if it is supplied by the Licensor with the Licensed Material: i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); ii. a copyright notice; iii. a notice that refers to this Public License; iv. a notice that refers to the disclaimer of warranties; v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. b. ___ShareAlike.___ In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. ### Section 4 – Sui Generis Database Rights. Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. ### Section 5 – Disclaimer of Warranties and Limitation of Liability. a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__ b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__ c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. ### Section 6 – Term and Termination. a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 2. upon express reinstatement by the Licensor. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. ### Section 7 – Other Terms and Conditions. a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. ### Section 8 – Interpretation. a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. > Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. > > Creative Commons may be contacted at creativecommons.org.
keywords scientific computing runge-kutta numerical integration odes ordinary differential equations cython numba integration
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # CyRK
<div style="text-align: center;">
<a href="https://doi.org/10.5281/zenodo.7093266"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.7093266.svg" alt="DOI"></a>
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.8|3.9|3.10|3.11|3.12-blue" alt="Python Version 3.8-3.12" /></a>
<a href="https://codecov.io/gh/jrenaud90/CyRK" ><img src="https://codecov.io/gh/jrenaud90/CyRK/branch/main/graph/badge.svg?token=MK2PqcNGET" alt="Code Coverage"/></a>
<br />
<a href="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml"><img src="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml/badge.svg?branch=main" alt="Windows Tests" /></a>
<a href="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml"><img src="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml/badge.svg?branch=main" alt="MacOS Tests" /></a>
<a href="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_ubun.yml"><img src="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_ubun.yml/badge.svg?branch=main" alt="Ubuntu Tests" /></a>
</div>

---

<a href="https://github.com/jrenaud90/CyRK/releases"><img src="https://img.shields.io/badge/CyRK-0.10.1 Alpha-orange" alt="CyRK Version 0.10.1 Alpha" /></a>


**Runge-Kutta ODE Integrator Implemented in Cython and Numba**

CyRK provides fast integration tools to solve systems of ODEs using an adaptive time stepping scheme. CyRK can accept differential equations that are written in pure Python, njited numba, or cython-based cdef functions. These kinds of functions are generally easier to implement than pure c functions and can be used in existing Python software. Using CyRK can speed up development time while avoiding the slow performance that comes with using pure Python-based solvers like SciPy's `solve_ivp`.

The purpose of this package is to provide some 
functionality of [scipy's solve_ivp](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html) with greatly improved performance.

Currently, CyRK's [numba-based](https://numba.discourse.group/) (njit-safe) implementation is **10-140x faster** than scipy's solve_ivp function.
The [cython-based](https://cython.org/) `pysolve_ivp` function that works with python (or njit'd) functions is **20-50x faster** than scipy.
The [cython-based](https://cython.org/) `cysolver_ivp` function that works with cython-based cdef functions is **50-700+x faster** than scipy.

An additional benefit of the two cython implementations is that they are pre-compiled. This avoids most of the start-up performance hit experienced by just-in-time compilers like numba.


<img style="text-align: center" src="https://github.com/jrenaud90/CyRK/blob/main/Benchmarks/CyRK_SciPy_Compare_predprey_v0-10-1.png" alt="CyRK Performance Graphic" />

## Installation

*CyRK has been tested on Python 3.8--3.12; Windows, Ubuntu, and MacOS.*

To install simply open a terminal and call:

`pip install CyRK`

If not installing from a wheel, CyRK will attempt to install `Cython` and `Numpy` in order to compile the source code. A "C++ 14" compatible compiler is required.
Compiling CyRK has been tested on the latest versions of Windows, Ubuntu, and MacOS. Your milage may vary if you are using a older or different operating system.
After everything has been compiled, cython will be uninstalled and CyRK's runtime dependencies (see the pyproject.toml file for the latest list) will be installed instead.

A new installation of CyRK can be tested quickly by running the following from a python console.
```python
from CyRK import test_pysolver, test_cysolver, test_nbrk
test_pysolver()
# Should see "CyRK's PySolver was tested successfully."
test_cysolver()
# Should see "CyRK's CySolver was tested successfully."
test_nbrk()
# Should see "CyRK's nbrk_ode was tested successfully."
```

### Troubleshooting Installation and Runtime Problems

*Please [report](https://github.com/jrenaud90/CyRK/issues) installation issues. We will work on a fix and/or add workaround information here.*

- If you see a "Can not load module: CyRK.cy" or similar error then the cython extensions likely did not compile during installation. Try running `pip install CyRK --no-binary="CyRK"` 
to force python to recompile the cython extensions locally (rather than via a prebuilt wheel).
- On MacOS: If you run into problems installing CyRK then reinstall using the verbose flag (`pip install -v .`) to look at the installation log. If you see an error that looks like "clang: error: unsupported option '-fopenmp'" then you may have a problem with your `llvm` or `libomp` libraries. It is recommended that you install CyRK in an [Anaconda](https://www.anaconda.com/download) environment with the following packages `conda install numpy scipy cython llvm-openmp`. See more discussion [here](https://github.com/facebookresearch/xformers/issues/157) and the steps taken [here](https://github.com/jrenaud90/CyRK/blob/main/.github/workflows/push_tests_mac.yml).
- CyRK has a number of runtime status codes which can be used to help determine what failed during integration. Learn more about these codes [https://github.com/jrenaud90/CyRK/blob/main/Documentation/Status%20and%20Error%20Codes.md](here).

### Development and Testing Dependencies

If you intend to work on CyRK's code base you will want to install the following dependencies in order to run CyRK's test suite and experimental notebooks.

`conda install pytest scipy matplotlib jupyter`

`conda install` can be replaced with `pip install` if you prefer.

## Using CyRK

**The following code can be found in a Jupyter Notebook called "Getting Started.ipynb" in the "Demos" folder.**

*Note: some older CyRK functions like `cyrk_ode` and `CySolver` class-based method have been deprecated. Read more in "Documentation/Deprecations.md".*
CyRK's API is similar to SciPy's solve_ivp function. A differential equation can be defined in python such as:

```python
# For even more speed up you can use numba's njit to compile the diffeq
from numba import njit
@njit
def diffeq_nb(t, y):
    dy = np.empty_like(y)
    dy[0] = (1. - 0.01 * y[1]) * y[0]
    dy[1] = (0.02 * y[0] - 1.) * y[1]
    return dy
```

### Numba-based `nbsolve_ivp`

_Future Development Note: The numba-based solver is currently in a feature-locked state and will not receive new features (as of CyRK v0.9.0). The reason for this is because it uses a different backend than the rest of CyRK and is not as flexible or easy to expand without significant code duplication. Please see GitHub Issue: TBD to see the status of this new numba-based solver or share your interest in continued development._

The system of ODEs can then be solved using CyRK's numba solver by,

```python
import numpy as np
from CyRK import nbsolve_ivp

initial_conds = np.asarray((20., 20.), dtype=np.float64, order='C')
time_span = (0., 50.)
rtol = 1.0e-7
atol = 1.0e-8

result = \
    nbsolve_ivp(diffeq_nb, time_span, initial_conds, rk_method=1, rtol=rtol, atol=atol)

print("Was Integration was successful?", result.success)
print(result.message)
print("Size of solution: ", result.size)
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(result.t, result.y[0], c='r')
ax.plot(result.t, result.y[1], c='b')
```

#### `nbsolve_ivp` Arguments
```python
nbsolve_ivp(
    diffeq: callable,                  # Differential equation defined as a numba.njit'd python function
    t_span: Tuple[float, float],       # Python tuple of floats defining the start and stop points for integration
    y0: np.ndarray,                    # Numpy array defining initial y0 conditions.
    args: tuple = tuple(),             # Python Tuple of additional args passed to the differential equation. These can be any njit-safe object.
    rtol: float = 1.e-3,               # Relative tolerance used to control integration error.
    atol: float = 1.e-6,               # Absolute tolerance (near 0) used to control integration error.
    rtols: np.ndarray = EMPTY_ARR,     # Overrides rtol if provided. Array of floats of rtols if you'd like a different rtol for each y.
    atols: np.ndarray = EMPTY_ARR,     # Overrides atol if provided. Array of floats of atols if you'd like a different atol for each y.
    max_step: float = np.inf,          # Maximum allowed step size.
    first_step: float = None,          # Initial step size. If set to 0.0 then CyRK will guess a good step size.
    rk_method: int = 1,                # Integration method. Current options: 0 == RK23, 1 == RK45, 2 == DOP853
    t_eval: np.ndarray = EMPTY_ARR,    # `nbsolve_ivp` uses an adaptive time stepping protocol based on the recent error at each step. This results in a final non-uniform time domain of variable size. If the user would like the results at specific time steps then they can provide a np.ndarray array at the desired steps via `t_eval`. The solver will then interpolate the results to fit this 
    capture_extra: bool = False,       # Set to True if the diffeq is designed to provide extra outputs.
    interpolate_extra: bool = False,   # See "Documentation/Extra Output.md" for details.
    max_num_steps: int = 0             # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.
    )
```

### Python wrapped `pysolve_ivp`

CyRK's main integration functions utilize a C++ backend system which is then wrapped and accessible to Python via Cython. The easiest way to interface with this system is through CyRK's `pysolve_ivp` function. It follows a very similar format to both `nbsolve_ivp` and Scipy's `solve_ivp`. First you must build a function in Python. This could look the same as the function described above for `nbsolve_ivp` (see `diffeq_nb`). However, there are a few advantages that pysolve_ivp provides over nbsolve_ivp:

  1. It accepts both functions that use numba's njit wrapper (as `diffeq_nb` did above) or pure Python functions (`nbsolve_ivp` only accepts njit'd functions).
  2. You can provide the resultant dy/dt as an argument which can provide a significant performance boost.

Utilizing point 2, we can re-write the differential equation function as,

```python
# Note if using this format, `dy` must be the first argument. Additionally, a special flag must be set to True when calling pysolve_ivp, see below.
def cy_diffeq(dy, t, y):
    dy[0] = (1. - 0.01 * y[1]) * y[0]
    dy[1] = (0.02 * y[0] - 1.) * y[1]
```

Since this function is not using any special functions we could easily wrap it with njit for additional performance boost: `cy_diffeq = njit(cy_diffeq)`.

Once you have built your function the procedure to solve it is:

```python
import numpy as np
from CyRK import pysolve_ivp

initial_conds = np.asarray((20., 20.), dtype=np.complex128, order='C')
time_span = (0., 50.)
rtol = 1.0e-7
atol = 1.0e-8

result = \
    pysolve_ivp(cy_diffeq, time_span, initial_conds, method="RK45", rtol=rtol, atol=atol,
                # Note if you did build a differential equation that has `dy` as the first argument then you must pass the following flag as `True`.
                # You could easily pass the `diffeq_nb` example which returns dy. You would just set this flag to False (and experience a hit to your performance).
                pass_dy_as_arg=True)

print("Was Integration was successful?", result.success)
print(result.message)
print("Size of solution: ", result.size)
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(result.t, result.y[0], c='r')
ax.plot(result.t, result.y[1], c='b')
```

#### `pysolve_ivp` Arguments

```python
def pysolve_ivp(
        object py_diffeq,            # Differential equation defined as a python function
        tuple time_span,             # Python tuple of floats defining the start and stop points for integration
        double[::1] y0,              # Numpy array defining initial y0 conditions.
        str method = 'RK45',         # Integration method. Current options are: RK23, RK45, DOP853
        double[::1] t_eval = None,   # Array of time steps at which to save data. If not provided then all adaptive time steps will be saved. There is a slight performance hit using this feature.
        bint dense_output = False,   # If True, then dense interpolators will be saved to the solution. This allows a user to call solution as if a function (in time).
        tuple args = None,           # Python Tuple of additional args passed to the differential equation. These can be any python object.
        size_t expected_size = 0,    # Expected size of the solution. There is a slight performance improvement if selecting the the exact or slightly more time steps than the adaptive stepper will require (if you happen to know this ahead of time).
        unsigned int num_extra = 0,  # Number of extra outputs you want to capture during integration. There is a performance hit if this is used in conjunction with t_eval or dense_output.
        double first_step = 0.0,     # Initial step size. If set to 0.0 then CyRK will guess a good step size.
        double max_step = INF,       # Maximum allowed step size.
        rtol = 1.0e-3,               # Relative tolerance used to control integration error. This can be provided as a numpy array if you'd like a different rtol for each y.
        atol = 1.0e-6,               # Absolute tolerance (near 0) used to control integration error. This can be provided as a numpy array if you'd like a different atol for each y.
        size_t max_num_steps = 0,    # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.
        size_t max_ram_MB = 2000,    # Maximum amount of system memory the integrator is allowed to use. If this is exceeded then integration will fail.
        bint pass_dy_as_arg = False  # Flag if differential equation returns dy (False) or is passed dy as the first argument (True).
        ):
```

### Pure Cython `cysolve_ivp`

A final method is provided to users in the form of `cysolve_ivp`. This function can only be accessed and used by code written in Cython. Details about how to setup and use Cython can be found on the project's [website](https://cython.readthedocs.io/en/stable/index.html). The below code examples assume you are running the code in a [Jupyter Notebook](https://jupyter.org/).

`cysolve_ivp` has a slightly different interface than `nbsolve_ivp` and `pysolve_ivp` as it only accepts C types. For that reason, python functions will not work with `cysolve_ivp`. While developing in Cython is more challenging than Python, there is a huge performance advantage (`cysolve_ivp` is roughly 5x faster than `pysolve_ivp` and 700x faster than scipy's `solve_ivp`). Below is a demonstration of how it can be used.

First a pure Cython file (written as a Jupyter notebook).
```cython
%%cython --force 
# distutils: language = c++
# cython: boundscheck=False, wraparound=False, nonecheck=False, cdivision=True, initializedcheck=False

import numpy as np
cimport numpy as np
np.import_array()

# Note the "distutils" and "cython" headers above are functional. They tell cython how to compile the code. In this case we want to use C++ and to turn off several safety checks (which improve performance).

# The cython diffeq is much less flexible than the others described above. It must follow this format, including the type information. 
# Currently, CyRK only allows additional arguments to be passed in as a double array pointer (they all must be of type double). Mixed type args will be explored in the future if there is demand for it (make a GitHub issue if you'd like to see this feature!).
# The "noexcept nogil" tells cython that the Python Global Interpretor Lock is not required, and that no exceptions should be raised by the code within this function (both improve performance).
# If you do need the gil for your differential equation then you must use the `cysolve_ivp_gil` function instead of `cysolve_ivp`

# Import the required functions from CyRK
from CyRK cimport cysolve_ivp, DiffeqFuncType, WrapCySolverResult, CySolveOutput, PreEvalFunc

# Note that currently you must provide the "const void* args, PreEvalFunc pre_eval_func" as inputs even if they are unused.
# See "Advanced CySolver.md" in the documentation for information about these parameters.
cdef void cython_diffeq(double* dy, double t, double* y, const void* args, PreEvalFunc pre_eval_func) noexcept nogil:
    
    # Unpack args
    # CySolver assumes an arbitrary data type for additional arguments. So we must cast them to the array of 
    # doubles that we want to use for this equation
    cdef double* args_as_dbls = <double*>args
    cdef double a = args_as_dbls[0]
    cdef double b = args_as_dbls[1]
    
    # Build Coeffs
    cdef double coeff_1 = (1. - a * y[1])
    cdef double coeff_2 = (b * y[0] - 1.)
    
    # Store results
    dy[0] = coeff_1 * y[0]
    dy[1] = coeff_2 * y[1]
    # We can also capture additional output with cysolve_ivp.
    dy[2] = coeff_1
    dy[3] = coeff_2

# Import the required functions from CyRK
from CyRK cimport cysolve_ivp, DiffeqFuncType, WrapCySolverResult, CySolveOutput

# Let's get the integration number for the RK45 method
from CyRK cimport RK45_METHOD_INT

# Now let's import cysolve_ivp and build a function that runs it. We will not make this function `cdef` like the diffeq was. That way we can run it from python (this is not a requirement. If you want you can do everything within Cython).
# Since this function is not `cdef` we can use Python types for its input. We just need to clean them up and convert them to pure C before we call cysolve_ivp.
def run_cysolver(tuple t_span, double[::1] y0):
    
    # Cast our diffeq to the accepted format
    cdef DiffeqFuncType diffeq = cython_diffeq
    
    # Convert the python user input to pure C types
    cdef double* y0_ptr       = &y0[0]
    cdef unsigned int num_y   = len(y0)
    cdef double[2] t_span_arr = [t_span[0], t_span[1]]
    cdef double* t_span_ptr   = &t_span_arr[0]

    # Assume constant args
    cdef double[2] args   = [0.01, 0.02]
    cdef double* args_dbl_ptr = &args[0]
    # Need to cast the arg double pointer to void
    cdef void* args_ptr = <void*>args_dbl_ptr

    # Run the integrator!
    cdef CySolveOutput result = cysolve_ivp(
        diffeq,
        t_span_ptr,
        y0_ptr,
        num_y,
        method = RK45_METHOD_INT, # Integration method
        rtol = 1.0e-7,
        atol = 1.0e-8,
        args_ptr = args_ptr,
        num_extra = 2
    )

    # The CySolveOutput is not accesible via Python. We need to wrap it first
    cdef WrapCySolverResult pysafe_result = WrapCySolverResult()
    pysafe_result.set_cyresult_pointer(result)

    return pysafe_result
```

Now we can make a python script that calls our new cythonized wrapper function. Everything below is in pure Python.

```python
# Assume we are working in a Jupyter notebook so we don't need to import `run_cysolver` if it was defined in an earlier cell.
# from my_cython_code import run_cysolver

import numpy as np
initial_conds = np.asarray((20., 20.), dtype=np.float64, order='C')
time_span = (0., 50.)

result = run_cysolver(time_span, initial_conds)

print("Was Integration was successful?", result.success)
print(result.message)
print("Size of solution: ", result.size)
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(result.t, result.y[0], c='r')
ax.plot(result.t, result.y[1], c='b')

# Can also plot the extra output. They are small for this example so scaling them up by 100
ax.plot(result.t, 100*result.y[2], c='green', ls=':')
ax.plot(result.t, 100*result.y[3], c='purple', ls=':')
```

There is a lot more you can do to interface with CyRK's C++ backend and fully optimize the integrators to your needs. These details will be documented in "Documentation/Advanced CySolver.md".

#### `cysolve_ivp` and `cysolve_ivp_gil` Arguments

```cython
cdef shared_ptr[CySolverResult] cysolve_ivp(
    DiffeqFuncType diffeq_ptr,        # Differential equation defined as a cython function
    double* t_span_ptr,               # Pointer to array (size 2) of floats defining the start and stop points for integration
    double* y0_ptr,                   # Pointer to array defining initial y0 conditions.
    unsigned int num_y,               # Size of y0_ptr array.
    unsigned int method = 1,          # Integration method. Current options: 0 == RK23, 1 == RK45, 2 == DOP853
    double rtol = 1.0e-3,             # Relative tolerance used to control integration error.
    double atol = 1.0e-6,             # Absolute tolerance (near 0) used to control integration error.
    void* args_ptr = NULL,            # Pointer to array of additional arguments passed to the diffeq. See "Advanced CySolver.md" for more details.
    unsigned int num_extra = 0,       # Number of extra outputs you want to capture during integration. There is a performance hit if this is used in conjunction with t_eval or dense_output.
    size_t max_num_steps = 0,         # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.
    size_t max_ram_MB = 2000,         # Maximum amount of system memory the integrator is allowed to use. If this is exceeded then integration will fail.
    bint dense_output = False,        # If True, then dense interpolators will be saved to the solution. This allows a user to call solution as if a function (in time).
    double* t_eval = NULL,            # Pointer to an array of time steps at which to save data. If not provided then all adaptive time steps will be saved. There is a slight performance hit using this feature.
    size_t len_t_eval = 0,            # Size of t_eval.
    PreEvalFunc pre_eval_func = NULL  # Optional additional function that is called within `diffeq_ptr` using current `t` and `y`. See "Advanced CySolver.md" for more details.
    double* rtols_ptr = NULL,         # Overrides rtol if provided. Pointer to array of floats of rtols if you'd like a different rtol for each y.
    double* atols_ptr = NULL,         # Overrides atol if provided. Pointer to array of floats of atols if you'd like a different atol for each y.
    double max_step = MAX_STEP,       # Maximum allowed step size.
    double first_step = 0.0           # Initial step size. If set to 0.0 then CyRK will guess a good step size.
    size_t expected_size = 0,         # Expected size of the solution. There is a slight performance improvement if selecting the the exact or slightly more time steps than the adaptive stepper will require (if you happen to know this ahead of time).
    )
```

## Limitations and Known Issues

- [Issue 30](https://github.com/jrenaud90/CyRK/issues/30): CyRK's cysolve_ivp and pysolve_ivp does not allow for complex-valued dependent variables. 

## Citing CyRK

It is great to see CyRK used in other software or in scientific studies. We ask that you cite back to CyRK's [GitHub](https://github.com/jrenaud90/CyRK) website so interested parties can learn about this package. It would also be great to hear about the work being done with CyRK, so get in touch!

Renaud, Joe P. (2022). CyRK - ODE Integrator Implemented in Cython and Numba. Zenodo. https://doi.org/10.5281/zenodo.7093266

In addition to citing CyRK, please consider citing SciPy and its references for the specific Runge-Kutta model that was used in your work. CyRK is largely an adaptation of SciPy's functionality. Find more details [here](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html).

Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, Stéfan J. van der Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, CJ Carey, İlhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E.A. Quintero, Charles R Harris, Anne M. Archibald, Antônio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. (2020) SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17(3), 261-272.

## Contribute to CyRK
_Please look [here](https://github.com/jrenaud90/CyRK/graphs/contributors) for an up-to-date list of contributors to the CyRK package._

CyRK is open-source and is distributed under the Creative Commons Attribution-ShareAlike 4.0 International license. You are welcome to fork this repository and make any edits with attribution back to this project (please see the `Citing CyRK` section).
- We encourage users to report bugs or feature requests using [GitHub Issues](https://github.com/jrenaud90/CyRK/issues).
- If you would like to contribute but don't know where to start, check out the [good first issue](https://github.com/jrenaud90/CyRK/labels/good%20first%20issue) tag on GitHub.
- Users are welcome to submit pull requests and should feel free to create them before the final code is completed so that feedback and suggestions can be given early on.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "CyRK",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.8",
    "maintainer_email": null,
    "keywords": "Scientific Computing, Runge-Kutta, Numerical Integration, ODEs, Ordinary Differential Equations, cython, numba, Integration",
    "author": null,
    "author_email": "\"Joe P. Renaud\" <joe.p.renaud@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c2/73/0cdd9413fc2b907f77cd0c1676b26db81375f437b216f92ea8fb777a54b0/cyrk-0.10.1.tar.gz",
    "platform": null,
    "description": "# CyRK\n<div style=\"text-align: center;\">\n<a href=\"https://doi.org/10.5281/zenodo.7093266\"><img src=\"https://zenodo.org/badge/DOI/10.5281/zenodo.7093266.svg\" alt=\"DOI\"></a>\n<a href=\"https://www.python.org/downloads/\"><img src=\"https://img.shields.io/badge/Python-3.8|3.9|3.10|3.11|3.12-blue\" alt=\"Python Version 3.8-3.12\" /></a>\n<a href=\"https://codecov.io/gh/jrenaud90/CyRK\" ><img src=\"https://codecov.io/gh/jrenaud90/CyRK/branch/main/graph/badge.svg?token=MK2PqcNGET\" alt=\"Code Coverage\"/></a>\n<br />\n<a href=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml\"><img src=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml/badge.svg?branch=main\" alt=\"Windows Tests\" /></a>\n<a href=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml\"><img src=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml/badge.svg?branch=main\" alt=\"MacOS Tests\" /></a>\n<a href=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_ubun.yml\"><img src=\"https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_ubun.yml/badge.svg?branch=main\" alt=\"Ubuntu Tests\" /></a>\n</div>\n\n---\n\n<a href=\"https://github.com/jrenaud90/CyRK/releases\"><img src=\"https://img.shields.io/badge/CyRK-0.10.1 Alpha-orange\" alt=\"CyRK Version 0.10.1 Alpha\" /></a>\n\n\n**Runge-Kutta ODE Integrator Implemented in Cython and Numba**\n\nCyRK provides fast integration tools to solve systems of ODEs using an adaptive time stepping scheme. CyRK can accept differential equations that are written in pure Python, njited numba, or cython-based cdef functions. These kinds of functions are generally easier to implement than pure c functions and can be used in existing Python software. Using CyRK can speed up development time while avoiding the slow performance that comes with using pure Python-based solvers like SciPy's `solve_ivp`.\n\nThe purpose of this package is to provide some \nfunctionality of [scipy's solve_ivp](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html) with greatly improved performance.\n\nCurrently, CyRK's [numba-based](https://numba.discourse.group/) (njit-safe) implementation is **10-140x faster** than scipy's solve_ivp function.\nThe [cython-based](https://cython.org/) `pysolve_ivp` function that works with python (or njit'd) functions is **20-50x faster** than scipy.\nThe [cython-based](https://cython.org/) `cysolver_ivp` function that works with cython-based cdef functions is **50-700+x faster** than scipy.\n\nAn additional benefit of the two cython implementations is that they are pre-compiled. This avoids most of the start-up performance hit experienced by just-in-time compilers like numba.\n\n\n<img style=\"text-align: center\" src=\"https://github.com/jrenaud90/CyRK/blob/main/Benchmarks/CyRK_SciPy_Compare_predprey_v0-10-1.png\" alt=\"CyRK Performance Graphic\" />\n\n## Installation\n\n*CyRK has been tested on Python 3.8--3.12; Windows, Ubuntu, and MacOS.*\n\nTo install simply open a terminal and call:\n\n`pip install CyRK`\n\nIf not installing from a wheel, CyRK will attempt to install `Cython` and `Numpy` in order to compile the source code. A \"C++ 14\" compatible compiler is required.\nCompiling CyRK has been tested on the latest versions of Windows, Ubuntu, and MacOS. Your milage may vary if you are using a older or different operating system.\nAfter everything has been compiled, cython will be uninstalled and CyRK's runtime dependencies (see the pyproject.toml file for the latest list) will be installed instead.\n\nA new installation of CyRK can be tested quickly by running the following from a python console.\n```python\nfrom CyRK import test_pysolver, test_cysolver, test_nbrk\ntest_pysolver()\n# Should see \"CyRK's PySolver was tested successfully.\"\ntest_cysolver()\n# Should see \"CyRK's CySolver was tested successfully.\"\ntest_nbrk()\n# Should see \"CyRK's nbrk_ode was tested successfully.\"\n```\n\n### Troubleshooting Installation and Runtime Problems\n\n*Please [report](https://github.com/jrenaud90/CyRK/issues) installation issues. We will work on a fix and/or add workaround information here.*\n\n- If you see a \"Can not load module: CyRK.cy\" or similar error then the cython extensions likely did not compile during installation. Try running `pip install CyRK --no-binary=\"CyRK\"` \nto force python to recompile the cython extensions locally (rather than via a prebuilt wheel).\n- On MacOS: If you run into problems installing CyRK then reinstall using the verbose flag (`pip install -v .`) to look at the installation log. If you see an error that looks like \"clang: error: unsupported option '-fopenmp'\" then you may have a problem with your `llvm` or `libomp` libraries. It is recommended that you install CyRK in an [Anaconda](https://www.anaconda.com/download) environment with the following packages `conda install numpy scipy cython llvm-openmp`. See more discussion [here](https://github.com/facebookresearch/xformers/issues/157) and the steps taken [here](https://github.com/jrenaud90/CyRK/blob/main/.github/workflows/push_tests_mac.yml).\n- CyRK has a number of runtime status codes which can be used to help determine what failed during integration. Learn more about these codes [https://github.com/jrenaud90/CyRK/blob/main/Documentation/Status%20and%20Error%20Codes.md](here).\n\n### Development and Testing Dependencies\n\nIf you intend to work on CyRK's code base you will want to install the following dependencies in order to run CyRK's test suite and experimental notebooks.\n\n`conda install pytest scipy matplotlib jupyter`\n\n`conda install` can be replaced with `pip install` if you prefer.\n\n## Using CyRK\n\n**The following code can be found in a Jupyter Notebook called \"Getting Started.ipynb\" in the \"Demos\" folder.**\n\n*Note: some older CyRK functions like `cyrk_ode` and `CySolver` class-based method have been deprecated. Read more in \"Documentation/Deprecations.md\".*\nCyRK's API is similar to SciPy's solve_ivp function. A differential equation can be defined in python such as:\n\n```python\n# For even more speed up you can use numba's njit to compile the diffeq\nfrom numba import njit\n@njit\ndef diffeq_nb(t, y):\n    dy = np.empty_like(y)\n    dy[0] = (1. - 0.01 * y[1]) * y[0]\n    dy[1] = (0.02 * y[0] - 1.) * y[1]\n    return dy\n```\n\n### Numba-based `nbsolve_ivp`\n\n_Future Development Note: The numba-based solver is currently in a feature-locked state and will not receive new features (as of CyRK v0.9.0). The reason for this is because it uses a different backend than the rest of CyRK and is not as flexible or easy to expand without significant code duplication. Please see GitHub Issue: TBD to see the status of this new numba-based solver or share your interest in continued development._\n\nThe system of ODEs can then be solved using CyRK's numba solver by,\n\n```python\nimport numpy as np\nfrom CyRK import nbsolve_ivp\n\ninitial_conds = np.asarray((20., 20.), dtype=np.float64, order='C')\ntime_span = (0., 50.)\nrtol = 1.0e-7\natol = 1.0e-8\n\nresult = \\\n    nbsolve_ivp(diffeq_nb, time_span, initial_conds, rk_method=1, rtol=rtol, atol=atol)\n\nprint(\"Was Integration was successful?\", result.success)\nprint(result.message)\nprint(\"Size of solution: \", result.size)\nimport matplotlib.pyplot as plt\nfig, ax = plt.subplots()\nax.plot(result.t, result.y[0], c='r')\nax.plot(result.t, result.y[1], c='b')\n```\n\n#### `nbsolve_ivp` Arguments\n```python\nnbsolve_ivp(\n    diffeq: callable,                  # Differential equation defined as a numba.njit'd python function\n    t_span: Tuple[float, float],       # Python tuple of floats defining the start and stop points for integration\n    y0: np.ndarray,                    # Numpy array defining initial y0 conditions.\n    args: tuple = tuple(),             # Python Tuple of additional args passed to the differential equation. These can be any njit-safe object.\n    rtol: float = 1.e-3,               # Relative tolerance used to control integration error.\n    atol: float = 1.e-6,               # Absolute tolerance (near 0) used to control integration error.\n    rtols: np.ndarray = EMPTY_ARR,     # Overrides rtol if provided. Array of floats of rtols if you'd like a different rtol for each y.\n    atols: np.ndarray = EMPTY_ARR,     # Overrides atol if provided. Array of floats of atols if you'd like a different atol for each y.\n    max_step: float = np.inf,          # Maximum allowed step size.\n    first_step: float = None,          # Initial step size. If set to 0.0 then CyRK will guess a good step size.\n    rk_method: int = 1,                # Integration method. Current options: 0 == RK23, 1 == RK45, 2 == DOP853\n    t_eval: np.ndarray = EMPTY_ARR,    # `nbsolve_ivp` uses an adaptive time stepping protocol based on the recent error at each step. This results in a final non-uniform time domain of variable size. If the user would like the results at specific time steps then they can provide a np.ndarray array at the desired steps via `t_eval`. The solver will then interpolate the results to fit this \n    capture_extra: bool = False,       # Set to True if the diffeq is designed to provide extra outputs.\n    interpolate_extra: bool = False,   # See \"Documentation/Extra Output.md\" for details.\n    max_num_steps: int = 0             # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.\n    )\n```\n\n### Python wrapped `pysolve_ivp`\n\nCyRK's main integration functions utilize a C++ backend system which is then wrapped and accessible to Python via Cython. The easiest way to interface with this system is through CyRK's `pysolve_ivp` function. It follows a very similar format to both `nbsolve_ivp` and Scipy's `solve_ivp`. First you must build a function in Python. This could look the same as the function described above for `nbsolve_ivp` (see `diffeq_nb`). However, there are a few advantages that pysolve_ivp provides over nbsolve_ivp:\n\n  1. It accepts both functions that use numba's njit wrapper (as `diffeq_nb` did above) or pure Python functions (`nbsolve_ivp` only accepts njit'd functions).\n  2. You can provide the resultant dy/dt as an argument which can provide a significant performance boost.\n\nUtilizing point 2, we can re-write the differential equation function as,\n\n```python\n# Note if using this format, `dy` must be the first argument. Additionally, a special flag must be set to True when calling pysolve_ivp, see below.\ndef cy_diffeq(dy, t, y):\n    dy[0] = (1. - 0.01 * y[1]) * y[0]\n    dy[1] = (0.02 * y[0] - 1.) * y[1]\n```\n\nSince this function is not using any special functions we could easily wrap it with njit for additional performance boost: `cy_diffeq = njit(cy_diffeq)`.\n\nOnce you have built your function the procedure to solve it is:\n\n```python\nimport numpy as np\nfrom CyRK import pysolve_ivp\n\ninitial_conds = np.asarray((20., 20.), dtype=np.complex128, order='C')\ntime_span = (0., 50.)\nrtol = 1.0e-7\natol = 1.0e-8\n\nresult = \\\n    pysolve_ivp(cy_diffeq, time_span, initial_conds, method=\"RK45\", rtol=rtol, atol=atol,\n                # Note if you did build a differential equation that has `dy` as the first argument then you must pass the following flag as `True`.\n                # You could easily pass the `diffeq_nb` example which returns dy. You would just set this flag to False (and experience a hit to your performance).\n                pass_dy_as_arg=True)\n\nprint(\"Was Integration was successful?\", result.success)\nprint(result.message)\nprint(\"Size of solution: \", result.size)\nimport matplotlib.pyplot as plt\nfig, ax = plt.subplots()\nax.plot(result.t, result.y[0], c='r')\nax.plot(result.t, result.y[1], c='b')\n```\n\n#### `pysolve_ivp` Arguments\n\n```python\ndef pysolve_ivp(\n        object py_diffeq,            # Differential equation defined as a python function\n        tuple time_span,             # Python tuple of floats defining the start and stop points for integration\n        double[::1] y0,              # Numpy array defining initial y0 conditions.\n        str method = 'RK45',         # Integration method. Current options are: RK23, RK45, DOP853\n        double[::1] t_eval = None,   # Array of time steps at which to save data. If not provided then all adaptive time steps will be saved. There is a slight performance hit using this feature.\n        bint dense_output = False,   # If True, then dense interpolators will be saved to the solution. This allows a user to call solution as if a function (in time).\n        tuple args = None,           # Python Tuple of additional args passed to the differential equation. These can be any python object.\n        size_t expected_size = 0,    # Expected size of the solution. There is a slight performance improvement if selecting the the exact or slightly more time steps than the adaptive stepper will require (if you happen to know this ahead of time).\n        unsigned int num_extra = 0,  # Number of extra outputs you want to capture during integration. There is a performance hit if this is used in conjunction with t_eval or dense_output.\n        double first_step = 0.0,     # Initial step size. If set to 0.0 then CyRK will guess a good step size.\n        double max_step = INF,       # Maximum allowed step size.\n        rtol = 1.0e-3,               # Relative tolerance used to control integration error. This can be provided as a numpy array if you'd like a different rtol for each y.\n        atol = 1.0e-6,               # Absolute tolerance (near 0) used to control integration error. This can be provided as a numpy array if you'd like a different atol for each y.\n        size_t max_num_steps = 0,    # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.\n        size_t max_ram_MB = 2000,    # Maximum amount of system memory the integrator is allowed to use. If this is exceeded then integration will fail.\n        bint pass_dy_as_arg = False  # Flag if differential equation returns dy (False) or is passed dy as the first argument (True).\n        ):\n```\n\n### Pure Cython `cysolve_ivp`\n\nA final method is provided to users in the form of `cysolve_ivp`. This function can only be accessed and used by code written in Cython. Details about how to setup and use Cython can be found on the project's [website](https://cython.readthedocs.io/en/stable/index.html). The below code examples assume you are running the code in a [Jupyter Notebook](https://jupyter.org/).\n\n`cysolve_ivp` has a slightly different interface than `nbsolve_ivp` and `pysolve_ivp` as it only accepts C types. For that reason, python functions will not work with `cysolve_ivp`. While developing in Cython is more challenging than Python, there is a huge performance advantage (`cysolve_ivp` is roughly 5x faster than `pysolve_ivp` and 700x faster than scipy's `solve_ivp`). Below is a demonstration of how it can be used.\n\nFirst a pure Cython file (written as a Jupyter notebook).\n```cython\n%%cython --force \n# distutils: language = c++\n# cython: boundscheck=False, wraparound=False, nonecheck=False, cdivision=True, initializedcheck=False\n\nimport numpy as np\ncimport numpy as np\nnp.import_array()\n\n# Note the \"distutils\" and \"cython\" headers above are functional. They tell cython how to compile the code. In this case we want to use C++ and to turn off several safety checks (which improve performance).\n\n# The cython diffeq is much less flexible than the others described above. It must follow this format, including the type information. \n# Currently, CyRK only allows additional arguments to be passed in as a double array pointer (they all must be of type double). Mixed type args will be explored in the future if there is demand for it (make a GitHub issue if you'd like to see this feature!).\n# The \"noexcept nogil\" tells cython that the Python Global Interpretor Lock is not required, and that no exceptions should be raised by the code within this function (both improve performance).\n# If you do need the gil for your differential equation then you must use the `cysolve_ivp_gil` function instead of `cysolve_ivp`\n\n# Import the required functions from CyRK\nfrom CyRK cimport cysolve_ivp, DiffeqFuncType, WrapCySolverResult, CySolveOutput, PreEvalFunc\n\n# Note that currently you must provide the \"const void* args, PreEvalFunc pre_eval_func\" as inputs even if they are unused.\n# See \"Advanced CySolver.md\" in the documentation for information about these parameters.\ncdef void cython_diffeq(double* dy, double t, double* y, const void* args, PreEvalFunc pre_eval_func) noexcept nogil:\n    \n    # Unpack args\n    # CySolver assumes an arbitrary data type for additional arguments. So we must cast them to the array of \n    # doubles that we want to use for this equation\n    cdef double* args_as_dbls = <double*>args\n    cdef double a = args_as_dbls[0]\n    cdef double b = args_as_dbls[1]\n    \n    # Build Coeffs\n    cdef double coeff_1 = (1. - a * y[1])\n    cdef double coeff_2 = (b * y[0] - 1.)\n    \n    # Store results\n    dy[0] = coeff_1 * y[0]\n    dy[1] = coeff_2 * y[1]\n    # We can also capture additional output with cysolve_ivp.\n    dy[2] = coeff_1\n    dy[3] = coeff_2\n\n# Import the required functions from CyRK\nfrom CyRK cimport cysolve_ivp, DiffeqFuncType, WrapCySolverResult, CySolveOutput\n\n# Let's get the integration number for the RK45 method\nfrom CyRK cimport RK45_METHOD_INT\n\n# Now let's import cysolve_ivp and build a function that runs it. We will not make this function `cdef` like the diffeq was. That way we can run it from python (this is not a requirement. If you want you can do everything within Cython).\n# Since this function is not `cdef` we can use Python types for its input. We just need to clean them up and convert them to pure C before we call cysolve_ivp.\ndef run_cysolver(tuple t_span, double[::1] y0):\n    \n    # Cast our diffeq to the accepted format\n    cdef DiffeqFuncType diffeq = cython_diffeq\n    \n    # Convert the python user input to pure C types\n    cdef double* y0_ptr       = &y0[0]\n    cdef unsigned int num_y   = len(y0)\n    cdef double[2] t_span_arr = [t_span[0], t_span[1]]\n    cdef double* t_span_ptr   = &t_span_arr[0]\n\n    # Assume constant args\n    cdef double[2] args   = [0.01, 0.02]\n    cdef double* args_dbl_ptr = &args[0]\n    # Need to cast the arg double pointer to void\n    cdef void* args_ptr = <void*>args_dbl_ptr\n\n    # Run the integrator!\n    cdef CySolveOutput result = cysolve_ivp(\n        diffeq,\n        t_span_ptr,\n        y0_ptr,\n        num_y,\n        method = RK45_METHOD_INT, # Integration method\n        rtol = 1.0e-7,\n        atol = 1.0e-8,\n        args_ptr = args_ptr,\n        num_extra = 2\n    )\n\n    # The CySolveOutput is not accesible via Python. We need to wrap it first\n    cdef WrapCySolverResult pysafe_result = WrapCySolverResult()\n    pysafe_result.set_cyresult_pointer(result)\n\n    return pysafe_result\n```\n\nNow we can make a python script that calls our new cythonized wrapper function. Everything below is in pure Python.\n\n```python\n# Assume we are working in a Jupyter notebook so we don't need to import `run_cysolver` if it was defined in an earlier cell.\n# from my_cython_code import run_cysolver\n\nimport numpy as np\ninitial_conds = np.asarray((20., 20.), dtype=np.float64, order='C')\ntime_span = (0., 50.)\n\nresult = run_cysolver(time_span, initial_conds)\n\nprint(\"Was Integration was successful?\", result.success)\nprint(result.message)\nprint(\"Size of solution: \", result.size)\nimport matplotlib.pyplot as plt\nfig, ax = plt.subplots()\nax.plot(result.t, result.y[0], c='r')\nax.plot(result.t, result.y[1], c='b')\n\n# Can also plot the extra output. They are small for this example so scaling them up by 100\nax.plot(result.t, 100*result.y[2], c='green', ls=':')\nax.plot(result.t, 100*result.y[3], c='purple', ls=':')\n```\n\nThere is a lot more you can do to interface with CyRK's C++ backend and fully optimize the integrators to your needs. These details will be documented in \"Documentation/Advanced CySolver.md\".\n\n#### `cysolve_ivp` and `cysolve_ivp_gil` Arguments\n\n```cython\ncdef shared_ptr[CySolverResult] cysolve_ivp(\n    DiffeqFuncType diffeq_ptr,        # Differential equation defined as a cython function\n    double* t_span_ptr,               # Pointer to array (size 2) of floats defining the start and stop points for integration\n    double* y0_ptr,                   # Pointer to array defining initial y0 conditions.\n    unsigned int num_y,               # Size of y0_ptr array.\n    unsigned int method = 1,          # Integration method. Current options: 0 == RK23, 1 == RK45, 2 == DOP853\n    double rtol = 1.0e-3,             # Relative tolerance used to control integration error.\n    double atol = 1.0e-6,             # Absolute tolerance (near 0) used to control integration error.\n    void* args_ptr = NULL,            # Pointer to array of additional arguments passed to the diffeq. See \"Advanced CySolver.md\" for more details.\n    unsigned int num_extra = 0,       # Number of extra outputs you want to capture during integration. There is a performance hit if this is used in conjunction with t_eval or dense_output.\n    size_t max_num_steps = 0,         # Maximum number of steps allowed. If exceeded then integration will fail. 0 (the default) turns this off.\n    size_t max_ram_MB = 2000,         # Maximum amount of system memory the integrator is allowed to use. If this is exceeded then integration will fail.\n    bint dense_output = False,        # If True, then dense interpolators will be saved to the solution. This allows a user to call solution as if a function (in time).\n    double* t_eval = NULL,            # Pointer to an array of time steps at which to save data. If not provided then all adaptive time steps will be saved. There is a slight performance hit using this feature.\n    size_t len_t_eval = 0,            # Size of t_eval.\n    PreEvalFunc pre_eval_func = NULL  # Optional additional function that is called within `diffeq_ptr` using current `t` and `y`. See \"Advanced CySolver.md\" for more details.\n    double* rtols_ptr = NULL,         # Overrides rtol if provided. Pointer to array of floats of rtols if you'd like a different rtol for each y.\n    double* atols_ptr = NULL,         # Overrides atol if provided. Pointer to array of floats of atols if you'd like a different atol for each y.\n    double max_step = MAX_STEP,       # Maximum allowed step size.\n    double first_step = 0.0           # Initial step size. If set to 0.0 then CyRK will guess a good step size.\n    size_t expected_size = 0,         # Expected size of the solution. There is a slight performance improvement if selecting the the exact or slightly more time steps than the adaptive stepper will require (if you happen to know this ahead of time).\n    )\n```\n\n## Limitations and Known Issues\n\n- [Issue 30](https://github.com/jrenaud90/CyRK/issues/30): CyRK's cysolve_ivp and pysolve_ivp does not allow for complex-valued dependent variables. \n\n## Citing CyRK\n\nIt is great to see CyRK used in other software or in scientific studies. We ask that you cite back to CyRK's [GitHub](https://github.com/jrenaud90/CyRK) website so interested parties can learn about this package. It would also be great to hear about the work being done with CyRK, so get in touch!\n\nRenaud, Joe P. (2022). CyRK - ODE Integrator Implemented in Cython and Numba. Zenodo. https://doi.org/10.5281/zenodo.7093266\n\nIn addition to citing CyRK, please consider citing SciPy and its references for the specific Runge-Kutta model that was used in your work. CyRK is largely an adaptation of SciPy's functionality. Find more details [here](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html).\n\nPauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, St\u00e9fan J. van der Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, CJ Carey, \u0130lhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E.A. Quintero, Charles R Harris, Anne M. Archibald, Ant\u00f4nio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. (2020) SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17(3), 261-272.\n\n## Contribute to CyRK\n_Please look [here](https://github.com/jrenaud90/CyRK/graphs/contributors) for an up-to-date list of contributors to the CyRK package._\n\nCyRK is open-source and is distributed under the Creative Commons Attribution-ShareAlike 4.0 International license. You are welcome to fork this repository and make any edits with attribution back to this project (please see the `Citing CyRK` section).\n- We encourage users to report bugs or feature requests using [GitHub Issues](https://github.com/jrenaud90/CyRK/issues).\n- If you would like to contribute but don't know where to start, check out the [good first issue](https://github.com/jrenaud90/CyRK/labels/good%20first%20issue) tag on GitHub.\n- Users are welcome to submit pull requests and should feel free to create them before the final code is completed so that feedback and suggestions can be given early on.\n",
    "bugtrack_url": null,
    "license": "# Creative Commons Attribution-ShareAlike 4.0 International  Creative Commons Corporation (\u201cCreative Commons\u201d) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an \u201cas-is\u201d basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.  **Using Creative Commons Public Licenses**  Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.  * __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).  * __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor\u2019s permission is not necessary for any reason\u2013for example, because of any applicable exception or limitation to copyright\u2013then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).  ## Creative Commons Attribution-ShareAlike 4.0 International Public License  By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License (\"Public License\"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.  ### Section 1 \u2013 Definitions.  a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.  b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.  c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.  d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.  e. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.  f. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.  g. __License Elements__ means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.  h. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License.  i. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.  j. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License.  k. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.  l. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.  m. __You__ means the individual or entity exercising the Licensed Rights under this Public License. __Your__ has a corresponding meaning.  ### Section 2 \u2013 Scope.  a. ___License grant.___  1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:  A. reproduce and Share the Licensed Material, in whole or in part; and  B. produce, reproduce, and Share Adapted Material.  2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.  3. __Term.__ The term of this Public License is specified in Section 6(a).  4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.  5. __Downstream recipients.__  A. __Offer from the Licensor \u2013 Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.  B. __Additional offer from the Licensor \u2013 Adapted Material.__ Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter\u2019s License You apply.  C. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.  6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).  b. ___Other rights.___  1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.  2. Patent and trademark rights are not licensed under this Public License.  3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.  ### Section 3 \u2013 License Conditions.  Your exercise of the Licensed Rights is expressly made subject to the following conditions.  a. ___Attribution.___  1. If You Share the Licensed Material (including in modified form), You must:  A. retain the following if it is supplied by the Licensor with the Licensed Material:  i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);  ii. a copyright notice;  iii. a notice that refers to this Public License;  iv. a notice that refers to the disclaimer of warranties;  v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;  B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and  C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.  2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.  3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.  b. ___ShareAlike.___  In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.  1. The Adapter\u2019s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.  2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.  3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.  ### Section 4 \u2013 Sui Generis Database Rights.  Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:  a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;  b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and  c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.  For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.  ### Section 5 \u2013 Disclaimer of Warranties and Limitation of Liability.  a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__  b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__  c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.  ### Section 6 \u2013 Term and Termination.  a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.  b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:  1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or  2. upon express reinstatement by the Licensor.  For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.  c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.  ### Section 7 \u2013 Other Terms and Conditions.  a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.  b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.  ### Section 8 \u2013 Interpretation.  a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.  b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.  c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.  d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.  > Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the \u201cLicensor.\u201d The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark \u201cCreative Commons\u201d or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. > > Creative Commons may be contacted at creativecommons.org. ",
    "summary": "Runge-Kutta ODE Integrator Implemented in Cython and Numba.",
    "version": "0.10.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/jrenaud90/CyRK/issues",
        "Homepage": "https://github.com/jrenaud90/CyRK"
    },
    "split_keywords": [
        "scientific computing",
        " runge-kutta",
        " numerical integration",
        " odes",
        " ordinary differential equations",
        " cython",
        " numba",
        " integration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6be366354890807a22ebacef8e8fd8a89bff6cc46d291f35bc7266052d1182b2",
                "md5": "d11b989a15f0b3e3e751668bc4a3ec62",
                "sha256": "1f38664de4340288de1ad83d928b3c322da1ba091b959d3c94cab1aff1c99590"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d11b989a15f0b3e3e751668bc4a3ec62",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "<3.13,>=3.8",
            "size": 2315366,
            "upload_time": "2024-07-25T17:46:24",
            "upload_time_iso_8601": "2024-07-25T17:46:24.033297Z",
            "url": "https://files.pythonhosted.org/packages/6b/e3/66354890807a22ebacef8e8fd8a89bff6cc46d291f35bc7266052d1182b2/CyRK-0.10.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5cef012eb66f81b3506e63ea70d3e506f173d16ed8acb00ae208bdaac90a0e38",
                "md5": "74e77a436a1a07ee6c22c70f81b54166",
                "sha256": "c86cbaa494d0e2b2eeb7ea4fc384d3b9fe21e8a10a96ea14bbd0392016baa107"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "74e77a436a1a07ee6c22c70f81b54166",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "<3.13,>=3.8",
            "size": 2264456,
            "upload_time": "2024-07-25T17:46:26",
            "upload_time_iso_8601": "2024-07-25T17:46:26.684122Z",
            "url": "https://files.pythonhosted.org/packages/5c/ef/012eb66f81b3506e63ea70d3e506f173d16ed8acb00ae208bdaac90a0e38/CyRK-0.10.1-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f0efb87f95d5ae30e48298bd1230c5b41350601c25afac37776916684b89e06",
                "md5": "7394bc01c5525f8fec41e31efb4b3a14",
                "sha256": "1edd4ef93d7a813273517809bdffb356aa8ecdc2771062632052e9574b125c28"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7394bc01c5525f8fec41e31efb4b3a14",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "<3.13,>=3.8",
            "size": 5964464,
            "upload_time": "2024-07-25T17:46:29",
            "upload_time_iso_8601": "2024-07-25T17:46:29.005170Z",
            "url": "https://files.pythonhosted.org/packages/7f/0e/fb87f95d5ae30e48298bd1230c5b41350601c25afac37776916684b89e06/CyRK-0.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9407504eda7db50e0b376d89fbfa5cb4a221a5e17dc91a5112ffdf22be0966e0",
                "md5": "cf9b223de774a8449006666abb4099d4",
                "sha256": "8d24bde036c32e28984ba5fedd7d3cf0b1179073b3c886f3b8d30a16e0fa3afa"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "cf9b223de774a8449006666abb4099d4",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "<3.13,>=3.8",
            "size": 2251936,
            "upload_time": "2024-07-25T17:46:31",
            "upload_time_iso_8601": "2024-07-25T17:46:31.274622Z",
            "url": "https://files.pythonhosted.org/packages/94/07/504eda7db50e0b376d89fbfa5cb4a221a5e17dc91a5112ffdf22be0966e0/CyRK-0.10.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d7def480113127a80f73de84d8764de4407bbe10c0c84c5a68b7dcd8be4e707",
                "md5": "e549d59395207a8ee07206f4c2a99423",
                "sha256": "542b4b3862ee50dc03873d2d109bdb21f15a51620846e57adf77f21ccc579188"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e549d59395207a8ee07206f4c2a99423",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "<3.13,>=3.8",
            "size": 2314884,
            "upload_time": "2024-07-25T17:46:33",
            "upload_time_iso_8601": "2024-07-25T17:46:33.491310Z",
            "url": "https://files.pythonhosted.org/packages/3d/7d/ef480113127a80f73de84d8764de4407bbe10c0c84c5a68b7dcd8be4e707/CyRK-0.10.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b086937f8b924c3f2a4a5ace3b9e04d992cb972b235731f2cb96e5b3e2db9d24",
                "md5": "0e8979cf1c0f7f7252d32d30826220cb",
                "sha256": "ab578399959f1e654c807549b55c678a9f2d17d69b83a9580ef29e39239cef5b"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0e8979cf1c0f7f7252d32d30826220cb",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "<3.13,>=3.8",
            "size": 2263200,
            "upload_time": "2024-07-25T17:46:35",
            "upload_time_iso_8601": "2024-07-25T17:46:35.621253Z",
            "url": "https://files.pythonhosted.org/packages/b0/86/937f8b924c3f2a4a5ace3b9e04d992cb972b235731f2cb96e5b3e2db9d24/CyRK-0.10.1-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e00f349b6ccf514634ec437ba91fc6d4a87eb7c8373b7ec4062b13cd05d0411",
                "md5": "9295c9c753c91e318533f0336824908b",
                "sha256": "135387be74dced7dde7de7bde8146e58fa1cefacb26fa0e39bac9fb9292e7306"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9295c9c753c91e318533f0336824908b",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "<3.13,>=3.8",
            "size": 6253068,
            "upload_time": "2024-07-25T17:46:37",
            "upload_time_iso_8601": "2024-07-25T17:46:37.976904Z",
            "url": "https://files.pythonhosted.org/packages/5e/00/f349b6ccf514634ec437ba91fc6d4a87eb7c8373b7ec4062b13cd05d0411/CyRK-0.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0730c0bf934ec545fb0ec5d15117c48559487f023d5dfde07909719645c06a4b",
                "md5": "89dda160383916fd7b1d2cb697cb6d3a",
                "sha256": "9c8604a4256fe1e30b5ad38f863ee1033f533136e452ad91d72558f491572bad"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "89dda160383916fd7b1d2cb697cb6d3a",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "<3.13,>=3.8",
            "size": 2252965,
            "upload_time": "2024-07-25T17:46:40",
            "upload_time_iso_8601": "2024-07-25T17:46:40.340556Z",
            "url": "https://files.pythonhosted.org/packages/07/30/c0bf934ec545fb0ec5d15117c48559487f023d5dfde07909719645c06a4b/CyRK-0.10.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bcd6e3d4eede6e7ec55b311b7f3307a4b0fdc4898cb234dd91a22a0880b7c8d3",
                "md5": "419ab8bc11f3dca1bdac12ac9f9ab0ad",
                "sha256": "af4f53515cf1c2024899519de0ede7b47b5e6edaae6bd866db33714e436a9d1d"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp312-cp312-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "419ab8bc11f3dca1bdac12ac9f9ab0ad",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "<3.13,>=3.8",
            "size": 2332415,
            "upload_time": "2024-07-25T17:46:42",
            "upload_time_iso_8601": "2024-07-25T17:46:42.573590Z",
            "url": "https://files.pythonhosted.org/packages/bc/d6/e3d4eede6e7ec55b311b7f3307a4b0fdc4898cb234dd91a22a0880b7c8d3/CyRK-0.10.1-cp312-cp312-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc3fef476950b7b4c7db35e3f52c68ec28c42537dc563fd4e02651eab72df8b2",
                "md5": "71a9c4f9b3e0260e47906d5bc81f4d77",
                "sha256": "f551509bfd6f455a60f1432eeb0650a314a81ed5c47edfee655bc4b4ffddde4e"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "71a9c4f9b3e0260e47906d5bc81f4d77",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "<3.13,>=3.8",
            "size": 2272796,
            "upload_time": "2024-07-25T17:46:44",
            "upload_time_iso_8601": "2024-07-25T17:46:44.640312Z",
            "url": "https://files.pythonhosted.org/packages/fc/3f/ef476950b7b4c7db35e3f52c68ec28c42537dc563fd4e02651eab72df8b2/CyRK-0.10.1-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63443aa36eba1528226dfad6332d3655d7f0bc64cc7574cb5418aaa7c75469db",
                "md5": "adcc19dfe5068c77c356d9622ae902e9",
                "sha256": "f099a075abe08384f9bba5e750ea04be58237ad5466d4ebcc92a9caae28b5b1e"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "adcc19dfe5068c77c356d9622ae902e9",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "<3.13,>=3.8",
            "size": 6221281,
            "upload_time": "2024-07-25T17:46:46",
            "upload_time_iso_8601": "2024-07-25T17:46:46.371216Z",
            "url": "https://files.pythonhosted.org/packages/63/44/3aa36eba1528226dfad6332d3655d7f0bc64cc7574cb5418aaa7c75469db/CyRK-0.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00330f7569b3809e4f904b19e520c36b2a9523f7c73a6cb92ebf309e650e3048",
                "md5": "a23ff1b1c8299c33f80cea8241d4c9ee",
                "sha256": "578b9e71cbf45d774d43674ac010e63d0e1603a8856045b6ac56475850efc2fe"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "a23ff1b1c8299c33f80cea8241d4c9ee",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "<3.13,>=3.8",
            "size": 2256451,
            "upload_time": "2024-07-25T17:46:48",
            "upload_time_iso_8601": "2024-07-25T17:46:48.699502Z",
            "url": "https://files.pythonhosted.org/packages/00/33/0f7569b3809e4f904b19e520c36b2a9523f7c73a6cb92ebf309e650e3048/CyRK-0.10.1-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ddec06caad028074db1a6053f2273aacbbe149b5b624da74d327c0ebf1ce9139",
                "md5": "e27ace3efff2500d30ea462a62bc1c1b",
                "sha256": "b1afa9a8a98f11979d52330a4c1f8a609e7805f03fe1ac9ae3fa5c5f47ab5a7f"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp38-cp38-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e27ace3efff2500d30ea462a62bc1c1b",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": "<3.13,>=3.8",
            "size": 2354055,
            "upload_time": "2024-07-25T17:46:50",
            "upload_time_iso_8601": "2024-07-25T17:46:50.324801Z",
            "url": "https://files.pythonhosted.org/packages/dd/ec/06caad028074db1a6053f2273aacbbe149b5b624da74d327c0ebf1ce9139/CyRK-0.10.1-cp38-cp38-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b66e7d4dd88f417d4e84a1b55c474a946dfc20f4e025643088c4351a6b3a966",
                "md5": "95eaa3fbd4a36a24cf9c175bfaab4179",
                "sha256": "397b241537aaa9a980f8b5eaa2173605e802e7ae4dca2df065886bfc71143b10"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp38-cp38-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "95eaa3fbd4a36a24cf9c175bfaab4179",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": "<3.13,>=3.8",
            "size": 2302240,
            "upload_time": "2024-07-25T17:46:52",
            "upload_time_iso_8601": "2024-07-25T17:46:52.486479Z",
            "url": "https://files.pythonhosted.org/packages/5b/66/e7d4dd88f417d4e84a1b55c474a946dfc20f4e025643088c4351a6b3a966/CyRK-0.10.1-cp38-cp38-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ec0ee22af61c62baa0500c5f0382bf1d85c19972b3cb33b1a0b10d7186b5e94",
                "md5": "ff0930b9349dfbab63607e624afb6d20",
                "sha256": "6b02cb01c2a86d53ca97b170d59826bd9a3a7949b9bf8e3d14d100db8b0cf928"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ff0930b9349dfbab63607e624afb6d20",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": "<3.13,>=3.8",
            "size": 6035252,
            "upload_time": "2024-07-25T17:46:54",
            "upload_time_iso_8601": "2024-07-25T17:46:54.825839Z",
            "url": "https://files.pythonhosted.org/packages/0e/c0/ee22af61c62baa0500c5f0382bf1d85c19972b3cb33b1a0b10d7186b5e94/CyRK-0.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a467565ae1eca97e5fc3aedd7ac310f68842921eb94fc51e01eed8ac94f1afb4",
                "md5": "912484eb91d89fa9ab14ce259c103304",
                "sha256": "5d061896dd300f970e7e12f003e3908f794dfc40b46456e974d60b1de71009e4"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "912484eb91d89fa9ab14ce259c103304",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": "<3.13,>=3.8",
            "size": 2257136,
            "upload_time": "2024-07-25T17:46:56",
            "upload_time_iso_8601": "2024-07-25T17:46:56.821951Z",
            "url": "https://files.pythonhosted.org/packages/a4/67/565ae1eca97e5fc3aedd7ac310f68842921eb94fc51e01eed8ac94f1afb4/CyRK-0.10.1-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90f24364cf56be71e877a86bb8d662d231a69d28c439dfe828d46913bf4c2c3b",
                "md5": "b7679e418bd4c92db45a8f48f22ec94c",
                "sha256": "c578ce9f4acc4a0e79fa222045ed174be4af14a279173375de93ff11e61887ab"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b7679e418bd4c92db45a8f48f22ec94c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.13,>=3.8",
            "size": 2319493,
            "upload_time": "2024-07-25T17:46:58",
            "upload_time_iso_8601": "2024-07-25T17:46:58.903429Z",
            "url": "https://files.pythonhosted.org/packages/90/f2/4364cf56be71e877a86bb8d662d231a69d28c439dfe828d46913bf4c2c3b/CyRK-0.10.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "258371df50a2aac99ddd69ab439135ebe2a66a3a290c6f3872996666f746cd98",
                "md5": "5ab36c70a673abf07cdab7279f31ad94",
                "sha256": "36c24913da5cbf37aff8d6e5587a729a87145af9fa9b9e94b21339abd4f970fb"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "5ab36c70a673abf07cdab7279f31ad94",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.13,>=3.8",
            "size": 2268028,
            "upload_time": "2024-07-25T17:47:00",
            "upload_time_iso_8601": "2024-07-25T17:47:00.940332Z",
            "url": "https://files.pythonhosted.org/packages/25/83/71df50a2aac99ddd69ab439135ebe2a66a3a290c6f3872996666f746cd98/CyRK-0.10.1-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0db19491edbc15a796e7bab0fd4163e5f37076d250598f026cf1796272062c5",
                "md5": "92e427e500b491eee2a6e54057f077b0",
                "sha256": "1dfcfd1612b7733e17dc52dfeb24e3944e65457f866f3978f7b756fef67340f4"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "92e427e500b491eee2a6e54057f077b0",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.13,>=3.8",
            "size": 5981083,
            "upload_time": "2024-07-25T17:47:03",
            "upload_time_iso_8601": "2024-07-25T17:47:03.139765Z",
            "url": "https://files.pythonhosted.org/packages/d0/db/19491edbc15a796e7bab0fd4163e5f37076d250598f026cf1796272062c5/CyRK-0.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7ebf2dca68cbb44dc3c418b623f0f1c3fb5fd66d56577e5a65d18cacf74700e",
                "md5": "41cf51cc1a9f5a7b8f59d12d0a3e4bbc",
                "sha256": "07ec59486c4faaf900e8c1bacdb8e58ce1d7cfa4d946716a216a7e140379c960"
            },
            "downloads": -1,
            "filename": "CyRK-0.10.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "41cf51cc1a9f5a7b8f59d12d0a3e4bbc",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.13,>=3.8",
            "size": 2255546,
            "upload_time": "2024-07-25T17:47:05",
            "upload_time_iso_8601": "2024-07-25T17:47:05.304142Z",
            "url": "https://files.pythonhosted.org/packages/c7/eb/f2dca68cbb44dc3c418b623f0f1c3fb5fd66d56577e5a65d18cacf74700e/CyRK-0.10.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c2730cdd9413fc2b907f77cd0c1676b26db81375f437b216f92ea8fb777a54b0",
                "md5": "8b7064c0a200b7f5032f8d7c5c6ae1d1",
                "sha256": "e0738138c13ab01b677a433747a29dc34b2657f22a7d5fb9e233632f2ced6072"
            },
            "downloads": -1,
            "filename": "cyrk-0.10.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8b7064c0a200b7f5032f8d7c5c6ae1d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.8",
            "size": 1519404,
            "upload_time": "2024-07-25T17:47:07",
            "upload_time_iso_8601": "2024-07-25T17:47:07.046402Z",
            "url": "https://files.pythonhosted.org/packages/c2/73/0cdd9413fc2b907f77cd0c1676b26db81375f437b216f92ea8fb777a54b0/cyrk-0.10.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-25 17:47:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jrenaud90",
    "github_project": "CyRK",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "cyrk"
}
        
Elapsed time: 0.30452s