Stratosphere
A lightweight experimentation toolkit for data scientists.
Designed to be accessibile, fast and robust. stratosphere lets you:
- Define as code your experiments:
s.define(name="experiment", funcs=[step1, step2, step3]) - Execute them with the best-suited backend:
s.execute() - Track what you need (predictions, metrics, ...)
- Store them as plain tables and/or pickled objects
- Query them with
SQL,PandasorPython
How is it possible?
- Fast and light: Try it now with JupyterLite, it runs entirely in the browser
- Built on top of solid components: SQLAlchemy, SQLite, Pandas, Joblib and Dask
- Designed for data accessibility: Use it where you need it. For example, you can experiment in-memory, persist locally, replicate tables on render.com, and publish results on preset.io (all free tiers!)
Installation
On Python >= 3.8.0:
- With PyPI:
pip install "stratosphere[complete]" --upgrade# Install everything - With Poetry:
poetry add stratosphere@latest --extras complete# Install everything
On Python 3.7.13-15 (Google Colab, Binder):
!pip install joblib pandas tqdm cloudpickle colorama sqlalchemy sqlalchemy-utils ulid-py --upgrade --quiet
!pip install tabulate scikit-learn dask[complete] --upgrade --quiet # to install extras
!pip install stratosphere --ignore-requires-python --no-dependencies --quiet
You can also install only the stratosphere library (dropping the [complete] extras).
Modules like stratosphere.utils.dask, stratosphere.utils.metrics, and stratosphere.utils.widgets
won't work until you also install dask[complete], scikit-learn, and ipywidgets, respectively.
These extras are required to run some of the tutorial notebooks.
Documentation
- In the intro notebook, you'll be exposed to the key concepts. It runs entirely in the browser.
- In the tutorial notebooks, you'll cover the advanced topics. Working locally, on Colab and on Binder.
Project pages
License
This project is licensed under the terms of the BSD 3-Clause License.
Development
See the development page.
Contributing
Work in progress!
Metadata
Release files for stratosphere 0.1.68
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 |
|---|---|---|---|---|
| stratosphere-0.1.68.tar.gz | 26.8 kB | Without provenance | Details for stratosphere-0.1.68.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stratosphere-0.1.68-py3-none-any.whl | Python 3 | none | any | Details for stratosphere-0.1.68-py3-none-any.whl |
Total release size: 59.6 kB
Release files / stratosphere-0.1.68.tar.gz
| Download URL | stratosphere-0.1.68.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36b38d473f4909a9d22c4a51265581a41f0c2987a99eca00a3fada51b5ef5822
|
|
BLAKE2b-256 checksum How to use checksums |
0147ec22220add478898ca64c35eb5d8154187b42ba402c96c707ba9ea6715e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Darwin/21.6.0
|
Release files / stratosphere-0.1.68-py3-none-any.whl
| Download URL | stratosphere-0.1.68-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca2790ba53dfe8d001537837ae1ff2ea39a043b6046a65b19262c6f5b9ac3f91
|
|
BLAKE2b-256 checksum How to use checksums |
ff8564907b6ecce7df3a6cc5f4ab983511b5f19e3c3be4f365d52d8c889af503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Darwin/21.6.0
|
Security for stratosphere 0.1.68
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.