Skip to main content

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...)

Release files for contaxy 0.0.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contaxy 0.0.23
File Size Uploaded
contaxy-0.0.23.tar.gz 123.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contaxy 0.0.23
File Interpreter ABI Platform
contaxy-0.0.23-py3-none-any.whl Python 3 none any Details

Total release size: 283.2 kB

Release files / contaxy-0.0.23.tar.gz

Download URL contaxy-0.0.23.tar.gz
Size 123.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eaf6d4006a9847645bef5244538235f9acf05cd160e9e0abaef50f7f7bdd1724
BLAKE2b-256 checksum
How to use checksums
8f7f9996bbdaac22e93121a4659dd89054efe8606b3034155589d0afc6062b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / contaxy-0.0.23-py3-none-any.whl

Download URL contaxy-0.0.23-py3-none-any.whl
Size 159.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
829dbe50c710139c1c49ea0c89851940d219362de9d46e12359adc160602fe95
BLAKE2b-256 checksum
How to use checksums
c123a83b54ef5b3578c301dce39f4b2ca41b78d1c3eaf22e44d9ebf7926fbb8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.23 This release

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page