mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-10-20 08:29:23 +02:00
Compare commits
19 Commits
22b2e3b8ae
...
renovate/l
Author | SHA1 | Date | |
---|---|---|---|
|
83051264ac | ||
cdd4e60d6b | |||
9264a9a8fa | |||
|
d7c6323a3f | ||
|
42079cb37d | ||
584c456176 | |||
|
1042e46c6b | ||
69653a13a6
|
|||
c6d196dee1
|
|||
69b37c612d | |||
|
87978b8bc9 | ||
78a5c00636 | |||
|
4a6f142800 | ||
9ed493aa9d | |||
bb459c963a | |||
|
23c16c57cb | ||
|
11f61342fb | ||
071c2ac03a
|
|||
d051841de0
|
4
.github/workflows/python-app.yml
vendored
4
.github/workflows/python-app.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
version: 'latest'
|
||||
- run: uv sync
|
||||
|
@@ -4,6 +4,10 @@ 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
|
||||
|
@@ -7,8 +7,8 @@ authors = [
|
||||
]
|
||||
license= { file = "LICENSE.txt" }
|
||||
dependencies = [
|
||||
"pandas[feather,performance]~=2.2.3",
|
||||
"python-stdnum~=1.20",
|
||||
"pandas[feather,performance]~=2.3.1",
|
||||
"python-stdnum~=2.1",
|
||||
"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.7.19,<0.8.0"]
|
||||
requires = ["uv_build>=0.8.8,<0.9.0"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[dependency-groups]
|
||||
|
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"pip_requirements": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
9
renovate.json5
Normal file
9
renovate.json5
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||
lockFileMaintenance: {
|
||||
enabled: true,
|
||||
},
|
||||
pip_requirements: {
|
||||
enabled: false
|
||||
}
|
||||
}
|
@@ -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.uniroma2.it/agrovoc/rest/v1/agrovoc/search"
|
||||
request_url = "https://agrovoc.fao.org/browse/rest/v1/search"
|
||||
request_params = {"query": value}
|
||||
|
||||
request = requests.get(request_url, params=request_params)
|
||||
|
Reference in New Issue
Block a user