{"repo":"khornberg/elasticpypi","free":true,"listed":false,"github":"https://github.com/khornberg/elasticpypi","clone":"git clone https://github.com/khornberg/elasticpypi.git","description":"Serverless pypi","language":"Python","stars":201,"topics":["python","pypi","aws","serverless","hacktoberfest"],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"elastic pypi ------------ A fully functional, self-hosted simple pypi service running on AWS. Caveats Browse with a browser Browsers are currently limited by the removal of basic authentication for remote URLs via the URL (e.g. x:y@z). However, if you visit the URL directly, the browser will prompt you to either enter a username and password, or install this plugin for Chrome and setup the credentials accordingly. Uploads through the api are limited to 6MB Uploads are limited to 6MB through the API because Lambda limits the body size. https://docs.aws.amazon.com/lambda/latest/dg/limits.html#limits-list Uploads directly to the S3 bucket are limited by whatever S3 does. Only uploads through the API are checked for and discriminated by the overwrite configuration setting. Downloads are limited to 10MB This again is a limitation of AWS; specifically API Gateway. https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html#api-gateway-limits Setup 1. Edit serverless.yml Configuration serverless.yml Users USERS may be a comma delimited string of username:password . If present it will be used instead of USERNAME and PASSWORD Deploy npm / yarn and pip are required to install the necessary packages to deploy. 1. yarn or npm install 1. sls deploy Note that when deploying do not have the virtualenv activated. The wsgi plugin for serverless will automatically fetch the python requirements. Using Based on the output of the deploy command or via the AWS console add the url to y","default_branch":null,"files":null,"tree":[],"storefront":"/r/khornberg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/khornberg/elasticpypi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}