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

Uploaded Source

Built Distribution

diapyr-23-py2.py3-none-any.whl (22.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: diapyr-23.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for diapyr-23.tar.gz
Algorithm Hash digest
SHA256 da0f307fa9ca3873a24c6b623f63ea4fb61e1af356775cbf9777407722428b58
MD5 7d494bdcd11cb937278eb44a6e7e1958
BLAKE2b-256 54cbcb1472de5c8ac4fb38259d9a01c6f49ff88b523ae8e6e1e4315bdfda58d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diapyr-23-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for diapyr-23-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e52c59b1afd2328428e89a8c5bf648d9e8bf51b160a9b52c81c3a4fa28252518
MD5 b57d003be4b7299ec3f3fce870d5ca07
BLAKE2b-256 522ffc91bd4b7da800f5d894be833fbd97e22e5cda894e424c6876404dc0ec4e

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