commit 3d5d9bd8be06d299ac97625167d66168b1690d88 Author: daniil Date: Thu Feb 3 20:06:30 2022 +0100 Initial commit diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..11a7f12 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,12 @@ +[run] +source = src/ +branch = true +omit = + .venv/* + +[report] +fail_under = 100 +show_missing = True +skip_covered = False +omit = + tests/* diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22ce824 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Python virtual environment: +/.venv/ +# IDE settings: +/.idea/ +/.vscode/ +# Distribution / packaging: +*.egg-info/ +/dist/ +# Python cache: +__pycache__/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..28944cb --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# asyncio-taskpool + +Dynamically manage pools of asyncio tasks + +## Usage + +... + +## Installation + +`pip install asyncio-taskpool` + +## Dependencies + +Python Version ..., OS ... + +## Building from source + +Run `python -m build` diff --git a/coverage.sh b/coverage.sh new file mode 100755 index 0000000..786075e --- /dev/null +++ b/coverage.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +coverage erase && coverage run -m unittest discover && coverage report diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b5a3c46 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/requirements/common.txt b/requirements/common.txt new file mode 100644 index 0000000..e69de29 diff --git a/requirements/dev.txt b/requirements/dev.txt new file mode 100644 index 0000000..f34043b --- /dev/null +++ b/requirements/dev.txt @@ -0,0 +1,2 @@ +-r common.txt +coverage diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3ddb293 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +[metadata] +name = asyncio-taskpool +version = 0.0.1 +author = Daniil +author_email = mail@placeholder123.to +description = Dynamically manage pools of asyncio tasks +long_description = file: README.md +long_description_content_type = text/markdown +url = https://git.fajnberg.de/daniil/asyncio-taskpool +project_urls = + Bug Tracker = https://git.fajnberg.de/daniil/asyncio-taskpool/issues +classifiers = + Programming Language :: Python :: 3 + Operating System :: OS Independent + +[options] +package_dir = + = src +packages = find: +python_requires = >=3 +install_requires = + ... + +[options.extras_require] +dev = + coverage + +[options.packages.find] +where = src diff --git a/src/package_name/__init__.py b/src/package_name/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29