Runtime utility package for Functional Web Apps (FWAs) built with Architect
Check out the full docs for this library and Architect
Within your Architect project directory, add architect-functions
to its root requirements.txt
:
pip install architect-functions -r requirements.txt
You may also add
architect-functions
to individual Lambdarequirements.txt
files, but we suggest making use of Architect's automated Lambda treeshaking. See the Architect dependency management guide for more details.
import arc # Import all tools, or
import arc.events # @events pub/sub
import arc.http # @http tools + sessions
import arc.queues # @queues pub/sub
import arc.services # Architect resource / service discovery
import arc.tables # @tables DynamoDB helper methods + API client
import arc.ws # @ws WebSocket helper + API client
Install Pipenv
pipenv install --dev
pipenv run pytest