small readme text

This commit is contained in:
Daniil Fajnberg 2021-11-28 19:55:27 +01:00
parent 8faa0f275d
commit 55ff24e180

View File

@ -1,3 +1,15 @@
# Miscellaneous web utilities
...
Stuff I frequently use in various unrelated projects that deal with web requests.
## Decorators
### in_async_session
Handles starting and closing of a temporary `aiohttp.ClientSession` instance around any async function that makes use of such an object to perform requests.
## Building
Clone this repo, install `build` via pip, then run `python -m build` from the repository's root directory. This should produce a `dist/` subdirectory with a wheel (build) and archive (source) distribution.
The resulting `whl`-file can be installed in the environment of choice via `pip install <path>/dist/***.whl`.