commit 112a6c57ff8b282635c1dcc2e58786da4a29c37a Author: daniil Date: Sun May 8 12:45:17 2022 +0200 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..8b21088 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# ccaptchas + +Character CAPTCHA Solver + +## Usage + +... + +## Installation + +`pip install ccaptchas` + +## 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..67201f9 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +[metadata] +name = ccaptchas +version = 0.0.1 +author = Daniil +author_email = mail@placeholder123.to +description = Character CAPTCHA Solver +long_description = file: README.md +long_description_content_type = text/markdown +url = https://git.fajnberg.de/daniil/ccaptchas +project_urls = + Bug Tracker = https://git.fajnberg.de/daniil/ccaptchas/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