justinsantoro / lambdev Goto Github PK
View Code? Open in Web Editor NEWSimplify deploying, testing, and versioning AWS lambda functions
License: MIT License
Simplify deploying, testing, and versioning AWS lambda functions
License: MIT License
Currently lambdev only works in Python2.7 due to cStringIO
not being available in python3.
Relevant code: core.py
def zipit():
buf = cStringIO.StringIO()
with zipfile.ZipFile(buf, 'w') as ziph:
for f in files:
ziph.write(f, basename(f))
buf.seek(0)
return buf.read()
A feature to avoid uploading to AWS each time to test.
Amazon is working on allowing the testing of lambda functions locally with SAM CLI
which depends on docker-lambda
.
SAM CLI is in beta and is poorly documented, may be best to write own wrapper around docker-lambda
.
containerized testing of file parsing and zipping and python version compatability
lambdevignore.txt
filefunction_name.txt
fileThis could be done in a similar manner to Dockter
(ie If python project, use pip to install packages in requirements.txt)
There is a problem with acquiring the root directory of the project file. After the directory is zipped, the working directory is within the last directory that was parsed through for zipping and the root of the project is lost.
Maybe just store the root at import if it does not already exist in a file on first run.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.