Skip to main content

langnativ

Project description

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.

Project details


Download files

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

Source Distribution

langnativ-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

langnativ-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file langnativ-0.1.0.tar.gz.

File metadata

  • Download URL: langnativ-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for langnativ-0.1.0.tar.gz
Algorithm Hash digest
SHA256 408e62e36bd14129a0d61ac9e47fbdcf1a6270603c8b984574c3f5975d5084b4
MD5 d5d2e3dbab6895673ec8b167dfd02f61
BLAKE2b-256 84606cc97c0e895e2a6052baf05a28d6abbbbcfa150c2643d8377014087ef7dc

See more details on using hashes here.

File details

Details for the file langnativ-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: langnativ-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for langnativ-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4e10c8a31bc9d2596ad656999fd88fad89a7d147bc35e74bdf7bd1085fb2b3
MD5 4c4278f7124a0313954575f4bcd31de7
BLAKE2b-256 747d02a6dad7023b87f9728cb88aa782c0338d2abe0ab3e5188525742225089f

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