【文件属性】:
文件名称:elasticpypi:无服务器pypi
文件大小:27KB
文件格式:ZIP
更新时间:2021-01-29 17:36:13
python aws serverless pypi hacktoberfest
弹性pypi
在AWS上运行的功能齐全,自托管的简单pypi服务。
注意事项
使用浏览器浏览当前,浏览器受到以下限制:通过URL取消对远程URL的基本身份验证(例如x:y @ z)。 但是,如果您直接访问URL,浏览器将提示您输入用户名和密码,或为Chrome安装此并相应地设置凭据。
通过api上传的文件限制为6MB
由于Lambda会限制主体大小,因此通过API上传的文件不得超过6MB。
直接上传到S3存储桶受S3所做的任何限制。
overwrite配置设置仅检查并区分通过API上传的内容。
下载限制为10MB
这再次是AWS的局限性; 特别是API网关。
建立
编辑serverless.yml
组态
无服务器
service: elasticpypi
provider:
name: aws
runtime: python3.6
memorySize: 128
stage: dev
# profile: "some-local-aws-config-profile"
# region: us-east-1
environment:
【文件预览】:
elasticpypi-master
----.travis.yml(661B)
----test-requirements.txt(139B)
----renovate.json(186B)
----docs()
--------index.html(5KB)
----package.json(741B)
----pytest.ini(280B)
----readme.md(4KB)
----.github()
--------workflows()
----Dockerfile(260B)
----tests()
--------mock_dynamodb_table.py(3KB)
--------test_dynamodb.py(5KB)
--------fixtures.py(8KB)
--------test_auth.py(2KB)
--------test_simple_x.py(2KB)
--------__init__.py(0B)
--------test_simple.py(3KB)
----LICENSE(11KB)
----setup.cfg(84B)
----serverless.yml(8KB)
----requirements.txt(30B)
----.gitignore(134B)
----elasticpypi()
--------auth.py(4KB)
--------templates()
--------name.py(2KB)
--------dynamodb.py(2KB)
--------__init__.py(0B)
--------s3.py(196B)
--------config.py(349B)
--------api.py(973B)
--------handler.py(2KB)