You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,14 @@ python-λ
12
12
13
13
Python-lambda is a toolset for developing and deploying *serverless* Python code in AWS Lambda.
14
14
15
+
NOTE: CHANGES FROM BASE REPOSITORY
16
+
==================================
17
+
18
+
* Adding Python 3.6 support for the local environment & the lambda runtime
19
+
* Supports "secret" environment variable values by reading them from the local environment during deploy instead of using hard-coded ones in the config file.
20
+
* You can install this version via pip with ``pip install --editable git+https://github.com/asaolabs/python-lambda#egg=python-lambda``
21
+
22
+
15
23
A call for contributors
16
24
=======================
17
25
With python-lambda and `pytube <https://github.com/nficano/pytube/>`_ both continuing to gain momentum, I'm calling for contributors to help build out new features, review pull requests, fix bugs, and maintain overall code quality. If you're interested, please email me at nficano[at]gmail.com.
@@ -28,7 +36,7 @@ The *Python-Lambda* library takes away the guess work of developing your Python-
28
36
Requirements
29
37
============
30
38
31
-
* Python 2.7 (At the time of writing this, AWS Lambda only supports Python 2.7).
39
+
* Python 2.7 & 3.6 (At the time of writing this, AWS Lambda only supports Python 2.7/3.6).
32
40
* Pip (~8.1.1)
33
41
* Virtualenv (~15.0.0)
34
42
* Virtualenvwrapper (~4.7.1)
@@ -161,6 +169,13 @@ Lambda functions support environment variables. In order to set environment vari
161
169
env1: foo
162
170
env2: baz
163
171
172
+
You can also keep "secrets" out of your config file by using the following syntax ``${}`` to read the values from your current/local environment.
173
+
174
+
.. code:: yaml
175
+
176
+
environment_variables:
177
+
env3: ${LOCAL_ENVIRONMENT_VARIABLE_NAME}
178
+
164
179
This would create environment variables in the lambda instance upon deploy. If your functions don't need environment variables, simply leave this section out of your config.
0 commit comments