Skip to main content

Constructor injection for Python

Project description

diapyr

Constructor injection for Python

Install

These are generic installation instructions.

To use, permanently

The quickest way to get started is to install the current release from PyPI:

pip3 install --user diapyr

To use, temporarily

If you prefer to keep .local clean, install to a virtualenv:

python3 -m venv venvname
venvname/bin/pip install diapyr
. venvname/bin/activate

To develop

First clone the repo using HTTP or SSH:

git clone https://github.com/combatopera/diapyr.git
git clone git@github.com:combatopera/diapyr.git

Now use pyven's pipify to create a setup.py, which pip can then use to install the project editably:

python3 -m venv pyvenvenv
pyvenvenv/bin/pip install pyven
pyvenvenv/bin/pipify diapyr

python3 -m venv venvname
venvname/bin/pip install -e diapyr
. venvname/bin/activate

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

diapyr-24.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

diapyr-24-py2.py3-none-any.whl (22.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file diapyr-24.tar.gz.

File metadata

  • Download URL: diapyr-24.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for diapyr-24.tar.gz
Algorithm Hash digest
SHA256 90b4d2c7edf59bd367e18b021f5e810da212f7050443fb83d993995b7b82378d
MD5 1f224751c88ee49df471ec1c9e5e845c
BLAKE2b-256 d5065dac865546894f3a69ee6b94fa8ef87d979d0cdb968d33f5c3c6d313522a

See more details on using hashes here.

File details

Details for the file diapyr-24-py2.py3-none-any.whl.

File metadata

  • Download URL: diapyr-24-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for diapyr-24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6557127340caccae67fadabb5589bee596812cdfaab58350507106329a710c31
MD5 8151a7e5dc0dd5b3305cd2c386878f2c
BLAKE2b-256 2a3daed06d4faef01c1f1d632af8d2aeb1e6fdd8a4b61535f82bdf2753e1d518

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