ReSpace is a Python package that allows you to keep track of the results of different computations along with the parameter values that generated them. You specify their names, the function that generates them, the name and default values of the parameters they depend on and you're good to go: no more trying to remember what parameters this value was computed for, building dictionaries of dictionaries (of dictionaries) to store them, or generally worrying about these things.
Features
- Compute and store some result, indexing it based on the values of the parameters it was computed for.
- Compute results that depend on others reliably and easily.
- Retrieve a previously computed result for a set of parameters.
- Add new parameters seemlessly.
- Handle parameter defaults.
- Save your results at different paths depending on the set of parameters they were computed for, with little to no effort.
- Track how long each computation takes to identify bottlenecks in your pipeline.
Installation
You can install the latest release of ReSpace via pip from PyPI:
$ pip install respace
Or, if you want the latest development version from GitHub with git:
$ pip install git+https://github.com/TLouf/respace
ReSpace requires Python 3.8+ and depends on the xarray library.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, ReSpace is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from a fork of @cjolowicz's Hypermodern Python Cookiecutter template.
Metadata
Release files for respace 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| respace-0.1.1.tar.gz | 15.1 kB | Without provenance | Details for respace-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| respace-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for respace-0.1.1-py3-none-any.whl |
Total release size: 29.4 kB
Release files / respace-0.1.1.tar.gz
| Download URL | respace-0.1.1.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4cddbcbd0ccc4b186af4e848e1fb202d53b5b15a83fa45ac32691e8137ec5b9
|
|
BLAKE2b-256 checksum How to use checksums |
fbf0bca671575975e7f63320dc8b09880d7b59437d55cc208fa9b7dbdf829711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / respace-0.1.1-py3-none-any.whl
| Download URL | respace-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
141066aafc4ae6b36a4de386e9e253230bb7925a02215fcbeb37bcf37df0b4a9
|
|
BLAKE2b-256 checksum How to use checksums |
241d1622e0f74885cd945a87199de1198b4ab1fad950943697c98bc2df21bb4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for respace 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.