Skip to main content
Architect Logo

architect-functions

Runtime utility package for Functional Web Apps (FWAs) built with Architect

GitHub CI status

Check out the full docs for this library and Architect

Install

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 Lambda requirements.txt files, but we suggest making use of Architect's automated Lambda treeshaking. See the Architect dependency management guide for more details.

Usage

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

API

@events methods

@http methods

@queues methods

Service discovery

@tables methods

@ws methods


Development

Install Pipenv

pipenv install --dev

Testing

pipenv run pytest

Metadata

Release files for architect-functions 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for architect-functions 1.0.0
File Size Uploaded
architect-functions-1.0.0.tar.gz 18.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for architect-functions 1.0.0
File Interpreter ABI Platform
architect_functions-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / architect-functions-1.0.0.tar.gz

Download URL architect-functions-1.0.0.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45b5e8959cea4312edd3a04cc16b843ca75390937d2e1e7725387d84f0b7493f
BLAKE2b-256 checksum
How to use checksums
f4cfad9564f67d357a5976e5a388642ffdfff3520f9769a515d1b02497e156c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / architect_functions-1.0.0-py3-none-any.whl

Download URL architect_functions-1.0.0-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d58e10ee7a90a6d340050e11f77d7de8737a451d9f861357ab39100f08ba00c
BLAKE2b-256 checksum
How to use checksums
c816d5574aad9b7150c91171cbd059fed06a5ca364972bdbefc22910eb6fe672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.0

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page