Skip to main content

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.

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

  1. Checkout master branch
  2. git pull
  3. 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
  4. 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

plexop_infrastructure-1.3.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

plexop_infrastructure-1.3.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file plexop_infrastructure-1.3.0.tar.gz.

File metadata

  • Download URL: plexop_infrastructure-1.3.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for plexop_infrastructure-1.3.0.tar.gz
Algorithm Hash digest
SHA256 cde243a41e5ba84dee0923fb0bb9b9a1871231e2666819d2464d0398a04b4ce3
MD5 3f35fcabe730fc87b9d1a3769e138341
BLAKE2b-256 fb29cc7bcc274993744d0d42d5beaea207dec2a8fe0bcfc93a686f8ba34a1f08

See more details on using hashes here.

File details

Details for the file plexop_infrastructure-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plexop_infrastructure-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cb4c075bf68a3840c544b1c69258693dddf882a33dea7a0b2c6ff23246780e5
MD5 e17fcde816e8c99657b16514da55ec08
BLAKE2b-256 1fbffe61c6abfe2f5e2ab9e21d0f72835f55c039d3c76a0e1a5c5be06363d5a6

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