Consolidate libraries and utilities to create microservices in Python with FastAPI, Beanie, Taskiq, 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
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
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
chmod +x skaffold
sudo mv skaffold /usr/local/bin
Buildpacks
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_factory_utilities-0.12.0.tar.gz.
File metadata
- Download URL: fastapi_factory_utilities-0.12.0.tar.gz
- Upload date:
- Size: 55.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac0d8a2d985d7d5f9a06fc793b51799b4b74737aa83feeda7bf467a6658b8a47
|
|
| MD5 |
7f096b6de8b73fc942a00e68fa233ad0
|
|
| BLAKE2b-256 |
769f441a2b46853af12c310b7a42403ed3c712a4c78b124562b9a201138e77ef
|
Provenance
The following attestation bundles were made for fastapi_factory_utilities-0.12.0.tar.gz:
Publisher:
ci.yml on DeerHide/fastapi_factory_utilities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastapi_factory_utilities-0.12.0.tar.gz -
Subject digest:
ac0d8a2d985d7d5f9a06fc793b51799b4b74737aa83feeda7bf467a6658b8a47 - Sigstore transparency entry: 779582660
- Sigstore integration time:
-
Permalink:
DeerHide/fastapi_factory_utilities@256dbd34f0986d30c344f4bb02ee9930a8cc8357 -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/DeerHide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
ci.yml@256dbd34f0986d30c344f4bb02ee9930a8cc8357 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fastapi_factory_utilities-0.12.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_factory_utilities-0.12.0-py3-none-any.whl
- Upload date:
- Size: 100.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48e43815cfc7c4f491122315b39ab12d645e1c91e8ee3827ac068716d5b418fe
|
|
| MD5 |
da4f14dcdfbd5f295ef2e9366dd4abf1
|
|
| BLAKE2b-256 |
3f129dfa1d0f440a740329a0ef4d6ef3afce7b017e1b5a9ac25f6f73acca8ff0
|
Provenance
The following attestation bundles were made for fastapi_factory_utilities-0.12.0-py3-none-any.whl:
Publisher:
ci.yml on DeerHide/fastapi_factory_utilities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastapi_factory_utilities-0.12.0-py3-none-any.whl -
Subject digest:
48e43815cfc7c4f491122315b39ab12d645e1c91e8ee3827ac068716d5b418fe - Sigstore transparency entry: 779582666
- Sigstore integration time:
-
Permalink:
DeerHide/fastapi_factory_utilities@256dbd34f0986d30c344f4bb02ee9930a8cc8357 -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/DeerHide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
ci.yml@256dbd34f0986d30c344f4bb02ee9930a8cc8357 -
Trigger Event:
push
-
Statement type: