From 55ff24e180b7eae592eff5204ec35aa3e5af8848 Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Sun, 28 Nov 2021 19:55:27 +0100 Subject: [PATCH] small readme text --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 93dde5a..ccfcf2b 100644 --- a/README.md +++ b/README.md @@ -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 /dist/***.whl`.