https://github.com/dataesr/harvest-inpi
Harvest INPI patent data since 2010
https://github.com/dataesr/harvest-inpi
Last synced: 5 months ago
JSON representation
Harvest INPI patent data since 2010
- Host: GitHub
- URL: https://github.com/dataesr/harvest-inpi
- Owner: dataesr
- License: mit
- Created: 2023-02-28T10:16:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T09:18:23.000Z (over 2 years ago)
- Last Synced: 2025-09-11T10:49:51.995Z (9 months ago)
- Language: Python
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HARVEST-INPI
[](https://github.com/dataesr/harvest-inpi/actions/workflows/docker-image.yml)
## Release
It uses [semver](https://semver.org/).
To create a new release:
```shell
make release VERSION=x.x.x
```
### Endpoints
```/harvest_compute_split```
Harvest the INPI database with three jobs
* Download and unzip new INPI files
* Load the mongo db with new entries without history
* Load the mongo db with new entries with history
```/mongo_reload_force```
Reset the mongo db and force the load of specifed years with two jobs
args={"force_years": [list_of_years_as_string] (empty = all years)
* Reload the mongo db with entries without history
* Reload the mongo db with entries with history
```/mongo_reload_force_no_history```
Reset the mongo db and force the load of specifed years
args={"force_years": [list_of_years_as_string] (empty = all years)
* Reload the mongo db with entries without history
```/mongo_reload_force_with_history```
Reset the mongo db and force the load of specifed years
args={"force_years": [list_of_years_as_string] (empty = all years)
* Reload the mongo db with entries with history