Spaces:
Runtime error
Runtime error
iamtatsuki05
commited on
Synced repo using 'sync_with_huggingface' Github Action
Browse files- poetry.lock +94 -90
- pyproject.toml +22 -0
- src/ocr_and_translate_en2jp/env.py +5 -0
- tests/__init__.py +0 -0
- tests/ocr_and_translate_en2jp/test_env.py +5 -0
- tox.ini +26 -0
poetry.lock
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# This file is automatically @generated by Poetry 1.
|
2 |
|
3 |
[[package]]
|
4 |
name = "aiofiles"
|
@@ -1753,39 +1753,40 @@ files = [
|
|
1753 |
|
1754 |
[[package]]
|
1755 |
name = "matplotlib"
|
1756 |
-
version = "3.
|
1757 |
description = "Python plotting package"
|
1758 |
optional = false
|
1759 |
python-versions = ">=3.9"
|
1760 |
files = [
|
1761 |
-
{file = "matplotlib-3.
|
1762 |
-
{file = "matplotlib-3.
|
1763 |
-
{file = "matplotlib-3.
|
1764 |
-
{file = "matplotlib-3.
|
1765 |
-
{file = "matplotlib-3.
|
1766 |
-
{file = "matplotlib-3.
|
1767 |
-
{file = "matplotlib-3.
|
1768 |
-
{file = "matplotlib-3.
|
1769 |
-
{file = "matplotlib-3.
|
1770 |
-
{file = "matplotlib-3.
|
1771 |
-
{file = "matplotlib-3.
|
1772 |
-
{file = "matplotlib-3.
|
1773 |
-
{file = "matplotlib-3.
|
1774 |
-
{file = "matplotlib-3.
|
1775 |
-
{file = "matplotlib-3.
|
1776 |
-
{file = "matplotlib-3.
|
1777 |
-
{file = "matplotlib-3.
|
1778 |
-
{file = "matplotlib-3.
|
1779 |
-
{file = "matplotlib-3.
|
1780 |
-
{file = "matplotlib-3.
|
1781 |
-
{file = "matplotlib-3.
|
1782 |
-
{file = "matplotlib-3.
|
1783 |
-
{file = "matplotlib-3.
|
1784 |
-
{file = "matplotlib-3.
|
1785 |
-
{file = "matplotlib-3.
|
1786 |
-
{file = "matplotlib-3.
|
1787 |
-
{file = "matplotlib-3.
|
1788 |
-
{file = "matplotlib-3.
|
|
|
1789 |
]
|
1790 |
|
1791 |
[package.dependencies]
|
@@ -1793,12 +1794,15 @@ contourpy = ">=1.0.1"
|
|
1793 |
cycler = ">=0.10"
|
1794 |
fonttools = ">=4.22.0"
|
1795 |
kiwisolver = ">=1.3.1"
|
1796 |
-
numpy = ">=1.
|
1797 |
packaging = ">=20.0"
|
1798 |
pillow = ">=8"
|
1799 |
pyparsing = ">=2.3.1"
|
1800 |
python-dateutil = ">=2.7"
|
1801 |
|
|
|
|
|
|
|
1802 |
[[package]]
|
1803 |
name = "matplotlib-inline"
|
1804 |
version = "0.1.7"
|
@@ -2397,13 +2401,13 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa
|
|
2397 |
|
2398 |
[[package]]
|
2399 |
name = "platformdirs"
|
2400 |
-
version = "4.2.
|
2401 |
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."
|
2402 |
optional = false
|
2403 |
python-versions = ">=3.8"
|
2404 |
files = [
|
2405 |
-
{file = "platformdirs-4.2.
|
2406 |
-
{file = "platformdirs-4.2.
|
2407 |
]
|
2408 |
|
2409 |
[package.extras]
|
@@ -2428,13 +2432,13 @@ testing = ["pytest", "pytest-benchmark"]
|
|
2428 |
|
2429 |
[[package]]
|
2430 |
name = "pre-commit"
|
2431 |
-
version = "3.7.
|
2432 |
description = "A framework for managing and maintaining multi-language pre-commit hooks."
|
2433 |
optional = false
|
2434 |
python-versions = ">=3.9"
|
2435 |
files = [
|
2436 |
-
{file = "pre_commit-3.7.
|
2437 |
-
{file = "pre_commit-3.7.
|
2438 |
]
|
2439 |
|
2440 |
[package.dependencies]
|
@@ -2547,47 +2551,47 @@ tests = ["pytest"]
|
|
2547 |
|
2548 |
[[package]]
|
2549 |
name = "pyarrow"
|
2550 |
-
version = "16.
|
2551 |
description = "Python library for Apache Arrow"
|
2552 |
optional = false
|
2553 |
python-versions = ">=3.8"
|
2554 |
files = [
|
2555 |
-
{file = "pyarrow-16.
|
2556 |
-
{file = "pyarrow-16.
|
2557 |
-
{file = "pyarrow-16.
|
2558 |
-
{file = "pyarrow-16.
|
2559 |
-
{file = "pyarrow-16.
|
2560 |
-
{file = "pyarrow-16.
|
2561 |
-
{file = "pyarrow-16.
|
2562 |
-
{file = "pyarrow-16.
|
2563 |
-
{file = "pyarrow-16.
|
2564 |
-
{file = "pyarrow-16.
|
2565 |
-
{file = "pyarrow-16.
|
2566 |
-
{file = "pyarrow-16.
|
2567 |
-
{file = "pyarrow-16.
|
2568 |
-
{file = "pyarrow-16.
|
2569 |
-
{file = "pyarrow-16.
|
2570 |
-
{file = "pyarrow-16.
|
2571 |
-
{file = "pyarrow-16.
|
2572 |
-
{file = "pyarrow-16.
|
2573 |
-
{file = "pyarrow-16.
|
2574 |
-
{file = "pyarrow-16.
|
2575 |
-
{file = "pyarrow-16.
|
2576 |
-
{file = "pyarrow-16.
|
2577 |
-
{file = "pyarrow-16.
|
2578 |
-
{file = "pyarrow-16.
|
2579 |
-
{file = "pyarrow-16.
|
2580 |
-
{file = "pyarrow-16.
|
2581 |
-
{file = "pyarrow-16.
|
2582 |
-
{file = "pyarrow-16.
|
2583 |
-
{file = "pyarrow-16.
|
2584 |
-
{file = "pyarrow-16.
|
2585 |
-
{file = "pyarrow-16.
|
2586 |
-
{file = "pyarrow-16.
|
2587 |
-
{file = "pyarrow-16.
|
2588 |
-
{file = "pyarrow-16.
|
2589 |
-
{file = "pyarrow-16.
|
2590 |
-
{file = "pyarrow-16.
|
2591 |
]
|
2592 |
|
2593 |
[package.dependencies]
|
@@ -2727,13 +2731,13 @@ typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0"
|
|
2727 |
|
2728 |
[[package]]
|
2729 |
name = "pydeck"
|
2730 |
-
version = "0.9.
|
2731 |
description = "Widget for deck.gl maps"
|
2732 |
optional = false
|
2733 |
python-versions = ">=3.8"
|
2734 |
files = [
|
2735 |
-
{file = "pydeck-0.9.
|
2736 |
-
{file = "pydeck-0.9.
|
2737 |
]
|
2738 |
|
2739 |
[package.dependencies]
|
@@ -3414,13 +3418,13 @@ scipy = ">=1.0"
|
|
3414 |
|
3415 |
[[package]]
|
3416 |
name = "selenium"
|
3417 |
-
version = "4.
|
3418 |
description = ""
|
3419 |
optional = false
|
3420 |
python-versions = ">=3.8"
|
3421 |
files = [
|
3422 |
-
{file = "selenium-4.
|
3423 |
-
{file = "selenium-4.
|
3424 |
]
|
3425 |
|
3426 |
[package.dependencies]
|
@@ -3789,13 +3793,13 @@ test = ["argcomplete (>=3.0.3)", "mypy (>=1.7.0)", "pre-commit", "pytest (>=7.0,
|
|
3789 |
|
3790 |
[[package]]
|
3791 |
name = "trio"
|
3792 |
-
version = "0.25.
|
3793 |
description = "A friendly Python library for async concurrency and I/O"
|
3794 |
optional = false
|
3795 |
python-versions = ">=3.8"
|
3796 |
files = [
|
3797 |
-
{file = "trio-0.25.
|
3798 |
-
{file = "trio-0.25.
|
3799 |
]
|
3800 |
|
3801 |
[package.dependencies]
|
@@ -3940,13 +3944,13 @@ files = [
|
|
3940 |
|
3941 |
[[package]]
|
3942 |
name = "virtualenv"
|
3943 |
-
version = "20.26.
|
3944 |
description = "Virtual Python Environment builder"
|
3945 |
optional = false
|
3946 |
python-versions = ">=3.7"
|
3947 |
files = [
|
3948 |
-
{file = "virtualenv-20.26.
|
3949 |
-
{file = "virtualenv-20.26.
|
3950 |
]
|
3951 |
|
3952 |
[package.dependencies]
|
@@ -4170,18 +4174,18 @@ test = ["mypy", "pre-commit", "pytest", "pytest-asyncio", "websockets (>=10.0)"]
|
|
4170 |
|
4171 |
[[package]]
|
4172 |
name = "zipp"
|
4173 |
-
version = "3.18.
|
4174 |
description = "Backport of pathlib-compatible object wrapper for zip files"
|
4175 |
optional = false
|
4176 |
python-versions = ">=3.8"
|
4177 |
files = [
|
4178 |
-
{file = "zipp-3.18.
|
4179 |
-
{file = "zipp-3.18.
|
4180 |
]
|
4181 |
|
4182 |
[package.extras]
|
4183 |
docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
|
4184 |
-
testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"]
|
4185 |
|
4186 |
[metadata]
|
4187 |
lock-version = "2.0"
|
|
|
1 |
+
# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand.
|
2 |
|
3 |
[[package]]
|
4 |
name = "aiofiles"
|
|
|
1753 |
|
1754 |
[[package]]
|
1755 |
name = "matplotlib"
|
1756 |
+
version = "3.9.0"
|
1757 |
description = "Python plotting package"
|
1758 |
optional = false
|
1759 |
python-versions = ">=3.9"
|
1760 |
files = [
|
1761 |
+
{file = "matplotlib-3.9.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2bcee1dffaf60fe7656183ac2190bd630842ff87b3153afb3e384d966b57fe56"},
|
1762 |
+
{file = "matplotlib-3.9.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3f988bafb0fa39d1074ddd5bacd958c853e11def40800c5824556eb630f94d3b"},
|
1763 |
+
{file = "matplotlib-3.9.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe428e191ea016bb278758c8ee82a8129c51d81d8c4bc0846c09e7e8e9057241"},
|
1764 |
+
{file = "matplotlib-3.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eaf3978060a106fab40c328778b148f590e27f6fa3cd15a19d6892575bce387d"},
|
1765 |
+
{file = "matplotlib-3.9.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:2e7f03e5cbbfacdd48c8ea394d365d91ee8f3cae7e6ec611409927b5ed997ee4"},
|
1766 |
+
{file = "matplotlib-3.9.0-cp310-cp310-win_amd64.whl", hash = "sha256:13beb4840317d45ffd4183a778685e215939be7b08616f431c7795276e067463"},
|
1767 |
+
{file = "matplotlib-3.9.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:063af8587fceeac13b0936c42a2b6c732c2ab1c98d38abc3337e430e1ff75e38"},
|
1768 |
+
{file = "matplotlib-3.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9a2fa6d899e17ddca6d6526cf6e7ba677738bf2a6a9590d702c277204a7c6152"},
|
1769 |
+
{file = "matplotlib-3.9.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:550cdda3adbd596078cca7d13ed50b77879104e2e46392dcd7c75259d8f00e85"},
|
1770 |
+
{file = "matplotlib-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76cce0f31b351e3551d1f3779420cf8f6ec0d4a8cf9c0237a3b549fd28eb4abb"},
|
1771 |
+
{file = "matplotlib-3.9.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c53aeb514ccbbcbab55a27f912d79ea30ab21ee0531ee2c09f13800efb272674"},
|
1772 |
+
{file = "matplotlib-3.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:a5be985db2596d761cdf0c2eaf52396f26e6a64ab46bd8cd810c48972349d1be"},
|
1773 |
+
{file = "matplotlib-3.9.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:c79f3a585f1368da6049318bdf1f85568d8d04b2e89fc24b7e02cc9b62017382"},
|
1774 |
+
{file = "matplotlib-3.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bdd1ecbe268eb3e7653e04f451635f0fb0f77f07fd070242b44c076c9106da84"},
|
1775 |
+
{file = "matplotlib-3.9.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d38e85a1a6d732f645f1403ce5e6727fd9418cd4574521d5803d3d94911038e5"},
|
1776 |
+
{file = "matplotlib-3.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a490715b3b9984fa609116481b22178348c1a220a4499cda79132000a79b4db"},
|
1777 |
+
{file = "matplotlib-3.9.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8146ce83cbc5dc71c223a74a1996d446cd35cfb6a04b683e1446b7e6c73603b7"},
|
1778 |
+
{file = "matplotlib-3.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:d91a4ffc587bacf5c4ce4ecfe4bcd23a4b675e76315f2866e588686cc97fccdf"},
|
1779 |
+
{file = "matplotlib-3.9.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:616fabf4981a3b3c5a15cd95eba359c8489c4e20e03717aea42866d8d0465956"},
|
1780 |
+
{file = "matplotlib-3.9.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cd53c79fd02f1c1808d2cfc87dd3cf4dbc63c5244a58ee7944497107469c8d8a"},
|
1781 |
+
{file = "matplotlib-3.9.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06a478f0d67636554fa78558cfbcd7b9dba85b51f5c3b5a0c9be49010cf5f321"},
|
1782 |
+
{file = "matplotlib-3.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81c40af649d19c85f8073e25e5806926986806fa6d54be506fbf02aef47d5a89"},
|
1783 |
+
{file = "matplotlib-3.9.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52146fc3bd7813cc784562cb93a15788be0b2875c4655e2cc6ea646bfa30344b"},
|
1784 |
+
{file = "matplotlib-3.9.0-cp39-cp39-win_amd64.whl", hash = "sha256:0fc51eaa5262553868461c083d9adadb11a6017315f3a757fc45ec6ec5f02888"},
|
1785 |
+
{file = "matplotlib-3.9.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:bd4f2831168afac55b881db82a7730992aa41c4f007f1913465fb182d6fb20c0"},
|
1786 |
+
{file = "matplotlib-3.9.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:290d304e59be2b33ef5c2d768d0237f5bd132986bdcc66f80bc9bcc300066a03"},
|
1787 |
+
{file = "matplotlib-3.9.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ff2e239c26be4f24bfa45860c20ffccd118d270c5b5d081fa4ea409b5469fcd"},
|
1788 |
+
{file = "matplotlib-3.9.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:af4001b7cae70f7eaacfb063db605280058246de590fa7874f00f62259f2df7e"},
|
1789 |
+
{file = "matplotlib-3.9.0.tar.gz", hash = "sha256:e6d29ea6c19e34b30fb7d88b7081f869a03014f66fe06d62cc77d5a6ea88ed7a"},
|
1790 |
]
|
1791 |
|
1792 |
[package.dependencies]
|
|
|
1794 |
cycler = ">=0.10"
|
1795 |
fonttools = ">=4.22.0"
|
1796 |
kiwisolver = ">=1.3.1"
|
1797 |
+
numpy = ">=1.23"
|
1798 |
packaging = ">=20.0"
|
1799 |
pillow = ">=8"
|
1800 |
pyparsing = ">=2.3.1"
|
1801 |
python-dateutil = ">=2.7"
|
1802 |
|
1803 |
+
[package.extras]
|
1804 |
+
dev = ["meson-python (>=0.13.1)", "numpy (>=1.25)", "pybind11 (>=2.6)", "setuptools (>=64)", "setuptools_scm (>=7)"]
|
1805 |
+
|
1806 |
[[package]]
|
1807 |
name = "matplotlib-inline"
|
1808 |
version = "0.1.7"
|
|
|
2401 |
|
2402 |
[[package]]
|
2403 |
name = "platformdirs"
|
2404 |
+
version = "4.2.2"
|
2405 |
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."
|
2406 |
optional = false
|
2407 |
python-versions = ">=3.8"
|
2408 |
files = [
|
2409 |
+
{file = "platformdirs-4.2.2-py3-none-any.whl", hash = "sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee"},
|
2410 |
+
{file = "platformdirs-4.2.2.tar.gz", hash = "sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3"},
|
2411 |
]
|
2412 |
|
2413 |
[package.extras]
|
|
|
2432 |
|
2433 |
[[package]]
|
2434 |
name = "pre-commit"
|
2435 |
+
version = "3.7.1"
|
2436 |
description = "A framework for managing and maintaining multi-language pre-commit hooks."
|
2437 |
optional = false
|
2438 |
python-versions = ">=3.9"
|
2439 |
files = [
|
2440 |
+
{file = "pre_commit-3.7.1-py2.py3-none-any.whl", hash = "sha256:fae36fd1d7ad7d6a5a1c0b0d5adb2ed1a3bda5a21bf6c3e5372073d7a11cd4c5"},
|
2441 |
+
{file = "pre_commit-3.7.1.tar.gz", hash = "sha256:8ca3ad567bc78a4972a3f1a477e94a79d4597e8140a6e0b651c5e33899c3654a"},
|
2442 |
]
|
2443 |
|
2444 |
[package.dependencies]
|
|
|
2551 |
|
2552 |
[[package]]
|
2553 |
name = "pyarrow"
|
2554 |
+
version = "16.1.0"
|
2555 |
description = "Python library for Apache Arrow"
|
2556 |
optional = false
|
2557 |
python-versions = ">=3.8"
|
2558 |
files = [
|
2559 |
+
{file = "pyarrow-16.1.0-cp310-cp310-macosx_10_15_x86_64.whl", hash = "sha256:17e23b9a65a70cc733d8b738baa6ad3722298fa0c81d88f63ff94bf25eaa77b9"},
|
2560 |
+
{file = "pyarrow-16.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4740cc41e2ba5d641071d0ab5e9ef9b5e6e8c7611351a5cb7c1d175eaf43674a"},
|
2561 |
+
{file = "pyarrow-16.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:98100e0268d04e0eec47b73f20b39c45b4006f3c4233719c3848aa27a03c1aef"},
|
2562 |
+
{file = "pyarrow-16.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f68f409e7b283c085f2da014f9ef81e885d90dcd733bd648cfba3ef265961848"},
|
2563 |
+
{file = "pyarrow-16.1.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:a8914cd176f448e09746037b0c6b3a9d7688cef451ec5735094055116857580c"},
|
2564 |
+
{file = "pyarrow-16.1.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:48be160782c0556156d91adbdd5a4a7e719f8d407cb46ae3bb4eaee09b3111bd"},
|
2565 |
+
{file = "pyarrow-16.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:9cf389d444b0f41d9fe1444b70650fea31e9d52cfcb5f818b7888b91b586efff"},
|
2566 |
+
{file = "pyarrow-16.1.0-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:d0ebea336b535b37eee9eee31761813086d33ed06de9ab6fc6aaa0bace7b250c"},
|
2567 |
+
{file = "pyarrow-16.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2e73cfc4a99e796727919c5541c65bb88b973377501e39b9842ea71401ca6c1c"},
|
2568 |
+
{file = "pyarrow-16.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf9251264247ecfe93e5f5a0cd43b8ae834f1e61d1abca22da55b20c788417f6"},
|
2569 |
+
{file = "pyarrow-16.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ddf5aace92d520d3d2a20031d8b0ec27b4395cab9f74e07cc95edf42a5cc0147"},
|
2570 |
+
{file = "pyarrow-16.1.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:25233642583bf658f629eb230b9bb79d9af4d9f9229890b3c878699c82f7d11e"},
|
2571 |
+
{file = "pyarrow-16.1.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:a33a64576fddfbec0a44112eaf844c20853647ca833e9a647bfae0582b2ff94b"},
|
2572 |
+
{file = "pyarrow-16.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:185d121b50836379fe012753cf15c4ba9638bda9645183ab36246923875f8d1b"},
|
2573 |
+
{file = "pyarrow-16.1.0-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:2e51ca1d6ed7f2e9d5c3c83decf27b0d17bb207a7dea986e8dc3e24f80ff7d6f"},
|
2574 |
+
{file = "pyarrow-16.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:06ebccb6f8cb7357de85f60d5da50e83507954af617d7b05f48af1621d331c9a"},
|
2575 |
+
{file = "pyarrow-16.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b04707f1979815f5e49824ce52d1dceb46e2f12909a48a6a753fe7cafbc44a0c"},
|
2576 |
+
{file = "pyarrow-16.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d32000693deff8dc5df444b032b5985a48592c0697cb6e3071a5d59888714e2"},
|
2577 |
+
{file = "pyarrow-16.1.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:8785bb10d5d6fd5e15d718ee1d1f914fe768bf8b4d1e5e9bf253de8a26cb1628"},
|
2578 |
+
{file = "pyarrow-16.1.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:e1369af39587b794873b8a307cc6623a3b1194e69399af0efd05bb202195a5a7"},
|
2579 |
+
{file = "pyarrow-16.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:febde33305f1498f6df85e8020bca496d0e9ebf2093bab9e0f65e2b4ae2b3444"},
|
2580 |
+
{file = "pyarrow-16.1.0-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:b5f5705ab977947a43ac83b52ade3b881eb6e95fcc02d76f501d549a210ba77f"},
|
2581 |
+
{file = "pyarrow-16.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0d27bf89dfc2576f6206e9cd6cf7a107c9c06dc13d53bbc25b0bd4556f19cf5f"},
|
2582 |
+
{file = "pyarrow-16.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d07de3ee730647a600037bc1d7b7994067ed64d0eba797ac74b2bc77384f4c2"},
|
2583 |
+
{file = "pyarrow-16.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fbef391b63f708e103df99fbaa3acf9f671d77a183a07546ba2f2c297b361e83"},
|
2584 |
+
{file = "pyarrow-16.1.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:19741c4dbbbc986d38856ee7ddfdd6a00fc3b0fc2d928795b95410d38bb97d15"},
|
2585 |
+
{file = "pyarrow-16.1.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:f2c5fb249caa17b94e2b9278b36a05ce03d3180e6da0c4c3b3ce5b2788f30eed"},
|
2586 |
+
{file = "pyarrow-16.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:e6b6d3cd35fbb93b70ade1336022cc1147b95ec6af7d36906ca7fe432eb09710"},
|
2587 |
+
{file = "pyarrow-16.1.0-cp39-cp39-macosx_10_15_x86_64.whl", hash = "sha256:18da9b76a36a954665ccca8aa6bd9f46c1145f79c0bb8f4f244f5f8e799bca55"},
|
2588 |
+
{file = "pyarrow-16.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:99f7549779b6e434467d2aa43ab2b7224dd9e41bdde486020bae198978c9e05e"},
|
2589 |
+
{file = "pyarrow-16.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f07fdffe4fd5b15f5ec15c8b64584868d063bc22b86b46c9695624ca3505b7b4"},
|
2590 |
+
{file = "pyarrow-16.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ddfe389a08ea374972bd4065d5f25d14e36b43ebc22fc75f7b951f24378bf0b5"},
|
2591 |
+
{file = "pyarrow-16.1.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:3b20bd67c94b3a2ea0a749d2a5712fc845a69cb5d52e78e6449bbd295611f3aa"},
|
2592 |
+
{file = "pyarrow-16.1.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:ba8ac20693c0bb0bf4b238751d4409e62852004a8cf031c73b0e0962b03e45e3"},
|
2593 |
+
{file = "pyarrow-16.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:31a1851751433d89a986616015841977e0a188662fcffd1a5677453f1df2de0a"},
|
2594 |
+
{file = "pyarrow-16.1.0.tar.gz", hash = "sha256:15fbb22ea96d11f0b5768504a3f961edab25eaf4197c341720c4a387f6c60315"},
|
2595 |
]
|
2596 |
|
2597 |
[package.dependencies]
|
|
|
2731 |
|
2732 |
[[package]]
|
2733 |
name = "pydeck"
|
2734 |
+
version = "0.9.1"
|
2735 |
description = "Widget for deck.gl maps"
|
2736 |
optional = false
|
2737 |
python-versions = ">=3.8"
|
2738 |
files = [
|
2739 |
+
{file = "pydeck-0.9.1-py2.py3-none-any.whl", hash = "sha256:b3f75ba0d273fc917094fa61224f3f6076ca8752b93d46faf3bcfd9f9d59b038"},
|
2740 |
+
{file = "pydeck-0.9.1.tar.gz", hash = "sha256:f74475ae637951d63f2ee58326757f8d4f9cd9f2a457cf42950715003e2cb605"},
|
2741 |
]
|
2742 |
|
2743 |
[package.dependencies]
|
|
|
3418 |
|
3419 |
[[package]]
|
3420 |
name = "selenium"
|
3421 |
+
version = "4.21.0"
|
3422 |
description = ""
|
3423 |
optional = false
|
3424 |
python-versions = ">=3.8"
|
3425 |
files = [
|
3426 |
+
{file = "selenium-4.21.0-py3-none-any.whl", hash = "sha256:4770ffe5a5264e609de7dc914be6b89987512040d5a8efb2abb181330d097993"},
|
3427 |
+
{file = "selenium-4.21.0.tar.gz", hash = "sha256:650dbfa5159895ff00ad16e5ddb6ceecb86b90c7ed2012b3f041f64e6e4904fe"},
|
3428 |
]
|
3429 |
|
3430 |
[package.dependencies]
|
|
|
3793 |
|
3794 |
[[package]]
|
3795 |
name = "trio"
|
3796 |
+
version = "0.25.1"
|
3797 |
description = "A friendly Python library for async concurrency and I/O"
|
3798 |
optional = false
|
3799 |
python-versions = ">=3.8"
|
3800 |
files = [
|
3801 |
+
{file = "trio-0.25.1-py3-none-any.whl", hash = "sha256:e42617ba091e7b2e50c899052e83a3c403101841de925187f61e7b7eaebdf3fb"},
|
3802 |
+
{file = "trio-0.25.1.tar.gz", hash = "sha256:9f5314f014ea3af489e77b001861c535005c3858d38ec46b6b071ebfa339d7fb"},
|
3803 |
]
|
3804 |
|
3805 |
[package.dependencies]
|
|
|
3944 |
|
3945 |
[[package]]
|
3946 |
name = "virtualenv"
|
3947 |
+
version = "20.26.2"
|
3948 |
description = "Virtual Python Environment builder"
|
3949 |
optional = false
|
3950 |
python-versions = ">=3.7"
|
3951 |
files = [
|
3952 |
+
{file = "virtualenv-20.26.2-py3-none-any.whl", hash = "sha256:a624db5e94f01ad993d476b9ee5346fdf7b9de43ccaee0e0197012dc838a0e9b"},
|
3953 |
+
{file = "virtualenv-20.26.2.tar.gz", hash = "sha256:82bf0f4eebbb78d36ddaee0283d43fe5736b53880b8a8cdcd37390a07ac3741c"},
|
3954 |
]
|
3955 |
|
3956 |
[package.dependencies]
|
|
|
4174 |
|
4175 |
[[package]]
|
4176 |
name = "zipp"
|
4177 |
+
version = "3.18.2"
|
4178 |
description = "Backport of pathlib-compatible object wrapper for zip files"
|
4179 |
optional = false
|
4180 |
python-versions = ">=3.8"
|
4181 |
files = [
|
4182 |
+
{file = "zipp-3.18.2-py3-none-any.whl", hash = "sha256:dce197b859eb796242b0622af1b8beb0a722d52aa2f57133ead08edd5bf5374e"},
|
4183 |
+
{file = "zipp-3.18.2.tar.gz", hash = "sha256:6278d9ddbcfb1f1089a88fde84481528b07b0e10474e09dcfe53dad4069fa059"},
|
4184 |
]
|
4185 |
|
4186 |
[package.extras]
|
4187 |
docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
|
4188 |
+
testing = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"]
|
4189 |
|
4190 |
[metadata]
|
4191 |
lock-version = "2.0"
|
pyproject.toml
CHANGED
@@ -46,12 +46,34 @@ pre-commit = ">=3.3.3"
|
|
46 |
nbstripout = "0.6.1"
|
47 |
|
48 |
[tool.isort]
|
|
|
49 |
line_length = 88
|
50 |
multi_line_output = 3
|
51 |
include_trailing_comma = true
|
|
|
52 |
|
53 |
[tool.black]
|
54 |
skip-string-normalization = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
[build-system]
|
57 |
requires = ["poetry-core>=1.0.0"]
|
|
|
46 |
nbstripout = "0.6.1"
|
47 |
|
48 |
[tool.isort]
|
49 |
+
profile = "black"
|
50 |
line_length = 88
|
51 |
multi_line_output = 3
|
52 |
include_trailing_comma = true
|
53 |
+
skip = [".venv", ".tox"]
|
54 |
|
55 |
[tool.black]
|
56 |
skip-string-normalization = true
|
57 |
+
include = '\.py$'
|
58 |
+
|
59 |
+
[tool.pytest.ini_options]
|
60 |
+
testpaths = "tests/"
|
61 |
+
|
62 |
+
[tool.mypy]
|
63 |
+
python_version=3.10
|
64 |
+
files = "src/ocr_and_translate_en2jp"
|
65 |
+
ignore_missing_imports = true
|
66 |
+
disallow_untyped_defs = true
|
67 |
+
no_implicit_optional = true
|
68 |
+
allow_redefinition = true
|
69 |
+
show_error_codes = true
|
70 |
+
pretty = true
|
71 |
+
allow_untyped_globals = true
|
72 |
+
|
73 |
+
[tool.flake8]
|
74 |
+
max-line-length = 119
|
75 |
+
ignore = "D, E203, W391, W503"
|
76 |
+
exclude = " .git, .venv, __pycache__, data, dist, misc, notebooks, prof, tmp, workspacea, .tox"
|
77 |
|
78 |
[build-system]
|
79 |
requires = ["poetry-core>=1.0.0"]
|
src/ocr_and_translate_en2jp/env.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
|
3 |
+
PACKAGE_DIR = Path(__file__).parents[2]
|
4 |
+
|
5 |
+
VERSION = '0.1.0'
|
tests/__init__.py
ADDED
File without changes
|
tests/ocr_and_translate_en2jp/test_env.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from ocr_and_translate_en2jp.env import VERSION
|
2 |
+
|
3 |
+
|
4 |
+
def test_version():
|
5 |
+
assert VERSION == '0.1.0'
|
tox.ini
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tox]
|
2 |
+
envlist = py310, lint
|
3 |
+
|
4 |
+
[gh-actions]
|
5 |
+
python =
|
6 |
+
3.10: py310, lint
|
7 |
+
|
8 |
+
[testenv]
|
9 |
+
allowlist_externals =
|
10 |
+
pytest
|
11 |
+
skip_install = true
|
12 |
+
commands =
|
13 |
+
pytest tests/
|
14 |
+
|
15 |
+
[testenv:lint]
|
16 |
+
allowlist_externals =
|
17 |
+
pflake8
|
18 |
+
mypy
|
19 |
+
black
|
20 |
+
isort
|
21 |
+
skip_install = true
|
22 |
+
commands =
|
23 |
+
# pflake8 --show-source --statistics src/ tests {posargs}
|
24 |
+
# mypy . {posargs}
|
25 |
+
black --check . {posargs}
|
26 |
+
isort --check-only . {posargs}
|