Skip to main content

Runtime utility library for Functional Web Apps (FWAs) built with Architect (https://arc.codes)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

architect-functions-1.0.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

architect_functions-1.0.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file architect-functions-1.0.0.tar.gz.

File metadata

  • Download URL: architect-functions-1.0.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for architect-functions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 45b5e8959cea4312edd3a04cc16b843ca75390937d2e1e7725387d84f0b7493f
MD5 ac63299e444a3ed013ee03dad8de00d8
BLAKE2b-256 f4cfad9564f67d357a5976e5a388642ffdfff3520f9769a515d1b02497e156c9

See more details on using hashes here.

File details

Details for the file architect_functions-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for architect_functions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d58e10ee7a90a6d340050e11f77d7de8737a451d9f861357ab39100f08ba00c
MD5 6439d53d1eb3032b0e02d0b20239dddd
BLAKE2b-256 c816d5574aad9b7150c91171cbd059fed06a5ca364972bdbefc22910eb6fe672

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page