Skip to main content

Type-based dependency injection for scripts.

Project description

CircleCI Docs

Mush is a light weight dependency injection framework aimed at enabling the easy testing and re-use of chunks of code that make up scripts.

This is done by combining several callables into a re-usable runner. Those callables may produce or require resource objects which mush passes between them based on the type of the object. The callables are called in the order they are added to the runner, while labels may be used to insert callables at specific points in the runner.

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

mush-2.8.1.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

mush-2.8.1-py2.py3-none-any.whl (29.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mush-2.8.1.tar.gz.

File metadata

  • Download URL: mush-2.8.1.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.8.0 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for mush-2.8.1.tar.gz
Algorithm Hash digest
SHA256 0b006a58541d95e49075f5f60142c61a13e31580cc2667baf7fd4731591995ef
MD5 1cd65be1a0de03a1ab915135384e2d44
BLAKE2b-256 9fad5914f6adc1fe54d84d57758e0dbfc649a4c00f68b1ad91c432648e0f40d9

See more details on using hashes here.

File details

Details for the file mush-2.8.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mush-2.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.8.0 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for mush-2.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b0b413e45e2f1d50cad028810a847614a43e75142f2e2e5ed99b21e533d2af6
MD5 ef864f2cc50813d91da1f0ba81e3d9de
BLAKE2b-256 da2c518107d946f079a3739f60f4751cbedad33e0a8af8399e385023e6014b6a

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