Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

berislavlopac/plambdapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PλPI

⚠️ WARNING
This project has not been maintained in years.
If you need custom Python package index on AWS, the authors recommend using CodeArtifact, 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 using CodeArtifact, which also supports the free tier.

PλPI (or PlambdaPI, 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.

Usage

  1. Install Terraform .
  2. Make a ZIP file with the lambda code: $ zip -r lambda.zip lambda.py
  3. Check terraform configuration: $ terraform plan
  4. Execute terraform configuration: $ terraform apply
  5. Upload your Python package file (egg, wheel and/or gzipped source) to the S3 bucket (creating directory if necessary)
  6. Install the package anywhere using pip install --extra-index-url=[api gateway's URL] [package-name]

Upcoming

  • Better documentation
  • Options to set up authorization on the API Gateway
  • Script to automatically build and upload a Python package

Releases

No releases published

Packages

No packages published