CoWorks is a unified serverless microservices framework based on AWS technologies (API Gateway, AWS Lambda), the Flask framework (Flask/Click) and the Airflow platform.
The aim of this project is to offer a very simplified experience of microservices. For such purpose, we divided the CoWorks framework in two levels:
Small technical microservice
TechMicroservice are each composed of simple python Flask application and deployed as a serverless Lambda. Each TechMicroService is an atomic component or atomic microservice. These microservices may be called synchronously or asynchronously.
Functional business service
biz are composite business services, which are Airflow DAGs providing orchestration of atomic microservices or components (aka: TechMicroService).
To get started with CoWorks, first follow the Installation Guide. Then you can get a quickstart on TechMicroService Quickstart. Once familiar with TechMicroService, you can continue with BizMicroService Quickstart.
Data model
The data model shared between those services may be structured with pydantic and using the JSON:API specification. You can install this data protocol for CoWorks with: pip install coworks[jsonapi-sqlalchemy].
Documentation
Setup and installation: Installation
Complete reference guide: Documentation.
- Samples:
layers : Get available CoWorks lambda layers: CoWorks layers.
website : Very simple website done as a simple microservice: Website.
Read FAQ for other information.
Contributing
We work hard to provide a high-quality and useful framework, and we greatly value feedback and contributions from our community. Whether it’s a new feature, correction, or additional documentation, we welcome your pull requests. Please submit any issues or pull requests through GitHub.
Metadata
Release files for coworks 0.9.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coworks-0.9.4.tar.gz | 72.1 kB | Without provenance | Details for coworks-0.9.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coworks-0.9.4-py3-none-any.whl | Python 3 | none | any | Details for coworks-0.9.4-py3-none-any.whl |
Total release size: 146.1 kB
Release files / coworks-0.9.4.tar.gz
| Download URL | coworks-0.9.4.tar.gz |
|---|---|
| Size | 72.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec33b9a4431fd62c47c7bdc13deb46f8ca7d01715581f6be080324c6eaeb58fc
|
|
BLAKE2b-256 checksum How to use checksums |
be7d1ed2eef1b288097bcc746083af3f70821fe01f028baf6f9de3896a5c7472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.14.0 CPython/3.10.12 Linux/6.5.0-1017-azure
|
Release files / coworks-0.9.4-py3-none-any.whl
| Download URL | coworks-0.9.4-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dd6ae96d71ae376eddc4f49c5c1be3e6119da3bfef5b261a85cf38aaefba8de
|
|
BLAKE2b-256 checksum How to use checksums |
f31a9693969dc7e18a8e26f2148b4053a8326aa4a284bc9f0b879494cbb4d269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.14.0 CPython/3.10.12 Linux/6.5.0-1017-azure
|
Security for coworks 0.9.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.