1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-11-08 08:29:09 +01:00

1 Commits

Author SHA1 Message Date
renovate[bot]
c66c5d910d chore(deps): update dependency ipython to v9 2025-07-03 11:38:07 +00:00
7 changed files with 437 additions and 615 deletions

View File

@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v5
with:
version: 'latest'
- run: uv sync

View File

@@ -4,10 +4,6 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- New AGROVOC REST API URL
## [0.7.0] - 2025-01-31
### Added
- Ability to normalize DOIs to https://doi.org URI format

View File

@@ -7,8 +7,8 @@ authors = [
]
license= { file = "LICENSE.txt" }
dependencies = [
"pandas[feather,performance]~=2.3.1",
"python-stdnum~=2.1",
"pandas[feather,performance]~=2.2.3",
"python-stdnum~=1.20",
"requests~=2.32.3",
"requests-cache~=1.2.1",
"colorama~=0.4",
@@ -40,7 +40,7 @@ csv-metadata-quality = 'csv_metadata_quality.__main__:main'
# See: https://docs.astral.sh/uv/concepts/build-backend/
[build-system]
requires = ["uv_build>=0.8.8,<0.9.0"]
requires = ["uv_build>=0.7.19,<0.8.0"]
build-backend = "uv_build"
[dependency-groups]
@@ -48,7 +48,7 @@ dev = [
"pytest~=8.3",
"isort~=6.0",
"csvkit~=2.0",
"ipython~=8.31",
"ipython~=9.4",
]
[tool.isort]

9
renovate.json Normal file
View File

@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"pip_requirements": {
"enabled": false
}
}

View File

@@ -1,9 +0,0 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
lockFileMaintenance: {
enabled: true,
},
pip_requirements: {
enabled: false
}
}

View File

@@ -206,7 +206,7 @@ def agrovoc(field, field_name, drop):
# Try to split multi-value field on "||" separator
for value in field.split("||"):
request_url = "https://agrovoc.fao.org/browse/rest/v1/search"
request_url = "https://agrovoc.uniroma2.it/agrovoc/rest/v1/agrovoc/search"
request_params = {"query": value}
request = requests.get(request_url, params=request_params)

1016
uv.lock generated

File diff suppressed because it is too large Load Diff