Skip to main content

Python package template.

Project description

Python Library Template

WIP: Document python library.

Requirements

  • Python 3.6+

Installation

Install via pip:

pip install --upgrade -e path/to/lib

Usage

After installation, the package can be imported:

import template_package

Development

This library uses black for auto-formatting, isort for import sorting, flake8 for linting, mypy for type checking, and pydocstyle for docstring style checks. All code is written compatible with Python 3.6+, with type hints wherever possible.

Testing

  • DeploymentManager:
    • By default, just the DockerDeploymentManager is executed. To execute also the Kubernetes-related tests, a Kubernetes cluster has to be available from where the code is executed. On your local Mac, you can simply start one by executing kind create cluster. Then execute the tests by setting the environment variable KUBE_AVAILABLE=true (in VS Code, you can for example set the env variable in the launch.json or append it in front of the pytest command, e.g. KUBE_AVAILABLE=true pytest...)

Download files

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

Source Distribution

contaxy-0.0.2.tar.gz (105.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contaxy-0.0.2-py3-none-any.whl (135.9 kB view details)

Uploaded Python 3

File details

Details for the file contaxy-0.0.2.tar.gz.

File metadata

  • Download URL: contaxy-0.0.2.tar.gz
  • Upload date:
  • Size: 105.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for contaxy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b69145e9c7bc5875cd01c5d9b64316f29ed8e3c09beb5c9a161dc7b919943e60
MD5 c22db3c8bed2c88d67f9af766818c9e9
BLAKE2b-256 9abb6fc9d4d5331add6da64ee7e03231ec207bd1c9f7a0cfbafec5b516dffe94

See more details on using hashes here.

File details

Details for the file contaxy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: contaxy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 135.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for contaxy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c92b9512a6ead18b5db304521f8dcf42653e63cec0e2be1077559cdb4f4caf7f
MD5 a3ef7c1979faa3840a4abf10a5e38a14
BLAKE2b-256 45d72e69bb468c33c298fa4ab67d525cc763801c871766197916f50c8ca97774

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page