Skip to main content

Extract EuroVoc from the EU website

Project description

EuroVoc

This package provides a simple interface to the EuroVoc thesaurus.

http://publications.europa.eu/resource/dataset/eurovoc

import eurovoc
eurovoc.thesaurus_en_labels

will return a dictionary of EuroVoc labels in English.

import eurovoc

eurovoc.en_labels
eurovoc.en_identifiers

Will return a dictionnary and the reverse with term and id like :

'1892': 'meteorology',
'1893': 'methanol',
'1894': 'research method',
'1895': 'statistical method',
'1896': 'metrology',

⚠️ identifier are not always number

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eurovoc-23.10.16.0.tar.gz (142.1 kB view hashes)

Uploaded Source

Built Distribution

eurovoc-23.10.16.0-py3-none-any.whl (145.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page