From 409d208d676ffc28d3eba830c865cc89c2fb397d Mon Sep 17 00:00:00 2001 From: David Almeida Date: Wed, 18 Sep 2024 10:15:33 +0200 Subject: [PATCH] Add pysquirrel as a dependency --- poetry.lock | 39 ++++++++++++++++++++++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index ef9e3660..172f0834 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1632,6 +1632,27 @@ files = [ dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] +[[package]] +name = "pooch" +version = "1.8.2" +description = "A friend to fetch your data files" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pooch-1.8.2-py3-none-any.whl", hash = "sha256:3529a57096f7198778a5ceefd5ac3ef0e4d06a6ddaf9fc2d609b806f25302c47"}, + {file = "pooch-1.8.2.tar.gz", hash = "sha256:76561f0de68a01da4df6af38e9955c4c9d1a5c90da73f7e40276a5728ec83d10"}, +] + +[package.dependencies] +packaging = ">=20.0" +platformdirs = ">=2.5.0" +requests = ">=2.19.0" + +[package.extras] +progress = ["tqdm (>=4.41.0,<5.0.0)"] +sftp = ["paramiko (>=2.7.0)"] +xxhash = ["xxhash (>=1.4.3)"] + [[package]] name = "psycopg" version = "3.2.1" @@ -1962,6 +1983,22 @@ files = [ [package.extras] diagrams = ["jinja2", "railroad-diagrams"] +[[package]] +name = "pysquirrel" +version = "1.0" +description = "Python package designed to fetch NUTS administrative divisions" +optional = false +python-versions = "<4.0,>=3.10" +files = [ + {file = "pysquirrel-1.0-py3-none-any.whl", hash = "sha256:d82759a31733ecda1fb045a0a2219fba02b37ac799b836c00aa95bf66f91a400"}, + {file = "pysquirrel-1.0.tar.gz", hash = "sha256:ee79915a7140d159a010752dd1ddb7657ad2cc33f0ae53f8c875f3b7c1dfc273"}, +] + +[package.dependencies] +openpyxl = ">=3.1.5,<4.0.0" +pooch = ">=1.8.2,<2.0.0" +pydantic = ">=2.8.2,<3.0.0" + [[package]] name = "pytest" version = "7.4.4" @@ -2752,4 +2789,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.10, <3.13" -content-hash = "2a354b1d50af361bbdf9a7504023f465e51e29c586d576343a256b3adee6564b" +content-hash = "221a67798f75a847f8a27f3a2d1ba40b19a5c791ee741b94dd527829b8571979" diff --git a/pyproject.toml b/pyproject.toml index 55befa73..5b3ba6ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ pydantic = "^2" PyYAML = "^6.0.1" pandas = ">=1.5.2" pycountry = "23.12.11" # pin to guard against "silent" changes in country names +pysquirrel = "1.0" gitpython = "^3.1.40" numpy = "^1.23.0"