Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.7a #1

Merged
merged 212 commits into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
c6750f1
Update install.yml
AndreiDrang Oct 29, 2022
759167f
Create test_and_lint.yml
AndreiDrang Oct 29, 2022
5f644cb
Update Makefile
AndreiDrang Oct 29, 2022
5caf91a
Create test_build.yml
AndreiDrang Oct 29, 2022
41f7b09
Update setup.py
AndreiDrang Oct 29, 2022
c55743d
Update Makefile
AndreiDrang Oct 29, 2022
9a07b59
Update test_build.yml
AndreiDrang Oct 29, 2022
7c1cef7
Update test_build.yml
AndreiDrang Oct 29, 2022
b7d604a
Update test_build.yml
AndreiDrang Oct 29, 2022
4e51159
Update test_build.yml
AndreiDrang Oct 29, 2022
8bd00f3
Update setup.py
AndreiDrang Oct 29, 2022
ea611cb
Update setup.py
AndreiDrang Oct 29, 2022
fe47b86
Update test_build.yml
AndreiDrang Oct 29, 2022
dc6610d
Update Makefile
AndreiDrang Oct 29, 2022
02401e1
Update README.md
AndreiDrang Oct 29, 2022
62ab9be
Update test_build.yml
AndreiDrang Oct 29, 2022
6608c99
Update test_and_lint.yml
AndreiDrang Oct 29, 2022
3ac3743
Update install.yml
AndreiDrang Oct 29, 2022
e51ff7a
upd
AndreiDrang Oct 29, 2022
c252bb0
added image captcha
AndreiDrang Oct 29, 2022
87047bb
Update image_to_text.py
AndreiDrang Oct 29, 2022
d556cc7
Fixed and updated image to text captcha
AndreiDrang Oct 30, 2022
967bca0
Create CaptchaAI.png
AndreiDrang Oct 30, 2022
8857854
added basic image_to_text tests
AndreiDrang Oct 30, 2022
fc511ac
refactor
AndreiDrang Oct 30, 2022
af99259
Update Makefile
AndreiDrang Oct 30, 2022
1a7738f
Update pyproject.toml
AndreiDrang Oct 30, 2022
22d6fa8
Update .coveragerc
AndreiDrang Oct 30, 2022
0b9356b
Update conftest.py
AndreiDrang Oct 30, 2022
15e050e
Create CaptchaAIBck.png
AndreiDrang Oct 30, 2022
6e4ff77
Update README.md
AndreiDrang Oct 30, 2022
2e5e333
Delete CaptchaAIBck.png
AndreiDrang Oct 30, 2022
38900dd
Create CaptchaAISm.png
AndreiDrang Oct 30, 2022
1b5b8cd
Update README.md
AndreiDrang Oct 30, 2022
d640cc7
Update control.py
AndreiDrang Nov 5, 2022
90c05f0
Update base.py
AndreiDrang Nov 5, 2022
b95d430
Update serializer.py
AndreiDrang Nov 5, 2022
45014dd
Update image_to_text.py
AndreiDrang Nov 5, 2022
1d151d7
Update test_image_to_text.py
AndreiDrang Nov 5, 2022
686f313
Update base.py
AndreiDrang Nov 5, 2022
329bc52
Update base.py
AndreiDrang Nov 5, 2022
f5ebb1b
Update config.py
AndreiDrang Nov 5, 2022
edb2d7c
Update base.py
AndreiDrang Nov 5, 2022
7acc374
Update config.py
AndreiDrang Nov 5, 2022
8caa836
Update base.py
AndreiDrang Nov 5, 2022
111c6c4
Update README.md
AndreiDrang Nov 5, 2022
46f820a
Update README.md
AndreiDrang Nov 5, 2022
2f596c6
Update README.md
AndreiDrang Nov 5, 2022
4fe60bc
Update README.md
AndreiDrang Nov 5, 2022
cc3160c
Create recaptcha.py
AndreiDrang Nov 5, 2022
acdd490
Update conftest.py
AndreiDrang Nov 5, 2022
a608a69
Update base.py
AndreiDrang Nov 5, 2022
c4a151b
Update config.py
AndreiDrang Nov 5, 2022
242ec51
Update recaptcha.py
AndreiDrang Nov 5, 2022
11cda46
Update test_image_to_text.py
AndreiDrang Nov 5, 2022
19d194b
Create test_recaptcha.py
AndreiDrang Nov 5, 2022
3d432ae
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
ba9b0ad
Update conftest.py
AndreiDrang Nov 5, 2022
1b32aea
Update recaptcha.py
AndreiDrang Nov 5, 2022
aa96c0d
Update test_image_to_text.py
AndreiDrang Nov 5, 2022
b3f2f05
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
d5a9b5e
Update base.py
AndreiDrang Nov 5, 2022
11a627f
Update enums.py
AndreiDrang Nov 5, 2022
59a7a3a
Update serializer.py
AndreiDrang Nov 5, 2022
525fa76
Update base.py
AndreiDrang Nov 5, 2022
92239f6
Update image_to_text.py
AndreiDrang Nov 5, 2022
1b94027
Update recaptcha.py
AndreiDrang Nov 5, 2022
7fd6972
Update base.py
AndreiDrang Nov 5, 2022
f87b100
Update test_and_lint.yml
AndreiDrang Nov 5, 2022
b3e3341
Update .gitignore
AndreiDrang Nov 5, 2022
eae2a65
Update Makefile
AndreiDrang Nov 5, 2022
c674b79
Update base.py
AndreiDrang Nov 5, 2022
d98958a
Update test_core.py
AndreiDrang Nov 5, 2022
4a57971
Update Makefile
AndreiDrang Nov 5, 2022
1ab1684
Create lint.yml
AndreiDrang Nov 5, 2022
f152fb0
Update test_and_lint.yml
AndreiDrang Nov 5, 2022
dd4585f
Update test.yml
AndreiDrang Nov 5, 2022
82f15e3
Update .gitignore
AndreiDrang Nov 5, 2022
84f8779
Update control.py
AndreiDrang Nov 5, 2022
def6ea0
Update enums.py
AndreiDrang Nov 5, 2022
dabeac2
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
005e3c5
Update README.md
AndreiDrang Nov 5, 2022
1a38912
Update install.yml
AndreiDrang Nov 5, 2022
b19473c
Update test_build.yml
AndreiDrang Nov 5, 2022
74eaead
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
0890a25
Update base.py
AndreiDrang Nov 5, 2022
7d0a2fb
Update enums.py
AndreiDrang Nov 5, 2022
7b75da9
Update recaptcha.py
AndreiDrang Nov 5, 2022
0c88a74
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
878ba41
Update test_core.py
AndreiDrang Nov 5, 2022
aac9910
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
6b42ad6
Update recaptcha.py
AndreiDrang Nov 5, 2022
0046844
Update test_core.py
AndreiDrang Nov 5, 2022
fb8696d
Update conftest.py
AndreiDrang Nov 5, 2022
9817a3d
Update test.yml
AndreiDrang Nov 5, 2022
36ff8e1
Update test.yml
AndreiDrang Nov 5, 2022
8263641
Update .gitignore
AndreiDrang Nov 5, 2022
cd0a3c7
Update requirements.test.txt
AndreiDrang Nov 5, 2022
cd6a157
Upd requirements to Python 3.7 | Release 0.0.4
AndreiDrang Nov 5, 2022
1d66326
Update setup.py
AndreiDrang Nov 5, 2022
85895e4
Update base.py
AndreiDrang Nov 5, 2022
62a8655
Update serializer.py
AndreiDrang Nov 5, 2022
9f8ccac
Update recaptcha.py
AndreiDrang Nov 5, 2022
d8b69f0
Update test_core.py
AndreiDrang Nov 5, 2022
3f71ea6
Update test_recaptcha.py
AndreiDrang Nov 5, 2022
6f26efc
Update test_core.py
AndreiDrang Nov 6, 2022
3b4affa
Update test_core.py
AndreiDrang Nov 6, 2022
4b7075f
Update test.yml
AndreiDrang Nov 6, 2022
765a670
Update install.yml
AndreiDrang Nov 6, 2022
f6b0961
Update lint.yml
AndreiDrang Nov 6, 2022
027cbc3
Update test.yml
AndreiDrang Nov 6, 2022
3fad2e7
Update test_build.yml
AndreiDrang Nov 6, 2022
e1ea4dc
Update test.yml
AndreiDrang Nov 6, 2022
ccd2337
Update image_to_text.py
AndreiDrang Nov 6, 2022
db8636c
Update serializer.py
AndreiDrang Nov 6, 2022
1be4a72
Create hcaptcha.py
AndreiDrang Nov 6, 2022
84ed584
Update recaptcha.py
AndreiDrang Nov 6, 2022
0d464b3
Update base.py
AndreiDrang Nov 6, 2022
b0958bc
Create test_hcaptcha.py
AndreiDrang Nov 6, 2022
eb5c3e5
Update hcaptcha.py
AndreiDrang Nov 6, 2022
2e3cc46
Update config.py
AndreiDrang Nov 6, 2022
1bb945a
Update base.py
AndreiDrang Nov 6, 2022
47f6050
fix errorCode
AndreiDrang Nov 6, 2022
a22a739
upd
AndreiDrang Nov 6, 2022
72e89c0
Update test_hcaptcha.py
AndreiDrang Nov 6, 2022
8d3139a
0.0.5
AndreiDrang Nov 6, 2022
3447638
Update hcaptcha.py
AndreiDrang Nov 6, 2022
5c419c5
Update test_hcaptcha.py
AndreiDrang Nov 6, 2022
0e19255
Update README.md
AndreiDrang Nov 6, 2022
2bf8d26
Update README.md
AndreiDrang Nov 6, 2022
dff9757
Update README.md
AndreiDrang Nov 6, 2022
a99bb6e
0.0.6
AndreiDrang Nov 6, 2022
9c59559
added Sphinx docs
AndreiDrang Nov 7, 2022
5c0ab28
updated class docs
AndreiDrang Nov 7, 2022
af962e4
Update conf.py
AndreiDrang Nov 7, 2022
8c1e958
upd docs
AndreiDrang Nov 7, 2022
e63dd09
Update conf.py
AndreiDrang Nov 7, 2022
461e285
upd docs
AndreiDrang Nov 7, 2022
8dfa4c5
upd docs
AndreiDrang Nov 7, 2022
f8a59fc
upd docs
AndreiDrang Nov 7, 2022
e01b535
upd docs
AndreiDrang Nov 7, 2022
ea99823
upd docs
AndreiDrang Nov 7, 2022
9ce5613
upd docs
AndreiDrang Nov 7, 2022
01e49e7
Create sphinx.yml
AndreiDrang Nov 7, 2022
396cdc4
Update requirements.txt
AndreiDrang Nov 7, 2022
e4f64bd
Create CNAME
AndreiDrang Nov 7, 2022
256aa3f
Delete CNAME
AndreiDrang Nov 7, 2022
8345364
Update sphinx.yml
AndreiDrang Nov 7, 2022
78c3706
Merge branch 'main' of https://github.com/AndreiDrang/python3-captchaai
AndreiDrang Nov 7, 2022
eee21f0
Update sphinx.yml
AndreiDrang Nov 7, 2022
e8e19a6
Update sphinx.yml
AndreiDrang Nov 7, 2022
a3ccb00
Update Makefile
AndreiDrang Nov 7, 2022
22fe910
Update Makefile
AndreiDrang Nov 7, 2022
e679e8f
Update make.bat
AndreiDrang Nov 7, 2022
1b67752
Update sphinx.yml
AndreiDrang Nov 7, 2022
79ab306
Update sphinx.yml
AndreiDrang Nov 7, 2022
4ab6de3
Update requirements.txt
AndreiDrang Nov 7, 2022
5565622
Update requirements.txt
AndreiDrang Nov 7, 2022
3a4777b
Update sphinx.yml
AndreiDrang Nov 7, 2022
06e72d9
Update requirements.txt
AndreiDrang Nov 7, 2022
10d1f6c
Update sphinx.yml
AndreiDrang Nov 7, 2022
da4aa5c
Update sphinx.yml
AndreiDrang Nov 7, 2022
b188a07
Update sphinx.yml
AndreiDrang Nov 7, 2022
d1fb2e3
Update sphinx.yml
AndreiDrang Nov 7, 2022
2e16791
Update sphinx.yml
AndreiDrang Nov 7, 2022
ef6ad7e
Update test.yml
AndreiDrang Nov 7, 2022
d689e1e
Update .gitignore
AndreiDrang Nov 7, 2022
b1e5603
remove _build
AndreiDrang Nov 7, 2022
fe21f69
Update sphinx.yml
AndreiDrang Nov 7, 2022
902638b
Update sphinx.yml
AndreiDrang Nov 7, 2022
b913b23
Update sphinx.yml
AndreiDrang Nov 7, 2022
085d984
Update sphinx.yml
AndreiDrang Nov 7, 2022
0735609
Update test.yml
AndreiDrang Nov 7, 2022
d9a1af5
Update sphinx.yml
AndreiDrang Nov 7, 2022
2381c13
Update sphinx.yml
AndreiDrang Nov 7, 2022
77b5499
Update sphinx.yml
AndreiDrang Nov 7, 2022
09bbaff
Update sphinx.yml
AndreiDrang Nov 7, 2022
bf55544
Update sphinx.yml
AndreiDrang Nov 7, 2022
3de799c
Update sphinx.yml
AndreiDrang Nov 7, 2022
225fb1a
Update sphinx.yml
AndreiDrang Nov 7, 2022
d5ef50c
Update test.yml
AndreiDrang Nov 7, 2022
e2ce826
Update sphinx.yml
AndreiDrang Nov 7, 2022
3be28f2
Update sphinx.yml
AndreiDrang Nov 7, 2022
b3d21b9
Update requirements.txt
AndreiDrang Nov 7, 2022
371d16c
Update README.md
AndreiDrang Nov 7, 2022
035c582
Update conf.py
AndreiDrang Nov 7, 2022
6d5ddec
Update index.rst
AndreiDrang Nov 7, 2022
6ccf026
Update info.md
AndreiDrang Nov 7, 2022
a23bfd9
Create info.md
AndreiDrang Nov 7, 2022
535dd16
Update README.md
AndreiDrang Nov 7, 2022
f9db636
Update conf.py
AndreiDrang Nov 7, 2022
52c4e2e
Update conf.py
AndreiDrang Nov 7, 2022
d864961
Update info.md
AndreiDrang Nov 7, 2022
bb292c6
Update setup.py
AndreiDrang Nov 7, 2022
4a8b040
Update config.py
AndreiDrang Nov 7, 2022
ff5832a
Update conf.py
AndreiDrang Nov 7, 2022
cc15c76
Update recaptcha.py
AndreiDrang Nov 7, 2022
045c1f7
Update hcaptcha.py
AndreiDrang Nov 7, 2022
4cd05e8
Update image_to_text.py
AndreiDrang Nov 7, 2022
0490475
Update setup.py
AndreiDrang Nov 7, 2022
ee634c6
Update config.py
AndreiDrang Nov 7, 2022
0f93c19
Update test_build.yml
AndreiDrang Nov 7, 2022
67b5ead
Update setup.py
AndreiDrang Nov 7, 2022
09ae491
Create __version__.py
AndreiDrang Nov 7, 2022
d1900a9
Update config.py
AndreiDrang Nov 7, 2022
3f50e96
Update sphinx.yml
AndreiDrang Nov 7, 2022
7bc0ce5
Update conf.py
AndreiDrang Nov 7, 2022
084e733
Update requirements.txt
AndreiDrang Nov 7, 2022
e540aa9
Update sphinx.yml
AndreiDrang Nov 7, 2022
6f65f82
upd workflows
AndreiDrang Nov 7, 2022
b1d0a3c
upd workflows
AndreiDrang Nov 7, 2022
86a76b0
Update test.yml
AndreiDrang Nov 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .coveragerc

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Installation

