Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A Command extension to setuptools that allows building an AWS Lamba dist and uploading to S3
Simply add setup_requires=['lambda_setuptools']
as an attribute to your setup.py file
This extension adds two new commands to setuptools:
ldist --exclude-lambda-packages=<True | true | Yes | yes | False | false | No | no> --include-version=<True | true | Yes | yes | False | false | No | no> --build-layer=<True | true | Yes | yes | False | false | No | no> --layer-dir=<my_layer_dir>
lupload --access-key=<my_access_key> --secret-access-key=<my_secret> --s3-bucket=<my_S3_bucket> --kms-key-id=<my_KMS_key> --s3-prefix=<my_S3_key_prefix> --endpoint-url=<my_endpoint_url>
os.environ
.lupdate --function-names=<my_function1>,<my_function2>,<my_function3> --lambda-names=<my_name1>,<my_name2>,<my_name3> --layer-runtimes=python2.7,python3.6,python3.7 --region=<my_aws_region>
us-east-1
will be used.This extension also adds three new attributes to the setup() function:
lambda_function=<my_package>.<some_module>:<some_function>
lambda_module=<some_module>
lambda_package=<some_dir>
All ldist attributes can be used in the same setup() call. It is up to the user to ensure that you don't step all over yourself...
Note that all other commands and attributes in setup.py will still work the way you expect them to.
Enjoy!
FAQs
A Command extension to setuptools that allows building an AWS Lamba dist and uploading to S3
We found that lambda-setuptools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.