This repository was archived by the owner on Apr 28, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork7
berislavlopac/plambdapi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project has not been maintained in years. If you need custom Python package index on AWS, the authors recommend usingCodeArtifact, which also supports the free tier. |
This project has not been maintained in years. If you need custom Python package index on AWS, the authors recommend usingCodeArtifact, which also supports the free tier.
PλPI (orPlambdaPI
, which is a play on PyPI) is a simple tool to create an AWS-hosted,PEP 503 compliant personal PyPI repository. It's using S3 bucket to host the repository, indexed using a Lambda function via an API Gateway.
- InstallTerraform .
- Make a ZIP file with the lambda code:
$ zip -r lambda.zip lambda.py
- Check terraform configuration:
$ terraform plan
- Execute terraform configuration:
$ terraform apply
- Upload your Python package file (egg, wheel and/or gzipped source) to the S3 bucket (creating directory if necessary)
- Install the package anywhere using
pip install --extra-index-url=[api gateway's URL] [package-name]
- Better documentation
- Options to set up authorization on the API Gateway
- Script to automatically build and upload a Python package