Skip to main content

General-Purpose Python Template

This is a general-purpose template for python packages and applications.

It features:

  • A devcontainer-based fully-configured development environment for vscode
  • Tight linting and formatting using Ruff
  • Static type checking using mypy
  • Security scanning using bandit
  • A structure for automated tests using pytest
  • Dependency locking using pip-tools
  • Git hooks checking linting and formatting before committing using pre-commit
  • GitHub Actions for automating or checking all of the above

Here the intro to the template stops and the actual template for the readme of the microservice starts:


tests

My Custom App

My-Custom-App - a short description

Description

Here you should provide a short summary of the purpose of this microservice.

Development

For setting up the development environment, we rely on the devcontainer feature of VS Code in combination with Docker Compose.

To use it, you have to have Docker Compose as well as VS Code with its "Remote - Containers" extension (ms-vscode-remote.remote-containers) installed. Then open this repository in VS Code and run the command Remote-Containers: Reopen in Container from the VS Code "Command Palette".

This will give you a full-fledged, pre-configured development environment including:

  • infrastructural dependencies of the service (databases, etc.)
  • all relevant VS Code extensions pre-installed
  • pre-configured linting and auto-formatting
  • a pre-configured debugger
  • automatic license-header insertion

Moreover, inside the devcontainer, a convenience commands dev_install is available. It installs the service with all development dependencies, installs pre-commit.

The installation is performed automatically when you build the devcontainer. However, if you update dependencies in the ./pyproject.toml or the ./requirements-dev.txt, please run it again.

License

This repository is free to use and modify according to the Apache 2.0 License.

Metadata

Release files for apiprime 0.1.0

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

Source distribution (sdist)

Source distribution for apiprime 0.1.0
File Size Uploaded Provenance Actions
apiprime-0.1.0.tar.gz 7.3 kB Without provenance Details for apiprime-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 15.3 kB

Release files / apiprime-0.1.0.tar.gz

Download URL apiprime-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
424a1b89d6baff1d3a757ef9352ee38d3a378d4c29195e5ab6b43c21224ee802
BLAKE2b-256 checksum
How to use checksums
a9bac90ea767cb7d91a12cdca064feffee07675bb180d83d582aedf4022eace8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / apiprime-0.1.0-py3-none-any.whl

Download URL apiprime-0.1.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f7ce2fc61218671d8a4a98ab773265fe9a1e84bdb9c749d54288519ac743564
BLAKE2b-256 checksum
How to use checksums
fef077d3adac1d2c9e18038c6a4da65f4300de3b93f07ce0fb75e7a541d7ca87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for apiprime 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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