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.8.tar.gz (118.3 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.8-py3-none-any.whl (153.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contaxy-0.0.8.tar.gz
  • Upload date:
  • Size: 118.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for contaxy-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6c6fb0dd8551d8367c94cc789f1591b7982efa80b9c0ae142c82c3b89549ccda
MD5 902f375740638d6258aa99141b7629a6
BLAKE2b-256 61b0e204c241d876c591176b30668555f3cf27fc7a5ce5e49ffc82d395d86b3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contaxy-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 153.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for contaxy-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 05f9e8d57de7211f2831e1eb4d6fb4ef8eb6019dacb834a6befb17525760e606
MD5 a106aee89bf381ca73eefb65fe83c50c
BLAKE2b-256 629316263749e22ad578e7d01e2d09d27667f7b514428c4cb76e6e51b3b40ecb

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