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 as code your experiments: s.define(name="experiment", funcs=[step1, step2, step3])
  2. Execute them with the best-suited backend: s.execute()
  3. Track what you need (predictions, metrics, ...)
  4. Store them as plain tables and/or pickled objects
  5. Query them with SQL, Pandas or Python

How is it possible?

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!

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.66.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

stratosphere-0.1.66-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stratosphere-0.1.66.tar.gz
  • Upload date:
  • Size: 25.9 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.66.tar.gz
Algorithm Hash digest
SHA256 f24549b4cae3b6c8c8fde1db80bb8d18bcefe2bdb3c3b993ec0d14158bcd1a8e
MD5 39af854204d01cc57743cf39f21472b6
BLAKE2b-256 3c3ec46ef11001ac88a7550dab906a1229d765287ec23d8f3c830b2c240ebeef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stratosphere-0.1.66-py3-none-any.whl
  • Upload date:
  • Size: 31.6 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.66-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad0fd12d8f19c1c9857aab71de99ad1000d700f7f83d3a19d6cd68baf9afc14
MD5 a4395617b41ccb78916c2ebcb06a234a
BLAKE2b-256 9b7225b1848ecdbe734ffb11024bdce9a554391400d2b44587f23fab6d12e30f

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