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

Uploaded Source

Built Distribution

diapyr-25-py2.py3-none-any.whl (22.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: diapyr-25.tar.gz
  • Upload date:
  • Size: 19.3 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-25.tar.gz
Algorithm Hash digest
SHA256 e152bdefb495005f8afd168fa1cc83e55a65d2e9bd8c69a8a68e2acc154fac04
MD5 14890ad9d8df42410157ecd81b5879ed
BLAKE2b-256 9ec6b3acb180758c96b4f02ffa133c5aa59ac10788631467d9ffa3874cb66354

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diapyr-25-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.7 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-25-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 638b0f79ff092e857f870a2bc5199a9d144ea7670dab938d1df053fec549aade
MD5 4b60d41b87d5a3809f9d47f7b263cc20
BLAKE2b-256 c3b9f52d91b11d8b1afe9ff525013055ad4827981da1d3c6ba2ad7f09184b7fe

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