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.2.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.2.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plexop_infrastructure-1.2.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.12

File hashes

Hashes for plexop_infrastructure-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0c6b29611b43d1d12293eb08e5b6dee8a66f23c018d3c7283b54def1373ab47b
MD5 b87a148e3962de886fd340a0761be44f
BLAKE2b-256 a889d7a5d6aa58d9e89af9d52db965dd9dfdea55eb941c0c702536a80097f891

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plexop_infrastructure-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80a6651fa70cb4629e016cab8edc481d5de0be9d160ca4b4c28fbd73484ea2d3
MD5 fb7e04f092bccee4a379973ad996e5e0
BLAKE2b-256 4b089aa1ae3a1ab92db12d6865ddf1d9dcad31910c377fe8da13ca1174f38788

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