Skip to main content

Consolidate libraries and utilities to create microservices in Python with FastAPI, Beanie, Httpx, AioPika and OpenTelemetry.

Project description

fastapi_factory_utilities

Project Empty for Python with Poetry

Setup

Dev Tools

Python

https://www.python.org/downloads/

sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12 -y

Poetry

https://python-poetry.org/

curl -sSL https://install.python-poetry.org | python3.12 -

Pre-commit

Included in the project while in virtual environment https://pre-commit.com/

Docker

https://docs.docker.com/get-docker/

Skaffold

https://skaffold.dev

curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
chmod +x skaffold
sudo mv skaffold /usr/local/bin

Buildpacks

https://buildpacks.io/

sudo add-apt-repository ppa:cncf-buildpacks/pack-cli
sudo apt-get update
sudo apt-get install pack-cli

Paketo

Included with the usage of buildpacks https://paketo.io/

Portman

npm install -g @apideck/portman

MongoDB

https://docs.mongodb.com/manual/installation/

sudo apt install -y mongodb

1- Dev Environment

# Initialize python virtual environment and install dependencies
./scripts/setup_dev_env.sh

pre-commit run --all-files

2- Build and Run Application on Docker

./scripts/dev-in-container.sh
./scripts/test_portman.sh

Project details


Release history Release notifications | RSS feed

This version

0.2.2

Download files

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

Source Distribution

fastapi_factory_utilities-0.2.2.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

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

fastapi_factory_utilities-0.2.2-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_factory_utilities-0.2.2.tar.gz.

File metadata

File hashes

Hashes for fastapi_factory_utilities-0.2.2.tar.gz
Algorithm Hash digest
SHA256 21273b847c8509cbce72f1f8a8b15ddc306e481d53d05df925eac0dd92e4b734
MD5 f299d350ab12f70439f92add831ff376
BLAKE2b-256 02ccb9c95e63ba95ccfdfc6216bae8e9691dd5adbb83efad1e1018c502feaaa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_factory_utilities-0.2.2.tar.gz:

Publisher: release.yml on miragecentury/fastapi_factory_utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastapi_factory_utilities-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_factory_utilities-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c0d601c7c68c345bd957647627fbf87cf2489527eb4efba16b1fa55eb2c73f1
MD5 a343f0fb27cce3ec21a401d740781915
BLAKE2b-256 3ffcf20766b17d81bee8f0975b8df7003a6a74a22ad6805c30569612e9c3e8e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastapi_factory_utilities-0.2.2-py3-none-any.whl:

Publisher: release.yml on miragecentury/fastapi_factory_utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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