on:
push:
branches: [ "main", "release"]
paths:
- '.github/workflows/install.yml'
- 'src/**'
- 'Makefile'
pull_request:
branches: [ "main", "release"]
paths:
- '.github/workflows/install.yml'
- 'src/**'
- 'Makefile'

jobs:
install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Local install checking
run: make install

- name: PYPI install checking
run: pip install python3-captchaai
28 changes: 16 additions & 12 deletions .github/workflows/python-package.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
name: Library lint and test
name: Lint

on:
push:
branches: [ "main" ]
branches: [ "main", "release"]
paths:
- '.github/workflows/lint.yml'
- 'src/**'
- 'Makefile'
- 'requirements.style.txt'
pull_request:
branches: [ "main" ]
branches: [ "main", "release"]
paths:
- '.github/workflows/lint.yml'
- 'src/**'
- 'Makefile'
- 'requirements.style.txt'

jobs:
build:
lint:
runs-on: ubuntu-latest
env:
API_KEY: ${{ secrets.API_KEY }}
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
Expand All @@ -27,12 +37,6 @@ jobs:
run: |
pip install --upgrade pip
pip install -r requirements.style.txt
pip install -r requirements.test.txt
pip install -r src/requirements.txt

- name: Lint
run: |
make lint
- name: Test
run: |
make tests
run: make lint
35 changes: 35 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Sphinx build

