Plexop infrastructure shared code
Project description
Package with Plexop Python infrastructure Include * Logger decorator * Config decorator * Requests decorator * Some boto3 stuff decorators
Install from http://static.plexop.com/packages/python/plexop-infrastructure-latest.tar.gz
in order to upgrade dependencies: cd C:\Projects\python-lambda-infrastructure-layer pip install --upgrade -r requirements.txt --target=C:\Projects\python-lambda-infrastructure-layer\env\Lib\site-packages
Installation
- The layer can be used as pip-installable package and as a lambda layer.
- Packages are located in
s3://static-plexop/packages/python/plexop-infrastructure. Open a given version and copy it's URL.- It can be installed via e.g.
pip install http://static.plexop.com/packages/python/plexop-infrastructure-0.2.8.tar.gz - Latest version is always here: http://static.plexop.com/packages/python/plexop-infrastructure-latest.tar.gz
- It can be installed via e.g.
Deployment
Every commit on a feature branch triggers a QA pipeline that uploads the package to TestPyPI, updates Lambda, and syncs to S3.
Deploying to Production
- Checkout
masterbranch - git pull
- Follow semver: git commit -m 'fix: commit msg' --allow-empty increments PATCH version e.g. 1.0.0 -> 1.0.1 git commit -m 'feat: commit msg' --allow-empty e.g increments MINOR versiong e.g 1.1.1 -> 1.2.0 git commit -m 'feat!: testing' --allow-empty - increments MAJOR versiong e.g 1.1.1 -> 2.0.0
- git push
This triggers the python-lambda-infra-layer-create-tag pipeline, which generates a new Git tag.
After the tag is created, the python-lambda-infra-layer-deploy pipeline runs.
The final two stages — Publish to PyPI and Deploy to Prod environment — both require manual approval.
This approval step is useful for verifying that the PyPI publication completed successfully before proceeding with the production deployment.
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
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 plexop_infrastructure-1.1.2.tar.gz.
File metadata
- Download URL: plexop_infrastructure-1.1.2.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d266372fde60812f9b996b4389029bd36e0cdaea4cf9d0e7888869b324f8dd
|
|
| MD5 |
bf5cafbf43935b67336b43f00b0b2914
|
|
| BLAKE2b-256 |
4f95c9be035cd662eed5e3833bf4de8428471e35fba9809edf013aa420881e72
|
File details
Details for the file plexop_infrastructure-1.1.2-py3-none-any.whl.
File metadata
- Download URL: plexop_infrastructure-1.1.2-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f1539b0012a4d654b3b3215aa916aedafe27e777ac37fd623ac16802491ada1
|
|
| MD5 |
e102acb83346b432c044f298effbef9e
|
|
| BLAKE2b-256 |
6864f524f0c3026c37624d3a562a165484a2d6b448c0b1a621f61b4a42a52159
|