Skip to main content

ReSpace

Project description

ReSpace

PyPI Status Python Version License

Read the documentation at https://respace.readthedocs.io/ Tests Codecov

pre-commit Black Ruff

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.

Project details


Download files

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

Source Distribution

respace-0.1.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

respace-0.1.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file respace-0.1.1.tar.gz.

File metadata

  • Download URL: respace-0.1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for respace-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d4cddbcbd0ccc4b186af4e848e1fb202d53b5b15a83fa45ac32691e8137ec5b9
MD5 3e8004462c790ac82d5c104611593373
BLAKE2b-256 fbf0bca671575975e7f63320dc8b09880d7b59437d55cc208fa9b7dbdf829711

See more details on using hashes here.

File details

Details for the file respace-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: respace-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for respace-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 141066aafc4ae6b36a4de386e9e253230bb7925a02215fcbeb37bcf37df0b4a9
MD5 d07870ae55a247f53046f7af61b02a0d
BLAKE2b-256 241d1622e0f74885cd945a87199de1198b4ab1fad950943697c98bc2df21bb4f

See more details on using hashes here.

Supported by

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