Skip to main content

A lightweight experimentation toolkit for data scientists.

Project description

Stratosphere

A lightweight experimentation toolkit for data scientists.

PyPI - Python Version PyPI - License PyPI - Version PyPI - Wheel PyPI - Installs Black - Code style Open in Colab Open in Binder

Designed to be accessibile, fast and robust. stratosphere lets you:

  1. Define programmatically your experiments
  2. Execute them in parallel with different backends
  3. Track their real-time metrics and final results
  4. Store them as serialized objects and tabular data in your database(s)
  5. Query them with the best-suited interface: SQL, Pandas and Python

How is it possible?

Stratosphere

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 with Google Colab or Binder, execute the following at the beginning of the notebook:

# Install dependencies
!pip install pandas joblib sqlalchemy sqlalchemy-utils ulid-py cloudpickle colorama tqdm --upgrade

# Install [complete] extras, required to run the tutorial
!pip install tabulate scikit-learn dask[complete] --upgrade

# Install the latest stratosphere version, ignoring the python version and dependencies
!pip install stratosphere --upgrade --ignore-requires-python --no-dependencies

# Resolve ContextualVersionConflict errors, due to broken dependencies
import importlib
import pkg_resources
importlib.reload(pkg_resources)

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!

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

stratosphere-0.1.58.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

stratosphere-0.1.58-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file stratosphere-0.1.58.tar.gz.

File metadata

  • Download URL: stratosphere-0.1.58.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Darwin/21.6.0

File hashes

Hashes for stratosphere-0.1.58.tar.gz
Algorithm Hash digest
SHA256 fc36b4fb63da8f62a0f3c6d40e03ee676bd8fd8241b0b1c890c8a94cb1486b28
MD5 953b238cb3c629bff0cdbf6bf2d0d19a
BLAKE2b-256 54e3e18748ed801c65c61cc7f9d85162acb54fd7900ff8ad2c2f148d098ca2ab

See more details on using hashes here.

File details

Details for the file stratosphere-0.1.58-py3-none-any.whl.

File metadata

  • Download URL: stratosphere-0.1.58-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Darwin/21.6.0

File hashes

Hashes for stratosphere-0.1.58-py3-none-any.whl
Algorithm Hash digest
SHA256 5779a3d2cc5372992c71a1ad1d7806ca4a876933408108f929524ac01bad2a61
MD5 75396d473ecfdea0503e80a42223ba50
BLAKE2b-256 0280847461a8eab08f0cf46f5bb25f99e41d52e3ed5eb5d56b0169ac49541c57

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