on:
push:
branches: [ "release" ]
paths:
- '.github/workflows/sphinx.yml'
- 'src/**'
- 'docs/**'
- 'files/**'

jobs:
docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3

- name: Build library requirements
run: pip install -r src/requirements.txt

- name: Build docs
run: |
cd docs/ && \
pip install -r requirements.txt && \
make html -e

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html/
force_orphan: true
65 changes: 65 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Tests

on:
push:
branches: [ "main", "release"]
paths:
- '.github/workflows/test.yml'
- 'src/**'
- 'Makefile'
- 'requirements.test.txt'
pull_request:
branches: [ "main", "release"]
paths:
- '.github/workflows/test.yml'
- 'src/**'
- 'Makefile'
- 'requirements.test.txt'
schedule:
- cron: "5 0 * * 1"

jobs:
test:
runs-on: ubuntu-latest
env:
API_KEY: ${{ secrets.API_KEY }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.test.txt
pip install -r src/requirements.txt

- name: Test
run: make tests

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./src/coverage/lcov.info
flag-name: Pytests
parallel: true

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
parallel-finished: true
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./src/coverage/lcov.info
flag-name: Pytests
35 changes: 35 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test Build

on:
push:
branches: [ "main", "release"]
paths:
- '.github/workflows/test_build.yml'
- 'src/**'
- 'Makefile'
pull_request:
branches: [ "main", "release"]
paths:
- '.github/workflows/test_build.yml'
- 'src/**'
- 'Makefile'

jobs:
test_build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Local build checking
run: |
pip install twine wheel
cd src/ && python setup.py sdist bdist_wheel
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ env/
/.coverage
/src/python3_captchaai.egg-info/
/src/.coverage
/src/coverage/lcov.info
/src/htmlcov/
/src/coverage/
/docs/_build/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Andrei
Copyright (c) 2022 Andrei

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
26 changes: 15 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
install:
python setup.py install

remove:
pip uninstall python_rucaptcha -y
cd src/ && pip install -e .

refactor:
black docs/
isort docs/

cd src/ && \
autoflake --in-place \
--recursive \
--remove-unused-variables \
--remove-duplicate-keys \
--remove-all-unused-imports \
--ignore-init-module-imports \
src/
black src/
isort src/
python3_captchaai/ tests/ && \
black python3_captchaai/ tests/ && \
isort python3_captchaai/ tests/

lint:
autoflake --in-place --recursive src/ --check
black src/ --check
isort src/ --check-only
cd src/ && \
autoflake --in-place --recursive python3_captchaai/ --check && \
black python3_captchaai/ --check && \
isort python3_captchaai/ --check-only

upload:
pip install twine
Expand All @@ -27,4 +29,6 @@ upload:
tests:
cd src/ && \
coverage run --rcfile=.coveragerc -m pytest -s tests -vv --disable-warnings && \
coverage report --precision=3 --sort=cover -m
coverage report --precision=3 --sort=cover --skip-empty --show-missing && \
coverage html --precision=3 --skip-empty && \
coverage lcov -o coverage/lcov.info
32 changes: 14 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
# python3-captchaai
![](files/CaptchaAISm.png)

[![PyPI version](https://badge.fury.io/py/python3-captchaai.svg)](https://badge.fury.io/py/python3-captchaai)
[![Python versions](https://img.shields.io/pypi/pyversions/python3-captchaai.svg?logo=python&logoColor=FBE072)](https://badge.fury.io/py/python3-captchaai)
[![Downloads](https://pepy.tech/badge/python3-captchaai/month)](https://pepy.tech/project/python3-captchaai)

[![Maintainability](https://api.codeclimate.com/v1/badges/3431fd3fe71baf7eb9da/maintainability)](https://codeclimate.com/github/AndreiDrang/python3-captchaai/maintainability)

The library is intended for software developers and serves to facilitate work with the CaptchaAI service API.
[![Build check](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/test_build.yml/badge.svg?branch=main)](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/test_build.yml)
[![Installation check](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/install.yml/badge.svg?branch=main)](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/install.yml)
[![Test](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/test.yml)
[![Lint](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/AndreiDrang/python3-captchaai/actions/workflows/lint.yml)

***
If you have any questions, please write to [Telegram](https://t.me/pythoncaptcha) chat.
Or to [email](python-captcha@pm.me).

## How to install?
Python3 library for [CaptchaAI](https://www.captchaai.io/) service API.

### pip
Tested on UNIX based OS.

```bash
pip install python3-captchaai
```
The library is intended for software developers and is used to work with the [CaptchaAI](https://www.captchaai.io/) service API.

### Source
```bash
git clone https://github.com/AndreiDrang/python3-captchaai.git
cd python3-captchaai
python setup.py install
```
***

### Changelog
If you have any questions, please send a message to the [Telegram](https://t.me/pythoncaptcha) chat room.

v.0.0.1 - First release with basic methods and logic.
Or email python-captcha@pm.me

***

### Additional info
1. [All examples of working with the library](src/examples)
1. [Library usage examples](https://andreidrang.github.io/python3-captchaai/)
2. [CaptchaAI errors list](https://captchaai.atlassian.net/wiki/spaces/CAPTCHAAI/pages/426145/errorCode+full+list+of+errors)


Expand Down
19 changes: 19 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file added docs/_static/CaptchaAI300x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/CaptchaAIESm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/CaptchaAISm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading