Initial commit
Browse files- Date-Real.zip +3 -0
- Date-Synth.zip +3 -0
- README.md +16 -1
- dates.py +24 -0
- poetry.lock +492 -0
- pyproject.toml +16 -0
Date-Real.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65bae5dda09c62c64b3f7cec9725722c0740697d46fb2cc6ce57c4c608144554
|
| 3 |
+
size 2391403
|
Date-Synth.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96f31cb6b2e26adef5f4479190939bdc65e793a7b5b4b19dd088c36a43cce772
|
| 3 |
+
size 391797719
|
README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
# Annotation
|
| 5 |
+
|
| 6 |
+
The provided format is a generalized representation of metadata associated with image files. Each image entry includes details such as its height and width. Additionally, it contains annotations represented as a list ("ann"), where each annotation is described by a dictionary. Each annotation dictionary includes the class of the annotation ("cls"), the bounding box coordinates ("bbox") in the format [x_min, y_min, x_max, y_max], and the transcription associated with that annotation. This format allows for the annotation of various elements within images, making it suitable for tasks such as object detection, text recognition, or any other task where spatial and semantic information needs to be annotated.
|
| 7 |
+
|
| 8 |
+
# Citation
|
| 9 |
+
|
| 10 |
+
Dataset published originally in `A Generalized Framework for Recognition of Expiration Date on Product Packages Using Fully Convolutional Networks`
|
| 11 |
+
@article{seker2022generalized,
|
| 12 |
+
title={A generalized framework for recognition of expiration dates on product packages using fully convolutional networks},
|
| 13 |
+
author={Seker, Ahmet Cagatay and Ahn, Sang Chul},
|
| 14 |
+
journal={Expert Systems with Applications},
|
| 15 |
+
pages={117310},
|
| 16 |
+
year={2022},
|
| 17 |
+
publisher={Elsevier}
|
| 18 |
+
}
|
dates.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
import os
|
| 3 |
+
import datasets
|
| 4 |
+
|
| 5 |
+
# Find for instance the citation on arxiv or on the dataset repo/website
|
| 6 |
+
_CITATION = """\
|
| 7 |
+
@article{seker2022generalized, title={A generalized framework for recognition of expiration dates on product packages using fully convolutional networks}, author={Seker, Ahmet Cagatay and Ahn, Sang Chul}, journal={Expert Systems with Applications}, pages={117310}, year={2022}, publisher={Elsevier} }
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
_DESCRIPTION = """\
|
| 11 |
+
The dataset for Date recognition in the proposed framework aims to provide annotated images that are relevant for training and evaluating models tasked with detecting dates within product labels or similar contexts.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
_HOMEPAGE = "https://acseker.github.io/ExpDateWebsite/"
|
| 15 |
+
|
| 16 |
+
_LICENSE = "https://www.apache.org/licenses/LICENSE-2.0.html"
|
| 17 |
+
|
| 18 |
+
_URLs = {
|
| 19 |
+
"dates_synth": "https://huggingface.co/datasets/dimun/dates/resolve/main/Date-Synth.zip?download=true",
|
| 20 |
+
"dates_real": "https://huggingface.co/datasets/dimun/dates/resolve/main/Date-Real.zip?download=true",
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
logger = datasets.logging.get_logger(__name__)
|
poetry.lock
ADDED
|
@@ -0,0 +1,492 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 8 |
+
|
| 9 |
+
[package.dependencies]
|
| 10 |
+
aiosignal = ">=1.1.2"
|
| 11 |
+
async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""}
|
| 12 |
+
attrs = ">=17.3.0"
|
| 13 |
+
frozenlist = ">=1.1.1"
|
| 14 |
+
multidict = ">=4.5,<7.0"
|
| 15 |
+
yarl = ">=1.0,<2.0"
|
| 16 |
+
|
| 17 |
+
[package.extras]
|
| 18 |
+
speedups = ["brotlicffi", "brotli", "aiodns"]
|
| 19 |
+
|
| 20 |
+
[[package]]
|
| 21 |
+
name = "aiosignal"
|
| 22 |
+
version = "1.3.1"
|
| 23 |
+
description = "aiosignal: a list of registered asynchronous callbacks"
|
| 24 |
+
category = "main"
|
| 25 |
+
optional = false
|
| 26 |
+
python-versions = ">=3.7"
|
| 27 |
+
|
| 28 |
+
[package.dependencies]
|
| 29 |
+
frozenlist = ">=1.1.0"
|
| 30 |
+
|
| 31 |
+
[[package]]
|
| 32 |
+
name = "async-timeout"
|
| 33 |
+
version = "4.0.3"
|
| 34 |
+
description = "Timeout context manager for asyncio programs"
|
| 35 |
+
category = "main"
|
| 36 |
+
optional = false
|
| 37 |
+
python-versions = ">=3.7"
|
| 38 |
+
|
| 39 |
+
[[package]]
|
| 40 |
+
name = "attrs"
|
| 41 |
+
version = "23.2.0"
|
| 42 |
+
description = "Classes Without Boilerplate"
|
| 43 |
+
category = "main"
|
| 44 |
+
optional = false
|
| 45 |
+
python-versions = ">=3.7"
|
| 46 |
+
|
| 47 |
+
[package.extras]
|
| 48 |
+
cov = ["attrs", "coverage[toml] (>=5.3)"]
|
| 49 |
+
dev = ["attrs", "pre-commit"]
|
| 50 |
+
docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"]
|
| 51 |
+
tests = ["attrs", "zope-interface"]
|
| 52 |
+
tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"]
|
| 53 |
+
tests-no-zope = ["attrs", "cloudpickle", "hypothesis", "pympler", "pytest-xdist", "pytest (>=4.3.0)"]
|
| 54 |
+
|
| 55 |
+
[[package]]
|
| 56 |
+
name = "certifi"
|
| 57 |
+
version = "2024.2.2"
|
| 58 |
+
description = "Python package for providing Mozilla's CA Bundle."
|
| 59 |
+
category = "main"
|
| 60 |
+
optional = false
|
| 61 |
+
python-versions = ">=3.6"
|
| 62 |
+
|
| 63 |
+
[[package]]
|
| 64 |
+
name = "charset-normalizer"
|
| 65 |
+
version = "3.3.2"
|
| 66 |
+
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
| 67 |
+
category = "main"
|
| 68 |
+
optional = false
|
| 69 |
+
python-versions = ">=3.7.0"
|
| 70 |
+
|
| 71 |
+
[[package]]
|
| 72 |
+
name = "colorama"
|
| 73 |
+
version = "0.4.6"
|
| 74 |
+
description = "Cross-platform colored terminal text."
|
| 75 |
+
category = "main"
|
| 76 |
+
optional = false
|
| 77 |
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
| 78 |
+
|
| 79 |
+
[[package]]
|
| 80 |
+
name = "datasets"
|
| 81 |
+
version = "2.18.0"
|
| 82 |
+
description = "HuggingFace community-driven open-source library of datasets"
|
| 83 |
+
category = "main"
|
| 84 |
+
optional = false
|
| 85 |
+
python-versions = ">=3.8.0"
|
| 86 |
+
|
| 87 |
+
[package.dependencies]
|
| 88 |
+
aiohttp = "*"
|
| 89 |
+
dill = ">=0.3.0,<0.3.9"
|
| 90 |
+
filelock = "*"
|
| 91 |
+
fsspec = {version = ">=2023.1.0,<=2024.2.0", extras = ["http"]}
|
| 92 |
+
huggingface-hub = ">=0.19.4"
|
| 93 |
+
multiprocess = "*"
|
| 94 |
+
numpy = ">=1.17"
|
| 95 |
+
packaging = "*"
|
| 96 |
+
pandas = "*"
|
| 97 |
+
pyarrow = ">=12.0.0"
|
| 98 |
+
pyarrow-hotfix = "*"
|
| 99 |
+
pyyaml = ">=5.1"
|
| 100 |
+
requests = ">=2.19.0"
|
| 101 |
+
tqdm = ">=4.62.1"
|
| 102 |
+
xxhash = "*"
|
| 103 |
+
|
| 104 |
+
[package.extras]
|
| 105 |
+
apache-beam = ["apache-beam (>=2.26.0)"]
|
| 106 |
+
audio = ["soundfile (>=0.12.1)", "librosa"]
|
| 107 |
+
benchmarks = ["tensorflow (==2.12.0)", "torch (==2.0.1)", "transformers (==4.30.1)"]
|
| 108 |
+
dev = ["absl-py", "joblib (<1.3.0)", "joblibspark", "pytest", "pytest-datadir", "pytest-xdist", "elasticsearch (<8.0.0)", "faiss-cpu (>=1.6.4)", "lz4", "pyspark (>=3.4)", "py7zr", "rarfile (>=4.0)", "sqlalchemy", "s3fs (>=2021.11.1)", "tiktoken", "torch (>=2.0.0)", "soundfile (>=0.12.1)", "transformers", "typing-extensions (>=4.6.1)", "zstandard", "Pillow (>=6.2.1)", "librosa", "ruff (>=0.3.0)", "s3fs", "torch", "tensorflow (>=2.3,!=2.6.0,!=2.6.1)", "tensorflow (>=2.2.0,!=2.6.0,!=2.6.1)", "jax (>=0.3.14)", "jaxlib (>=0.3.14)", "apache-beam (>=2.26.0)", "tensorflow-macos"]
|
| 109 |
+
docs = ["s3fs", "transformers", "torch", "tensorflow (>=2.2.0,!=2.6.0,!=2.6.1)", "tensorflow-macos"]
|
| 110 |
+
jax = ["jax (>=0.3.14)", "jaxlib (>=0.3.14)"]
|
| 111 |
+
metrics-tests = ["accelerate", "bert-score (>=0.3.6)", "jiwer", "langdetect", "mauve-text", "nltk", "rouge-score", "sacrebleu", "sacremoses", "scikit-learn", "scipy", "sentencepiece", "seqeval", "spacy (>=3.0.0)", "tldextract", "toml (>=0.10.1)", "typer (<0.5.0)", "requests-file (>=1.5.1)", "tldextract (>=3.1.0)", "texttable (>=1.6.3)", "Werkzeug (>=1.0.1)", "six (>=1.15.0,<1.16.0)"]
|
| 112 |
+
quality = ["ruff (>=0.3.0)"]
|
| 113 |
+
s3 = ["s3fs"]
|
| 114 |
+
tensorflow = ["tensorflow (>=2.2.0,!=2.6.0,!=2.6.1)", "tensorflow-macos"]
|
| 115 |
+
tensorflow_gpu = ["tensorflow-gpu (>=2.2.0,!=2.6.0,!=2.6.1)"]
|
| 116 |
+
tests = ["absl-py", "joblib (<1.3.0)", "joblibspark", "pytest", "pytest-datadir", "pytest-xdist", "elasticsearch (<8.0.0)", "faiss-cpu (>=1.6.4)", "lz4", "pyspark (>=3.4)", "py7zr", "rarfile (>=4.0)", "sqlalchemy", "s3fs (>=2021.11.1)", "tiktoken", "torch (>=2.0.0)", "soundfile (>=0.12.1)", "transformers", "typing-extensions (>=4.6.1)", "zstandard", "Pillow (>=6.2.1)", "librosa", "tensorflow (>=2.3,!=2.6.0,!=2.6.1)", "jax (>=0.3.14)", "jaxlib (>=0.3.14)", "apache-beam (>=2.26.0)", "tensorflow-macos"]
|
| 117 |
+
torch = ["torch"]
|
| 118 |
+
vision = ["Pillow (>=6.2.1)"]
|
| 119 |
+
|
| 120 |
+
[[package]]
|
| 121 |
+
name = "dill"
|
| 122 |
+
version = "0.3.8"
|
| 123 |
+
description = "serialize all of Python"
|
| 124 |
+
category = "main"
|
| 125 |
+
optional = false
|
| 126 |
+
python-versions = ">=3.8"
|
| 127 |
+
|
| 128 |
+
[package.extras]
|
| 129 |
+
graph = ["objgraph (>=1.7.2)"]
|
| 130 |
+
profile = ["gprof2dot (>=2022.7.29)"]
|
| 131 |
+
|
| 132 |
+
[[package]]
|
| 133 |
+
name = "filelock"
|
| 134 |
+
version = "3.13.1"
|
| 135 |
+
description = "A platform independent file lock."
|
| 136 |
+
category = "main"
|
| 137 |
+
optional = false
|
| 138 |
+
python-versions = ">=3.8"
|
| 139 |
+
|
| 140 |
+
[package.extras]
|
| 141 |
+
docs = ["furo (>=2023.9.10)", "sphinx-autodoc-typehints (>=1.24)", "sphinx (>=7.2.6)"]
|
| 142 |
+
testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)", "pytest (>=7.4.3)"]
|
| 143 |
+
typing = ["typing-extensions (>=4.8)"]
|
| 144 |
+
|
| 145 |
+
[[package]]
|
| 146 |
+
name = "frozenlist"
|
| 147 |
+
version = "1.4.1"
|
| 148 |
+
description = "A list-like structure which implements collections.abc.MutableSequence"
|
| 149 |
+
category = "main"
|
| 150 |
+
optional = false
|
| 151 |
+
python-versions = ">=3.8"
|
| 152 |
+
|
| 153 |
+
[[package]]
|
| 154 |
+
name = "fsspec"
|
| 155 |
+
version = "2024.2.0"
|
| 156 |
+
description = "File-system specification"
|
| 157 |
+
category = "main"
|
| 158 |
+
optional = false
|
| 159 |
+
python-versions = ">=3.8"
|
| 160 |
+
|
| 161 |
+
[package.dependencies]
|
| 162 |
+
aiohttp = {version = "<4.0.0a0 || >4.0.0a0,<4.0.0a1 || >4.0.0a1", optional = true, markers = "extra == \"http\""}
|
| 163 |
+
|
| 164 |
+
[package.extras]
|
| 165 |
+
abfs = ["adlfs"]
|
| 166 |
+
adl = ["adlfs"]
|
| 167 |
+
arrow = ["pyarrow (>=1)"]
|
| 168 |
+
dask = ["dask", "distributed"]
|
| 169 |
+
devel = ["pytest", "pytest-cov"]
|
| 170 |
+
dropbox = ["dropboxdrivefs", "requests", "dropbox"]
|
| 171 |
+
full = ["adlfs", "aiohttp (!=4.0.0a0,!=4.0.0a1)", "dask", "distributed", "dropbox", "dropboxdrivefs", "fusepy", "gcsfs", "libarchive-c", "ocifs", "panel", "paramiko", "pyarrow (>=1)", "pygit2", "requests", "s3fs", "smbprotocol", "tqdm"]
|
| 172 |
+
fuse = ["fusepy"]
|
| 173 |
+
gcs = ["gcsfs"]
|
| 174 |
+
git = ["pygit2"]
|
| 175 |
+
github = ["requests"]
|
| 176 |
+
gs = ["gcsfs"]
|
| 177 |
+
gui = ["panel"]
|
| 178 |
+
hdfs = ["pyarrow (>=1)"]
|
| 179 |
+
http = ["aiohttp (!=4.0.0a0,!=4.0.0a1)"]
|
| 180 |
+
libarchive = ["libarchive-c"]
|
| 181 |
+
oci = ["ocifs"]
|
| 182 |
+
s3 = ["s3fs"]
|
| 183 |
+
sftp = ["paramiko"]
|
| 184 |
+
smb = ["smbprotocol"]
|
| 185 |
+
ssh = ["paramiko"]
|
| 186 |
+
tqdm = ["tqdm"]
|
| 187 |
+
|
| 188 |
+
[[package]]
|
| 189 |
+
name = "huggingface-hub"
|
| 190 |
+
version = "0.21.3"
|
| 191 |
+
description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"
|
| 192 |
+
category = "main"
|
| 193 |
+
optional = false
|
| 194 |
+
python-versions = ">=3.8.0"
|
| 195 |
+
|
| 196 |
+
[package.dependencies]
|
| 197 |
+
filelock = "*"
|
| 198 |
+
fsspec = ">=2023.5.0"
|
| 199 |
+
packaging = ">=20.9"
|
| 200 |
+
pyyaml = ">=5.1"
|
| 201 |
+
requests = "*"
|
| 202 |
+
tqdm = ">=4.42.1"
|
| 203 |
+
typing-extensions = ">=3.7.4.3"
|
| 204 |
+
|
| 205 |
+
[package.extras]
|
| 206 |
+
all = ["InquirerPy (==0.3.4)", "aiohttp", "jedi", "jinja2", "pytest", "pytest-cov", "pytest-env", "pytest-xdist", "pytest-vcr", "pytest-asyncio", "pytest-rerunfailures", "urllib3 (<2.0)", "soundfile", "pillow", "gradio", "numpy", "ruff (>=0.1.3)", "mypy (==1.5.1)", "typing-extensions (>=4.8.0)", "types-pyyaml", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "pydantic (>1.1,<2.0)", "pydantic (>1.1,<3.0)"]
|
| 207 |
+
cli = ["InquirerPy (==0.3.4)"]
|
| 208 |
+
dev = ["InquirerPy (==0.3.4)", "aiohttp", "jedi", "jinja2", "pytest", "pytest-cov", "pytest-env", "pytest-xdist", "pytest-vcr", "pytest-asyncio", "pytest-rerunfailures", "urllib3 (<2.0)", "soundfile", "pillow", "gradio", "numpy", "ruff (>=0.1.3)", "mypy (==1.5.1)", "typing-extensions (>=4.8.0)", "types-pyyaml", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "pydantic (>1.1,<2.0)", "pydantic (>1.1,<3.0)"]
|
| 209 |
+
fastai = ["toml", "fastai (>=2.4)", "fastcore (>=1.3.27)"]
|
| 210 |
+
hf_transfer = ["hf-transfer (>=0.1.4)"]
|
| 211 |
+
inference = ["aiohttp", "pydantic (>1.1,<2.0)", "pydantic (>1.1,<3.0)"]
|
| 212 |
+
quality = ["ruff (>=0.1.3)", "mypy (==1.5.1)"]
|
| 213 |
+
tensorflow = ["tensorflow", "pydot", "graphviz"]
|
| 214 |
+
testing = ["InquirerPy (==0.3.4)", "aiohttp", "jedi", "jinja2", "pytest", "pytest-cov", "pytest-env", "pytest-xdist", "pytest-vcr", "pytest-asyncio", "pytest-rerunfailures", "urllib3 (<2.0)", "soundfile", "pillow", "gradio", "numpy", "pydantic (>1.1,<2.0)", "pydantic (>1.1,<3.0)"]
|
| 215 |
+
torch = ["torch", "safetensors"]
|
| 216 |
+
typing = ["typing-extensions (>=4.8.0)", "types-pyyaml", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3"]
|
| 217 |
+
|
| 218 |
+
[[package]]
|
| 219 |
+
name = "idna"
|
| 220 |
+
version = "3.6"
|
| 221 |
+
description = "Internationalized Domain Names in Applications (IDNA)"
|
| 222 |
+
category = "main"
|
| 223 |
+
optional = false
|
| 224 |
+
python-versions = ">=3.5"
|
| 225 |
+
|
| 226 |
+
[[package]]
|
| 227 |
+
name = "multidict"
|
| 228 |
+
version = "6.0.5"
|
| 229 |
+
description = "multidict implementation"
|
| 230 |
+
category = "main"
|
| 231 |
+
optional = false
|
| 232 |
+
python-versions = ">=3.7"
|
| 233 |
+
|
| 234 |
+
[[package]]
|
| 235 |
+
name = "multiprocess"
|
| 236 |
+
version = "0.70.16"
|
| 237 |
+
description = "better multiprocessing and multithreading in Python"
|
| 238 |
+
category = "main"
|
| 239 |
+
optional = false
|
| 240 |
+
python-versions = ">=3.8"
|
| 241 |
+
|
| 242 |
+
[package.dependencies]
|
| 243 |
+
dill = ">=0.3.8"
|
| 244 |
+
|
| 245 |
+
[[package]]
|
| 246 |
+
name = "numpy"
|
| 247 |
+
version = "1.26.4"
|
| 248 |
+
description = "Fundamental package for array computing in Python"
|
| 249 |
+
category = "main"
|
| 250 |
+
optional = false
|
| 251 |
+
python-versions = ">=3.9"
|
| 252 |
+
|
| 253 |
+
[[package]]
|
| 254 |
+
name = "packaging"
|
| 255 |
+
version = "23.2"
|
| 256 |
+
description = "Core utilities for Python packages"
|
| 257 |
+
category = "main"
|
| 258 |
+
optional = false
|
| 259 |
+
python-versions = ">=3.7"
|
| 260 |
+
|
| 261 |
+
[[package]]
|
| 262 |
+
name = "pandas"
|
| 263 |
+
version = "2.2.1"
|
| 264 |
+
description = "Powerful data structures for data analysis, time series, and statistics"
|
| 265 |
+
category = "main"
|
| 266 |
+
optional = false
|
| 267 |
+
python-versions = ">=3.9"
|
| 268 |
+
|
| 269 |
+
[package.dependencies]
|
| 270 |
+
numpy = [
|
| 271 |
+
{version = ">=1.22.4,<2", markers = "python_version < \"3.11\""},
|
| 272 |
+
{version = ">=1.23.2,<2", markers = "python_version == \"3.11\""},
|
| 273 |
+
{version = ">=1.26.0,<2", markers = "python_version >= \"3.12\""},
|
| 274 |
+
]
|
| 275 |
+
python-dateutil = ">=2.8.2"
|
| 276 |
+
pytz = ">=2020.1"
|
| 277 |
+
tzdata = ">=2022.7"
|
| 278 |
+
|
| 279 |
+
[package.extras]
|
| 280 |
+
test = ["hypothesis (>=6.46.1)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)"]
|
| 281 |
+
pyarrow = ["pyarrow (>=10.0.1)"]
|
| 282 |
+
performance = ["bottleneck (>=1.3.6)", "numba (>=0.56.4)", "numexpr (>=2.8.4)"]
|
| 283 |
+
computation = ["scipy (>=1.10.0)", "xarray (>=2022.12.0)"]
|
| 284 |
+
fss = ["fsspec (>=2022.11.0)"]
|
| 285 |
+
aws = ["s3fs (>=2022.11.0)"]
|
| 286 |
+
gcp = ["gcsfs (>=2022.11.0)", "pandas-gbq (>=0.19.0)"]
|
| 287 |
+
excel = ["odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)"]
|
| 288 |
+
parquet = ["pyarrow (>=10.0.1)"]
|
| 289 |
+
feather = ["pyarrow (>=10.0.1)"]
|
| 290 |
+
hdf5 = ["tables (>=3.8.0)"]
|
| 291 |
+
spss = ["pyreadstat (>=1.2.0)"]
|
| 292 |
+
postgresql = ["SQLAlchemy (>=2.0.0)", "psycopg2 (>=2.9.6)", "adbc-driver-postgresql (>=0.8.0)"]
|
| 293 |
+
mysql = ["SQLAlchemy (>=2.0.0)", "pymysql (>=1.0.2)"]
|
| 294 |
+
sql-other = ["SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)"]
|
| 295 |
+
html = ["beautifulsoup4 (>=4.11.2)", "html5lib (>=1.1)", "lxml (>=4.9.2)"]
|
| 296 |
+
xml = ["lxml (>=4.9.2)"]
|
| 297 |
+
plot = ["matplotlib (>=3.6.3)"]
|
| 298 |
+
output-formatting = ["jinja2 (>=3.1.2)", "tabulate (>=0.9.0)"]
|
| 299 |
+
clipboard = ["PyQt5 (>=5.15.9)", "qtpy (>=2.3.0)"]
|
| 300 |
+
compression = ["zstandard (>=0.19.0)"]
|
| 301 |
+
consortium-standard = ["dataframe-api-compat (>=0.1.7)"]
|
| 302 |
+
all = ["adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)", "beautifulsoup4 (>=4.11.2)", "bottleneck (>=1.3.6)", "dataframe-api-compat (>=0.1.7)", "fastparquet (>=2022.12.0)", "fsspec (>=2022.11.0)", "gcsfs (>=2022.11.0)", "html5lib (>=1.1)", "hypothesis (>=6.46.1)", "jinja2 (>=3.1.2)", "lxml (>=4.9.2)", "matplotlib (>=3.6.3)", "numba (>=0.56.4)", "numexpr (>=2.8.4)", "odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "pandas-gbq (>=0.19.0)", "psycopg2 (>=2.9.6)", "pyarrow (>=10.0.1)", "pymysql (>=1.0.2)", "PyQt5 (>=5.15.9)", "pyreadstat (>=1.2.0)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "qtpy (>=2.3.0)", "scipy (>=1.10.0)", "s3fs (>=2022.11.0)", "SQLAlchemy (>=2.0.0)", "tables (>=3.8.0)", "tabulate (>=0.9.0)", "xarray (>=2022.12.0)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)", "zstandard (>=0.19.0)"]
|
| 303 |
+
|
| 304 |
+
[[package]]
|
| 305 |
+
name = "pyarrow"
|
| 306 |
+
version = "15.0.0"
|
| 307 |
+
description = "Python library for Apache Arrow"
|
| 308 |
+
category = "main"
|
| 309 |
+
optional = false
|
| 310 |
+
python-versions = ">=3.8"
|
| 311 |
+
|
| 312 |
+
[package.dependencies]
|
| 313 |
+
numpy = ">=1.16.6,<2"
|
| 314 |
+
|
| 315 |
+
[[package]]
|
| 316 |
+
name = "pyarrow-hotfix"
|
| 317 |
+
version = "0.6"
|
| 318 |
+
description = ""
|
| 319 |
+
category = "main"
|
| 320 |
+
optional = false
|
| 321 |
+
python-versions = ">=3.5"
|
| 322 |
+
|
| 323 |
+
[[package]]
|
| 324 |
+
name = "python-dateutil"
|
| 325 |
+
version = "2.9.0.post0"
|
| 326 |
+
description = "Extensions to the standard Python datetime module"
|
| 327 |
+
category = "main"
|
| 328 |
+
optional = false
|
| 329 |
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
| 330 |
+
|
| 331 |
+
[package.dependencies]
|
| 332 |
+
six = ">=1.5"
|
| 333 |
+
|
| 334 |
+
[[package]]
|
| 335 |
+
name = "python-dotenv"
|
| 336 |
+
version = "1.0.1"
|
| 337 |
+
description = "Read key-value pairs from a .env file and set them as environment variables"
|
| 338 |
+
category = "dev"
|
| 339 |
+
optional = false
|
| 340 |
+
python-versions = ">=3.8"
|
| 341 |
+
|
| 342 |
+
[package.extras]
|
| 343 |
+
cli = ["click (>=5.0)"]
|
| 344 |
+
|
| 345 |
+
[[package]]
|
| 346 |
+
name = "pytz"
|
| 347 |
+
version = "2024.1"
|
| 348 |
+
description = "World timezone definitions, modern and historical"
|
| 349 |
+
category = "main"
|
| 350 |
+
optional = false
|
| 351 |
+
python-versions = "*"
|
| 352 |
+
|
| 353 |
+
[[package]]
|
| 354 |
+
name = "pyyaml"
|
| 355 |
+
version = "6.0.1"
|
| 356 |
+
description = "YAML parser and emitter for Python"
|
| 357 |
+
category = "main"
|
| 358 |
+
optional = false
|
| 359 |
+
python-versions = ">=3.6"
|
| 360 |
+
|
| 361 |
+
[[package]]
|
| 362 |
+
name = "requests"
|
| 363 |
+
version = "2.31.0"
|
| 364 |
+
description = "Python HTTP for Humans."
|
| 365 |
+
category = "main"
|
| 366 |
+
optional = false
|
| 367 |
+
python-versions = ">=3.7"
|
| 368 |
+
|
| 369 |
+
[package.dependencies]
|
| 370 |
+
certifi = ">=2017.4.17"
|
| 371 |
+
charset-normalizer = ">=2,<4"
|
| 372 |
+
idna = ">=2.5,<4"
|
| 373 |
+
urllib3 = ">=1.21.1,<3"
|
| 374 |
+
|
| 375 |
+
[package.extras]
|
| 376 |
+
socks = ["PySocks (>=1.5.6,!=1.5.7)"]
|
| 377 |
+
use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"]
|
| 378 |
+
|
| 379 |
+
[[package]]
|
| 380 |
+
name = "six"
|
| 381 |
+
version = "1.16.0"
|
| 382 |
+
description = "Python 2 and 3 compatibility utilities"
|
| 383 |
+
category = "main"
|
| 384 |
+
optional = false
|
| 385 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
| 386 |
+
|
| 387 |
+
[[package]]
|
| 388 |
+
name = "tqdm"
|
| 389 |
+
version = "4.66.2"
|
| 390 |
+
description = "Fast, Extensible Progress Meter"
|
| 391 |
+
category = "main"
|
| 392 |
+
optional = false
|
| 393 |
+
python-versions = ">=3.7"
|
| 394 |
+
|
| 395 |
+
[package.dependencies]
|
| 396 |
+
colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
| 397 |
+
|
| 398 |
+
[package.extras]
|
| 399 |
+
dev = ["pytest (>=6)", "pytest-cov", "pytest-timeout", "pytest-xdist"]
|
| 400 |
+
notebook = ["ipywidgets (>=6)"]
|
| 401 |
+
slack = ["slack-sdk"]
|
| 402 |
+
telegram = ["requests"]
|
| 403 |
+
|
| 404 |
+
[[package]]
|
| 405 |
+
name = "typing-extensions"
|
| 406 |
+
version = "4.10.0"
|
| 407 |
+
description = "Backported and Experimental Type Hints for Python 3.8+"
|
| 408 |
+
category = "main"
|
| 409 |
+
optional = false
|
| 410 |
+
python-versions = ">=3.8"
|
| 411 |
+
|
| 412 |
+
[[package]]
|
| 413 |
+
name = "tzdata"
|
| 414 |
+
version = "2024.1"
|
| 415 |
+
description = "Provider of IANA time zone data"
|
| 416 |
+
category = "main"
|
| 417 |
+
optional = false
|
| 418 |
+
python-versions = ">=2"
|
| 419 |
+
|
| 420 |
+
[[package]]
|
| 421 |
+
name = "urllib3"
|
| 422 |
+
version = "2.2.1"
|
| 423 |
+
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
| 424 |
+
category = "main"
|
| 425 |
+
optional = false
|
| 426 |
+
python-versions = ">=3.8"
|
| 427 |
+
|
| 428 |
+
[package.extras]
|
| 429 |
+
brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"]
|
| 430 |
+
h2 = ["h2 (>=4,<5)"]
|
| 431 |
+
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
|
| 432 |
+
zstd = ["zstandard (>=0.18.0)"]
|
| 433 |
+
|
| 434 |
+
[[package]]
|
| 435 |
+
name = "xxhash"
|
| 436 |
+
version = "3.4.1"
|
| 437 |
+
description = "Python binding for xxHash"
|
| 438 |
+
category = "main"
|
| 439 |
+
optional = false
|
| 440 |
+
python-versions = ">=3.7"
|
| 441 |
+
|
| 442 |
+
[[package]]
|
| 443 |
+
name = "yarl"
|
| 444 |
+
version = "1.9.4"
|
| 445 |
+
description = "Yet another URL library"
|
| 446 |
+
category = "main"
|
| 447 |
+
optional = false
|
| 448 |
+
python-versions = ">=3.7"
|
| 449 |
+
|
| 450 |
+
[package.dependencies]
|
| 451 |
+
idna = ">=2.0"
|
| 452 |
+
multidict = ">=4.0"
|
| 453 |
+
|
| 454 |
+
[metadata]
|
| 455 |
+
lock-version = "1.1"
|
| 456 |
+
python-versions = "^3.10"
|
| 457 |
+
content-hash = "4cade5b21b94b81f72df58610a3ebf8c2cdb9ccf593c5c88b919bd55c5390257"
|
| 458 |
+
|
| 459 |
+
[metadata.files]
|
| 460 |
+
aiohttp = []
|
| 461 |
+
aiosignal = []
|
| 462 |
+
async-timeout = []
|
| 463 |
+
attrs = []
|
| 464 |
+
certifi = []
|
| 465 |
+
charset-normalizer = []
|
| 466 |
+
colorama = []
|
| 467 |
+
datasets = []
|
| 468 |
+
dill = []
|
| 469 |
+
filelock = []
|
| 470 |
+
frozenlist = []
|
| 471 |
+
fsspec = []
|
| 472 |
+
huggingface-hub = []
|
| 473 |
+
idna = []
|
| 474 |
+
multidict = []
|
| 475 |
+
multiprocess = []
|
| 476 |
+
numpy = []
|
| 477 |
+
packaging = []
|
| 478 |
+
pandas = []
|
| 479 |
+
pyarrow = []
|
| 480 |
+
pyarrow-hotfix = []
|
| 481 |
+
python-dateutil = []
|
| 482 |
+
python-dotenv = []
|
| 483 |
+
pytz = []
|
| 484 |
+
pyyaml = []
|
| 485 |
+
requests = []
|
| 486 |
+
six = []
|
| 487 |
+
tqdm = []
|
| 488 |
+
typing-extensions = []
|
| 489 |
+
tzdata = []
|
| 490 |
+
urllib3 = []
|
| 491 |
+
xxhash = []
|
| 492 |
+
yarl = []
|
pyproject.toml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tool.poetry]
|
| 2 |
+
name = "dates"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
description = "dates recognition/detection dataset"
|
| 5 |
+
authors = ["Diego Fernando Muñoz <dgmzcrrls@gmail.com>"]
|
| 6 |
+
|
| 7 |
+
[tool.poetry.dependencies]
|
| 8 |
+
python = "^3.10"
|
| 9 |
+
datasets = "^2.18.0"
|
| 10 |
+
|
| 11 |
+
[tool.poetry.dev-dependencies]
|
| 12 |
+
python-dotenv = "^1.0.1"
|
| 13 |
+
|
| 14 |
+
[build-system]
|
| 15 |
+
requires = ["poetry-core>=1.0.0"]
|
| 16 |
+
build-backend = "poetry.core.masonry.api"
|