An asynchronous, fully-typed AWS API library with a focus on being understandable, reliable, and maintainable.
Project description
awsync
An asynchronous, fully-typed AWS API library with a focus on being understandable, reliable, and maintainable.
Getting Started
📖 Read the documentation!
NOTE: Currently a work in progress! Only a few API methods currently implemented for testing and development.
Usage
"Module main."
from asyncio import run
from httpx import AsyncClient
from awsync.client import Client
from awsync.models.aws import Region, Credentials
async def main() -> int:
"Main function."
async with AsyncClient() as httpx_client:
client = Client(
credentials=Credentials.from_environment(),
httpx_client=httpx_client,
)
response = await client.list_stack_resources(
region=Region.us_east_1, stack_name="Example-Stack-Name"
)
print(response)
return 0
if __name__ == "__main__":
run(main())
Local Developer Setup
Requirements:
Install mise then run mise run init to setup python, poetry, and install dependencies.
Repository Mangement
This repository uses mise for tool and task management.
List all available commands with mise tasks.
Run all pull request checks locally with mise run pr
Package Management
This repository uses poetry for python package management.
poetry install --syncinstall/update dependencies.poetry addadd a dependency ie.poetry add black.poetry add -Dadd a development dependency ie.poetry add -D black.poetry removeremove a dependency ie.poetry remove black.poetry shellactivate the python virtual environment for access to installed packages.exitexit the python virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awsync-0.4.5.tar.gz.
File metadata
- Download URL: awsync-0.4.5.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93b4d197f417f0760692ba4ce831da0a96e283c021d3c83ebbeadbd48c551161
|
|
| MD5 |
e215ce5a715a73802bde64b25ecd3de2
|
|
| BLAKE2b-256 |
035dc697d161eca7a53ea0c707a8cbda14df6c74bfad1876a0faef0c5b8f516d
|
File details
Details for the file awsync-0.4.5-py3-none-any.whl.
File metadata
- Download URL: awsync-0.4.5-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7eb80edf3993c842dde78ca4593bac4c7f2daedb7f8a8a8f5f2620b03868e701
|
|
| MD5 |
b216e7d8011bcad80cb88af9c37ab4ad
|
|
| BLAKE2b-256 |
768b31aec5abfe1a449829a3c53e4ae84230c62a82d5f4f0cdf22891dd19d796
|