Skip to main content

A Toolkit for Building Microservices using the Hexagonal Architecture

Project description

tests PyPI version shields.io PyPI pyversions Coverage Status

hexkit

A Toolkit for Building Microservices using the Hexagonal Architecture.

Installation

This package is available at PyPI: https://pypi.org/project/hexkit

You can install it from there using:

pip install hexkit

Thereby, you may specify following extra(s):

  • api: dependencies needed to use the API server functionalities
  • dev: dependencies needed for development and testing

Development

For setting up the development environment, we rely on the devcontainer feature of vscode.

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

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

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

Moreover, inside the devcontainer, there is follwing convenience command available (please type it in the integrated terminal of vscode):

  • dev_install - install the lib with all development dependencies and pre-commit hooks (please run that if you are starting the devcontainer for the first time or if added any python dependencies to the ./setup.cfg)

If you prefer not to use vscode, you could get a similar setup (without the editor specific features) by running the following commands:

# Execute in the repo's root dir:
cd ./.devcontainer

# build and run the environment with docker-compose
docker build -t hexkit .
docker run -it hexkit /bin/bash

License

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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

hexkit-0.7.2.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

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

hexkit-0.7.2-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file hexkit-0.7.2.tar.gz.

File metadata

  • Download URL: hexkit-0.7.2.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for hexkit-0.7.2.tar.gz
Algorithm Hash digest
SHA256 c60f6031e8e9d23f7dd5ea07c0c0fbb00335bc69690e46a12e3f57528bdbf7d5
MD5 c24a6efad5bf25572debc91c42d273c6
BLAKE2b-256 f42665c32f98de3c9b00a2b958d128293584f8bbaf0492b650f50ddae4f06658

See more details on using hashes here.

File details

Details for the file hexkit-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: hexkit-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 89.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for hexkit-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bbd7948f7666fcafe2363d9a4a2244867da7998d7d11af0abf7e92652d880335
MD5 384de9f822c1c44c7ae972b016f5183d
BLAKE2b-256 fe8038cb8c4c1c5ec1f03877f893e0ed673fe943e3986704b0f767e7f1b50d9a

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