Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Dysco provides configurable dynamic scoping behavior in Python.

Project description



To install the dependencies locally, you need poetry to be installed. You can then run

# This is optional, but highly recommended.
# It tells poetry to place the virtual environment in `.venv`.
poetry config true

# Install all of the dependencies.
poetry install

to install the project dependencies.

The library is tested against Python versions 3.7 and 3.8. These are most easily installed using pyenv with the following command.

# Install the supported Python versions.
pyenv install --skip-existing 3.7.5
pyenv install --skip-existing 3.8.0

Testing, linting, and document generation can then be run via tox. The bare tox command will run everything in all environments, or you can break it down by Python version and task. For example, you could run the individual Python 3.8 tasks manually by running the following.

# Install the project dependencies in `.tox/py38/`.
tox -e py38-init

# Run black, flake8, isort, and mypy.
tox -e py38-lint

# Run the tests and generate a coverage report.
tox -e py38-test --coverage

## Build the project documentation.
tox -e py38-docs


You first need to configure your credentials with poetry.

poetry config http-basic.pypi intoli <pypi-password>

You can then use invoke to bump the version number, commit the changes, tag the version, and deploy to pypi.

# Bumps the patch version and deploys the package.
# Valid options are major, minor, and patch.
invoke bump patch

Project details

Download files

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

Files for dysco, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size dysco-0.0.5-py3-none-any.whl (6.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dysco-0.0.5.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page