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

Uploaded Source

Built Distribution

contaxy-0.0.23-py3-none-any.whl (159.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contaxy-0.0.23.tar.gz
  • Upload date:
  • Size: 123.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for contaxy-0.0.23.tar.gz
Algorithm Hash digest
SHA256 eaf6d4006a9847645bef5244538235f9acf05cd160e9e0abaef50f7f7bdd1724
MD5 0718260ecc91ebbbfe4a70ffb3acdaaa
BLAKE2b-256 8f7f9996bbdaac22e93121a4659dd89054efe8606b3034155589d0afc6062b8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contaxy-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 159.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for contaxy-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 829dbe50c710139c1c49ea0c89851940d219362de9d46e12359adc160602fe95
MD5 4263075b67a8416f26cf1e4a92fc13a3
BLAKE2b-256 c123a83b54ef5b3578c301dce39f4b2ca41b78d1c3eaf22e44d9ebf7926fbb8f

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