A Python library for programmatic access to EU official bulletins
Project description
bulletin-fetcher
Description
bulletin-fetcher is a Python library to query and fetch official bulletins. It makes easier to work with the Official Journal Data in python, providing a high-level API and data models. Current support:
- Official Journal of the European Union (DOUE) via EUR-Lex / Cellar SPARQL endpoint.
Key Features
- Query official acts from Legal Institutions.
- Works with Python objects instead of raw JSON and gets away from Web Services.
- Easier for data manipulation and integration in notebooks through Python models.
- Keep a clean architecture with a public API layer and a data connector layer.
Installation
Install from PyPI:
pip install bulletin-fetcher
Usage
Quick Example
Fetch acts for a publication date:
from bulletin.doue.api.client import DoueBulletinClient
client = DoueBulletinClient()
acts = client.get_acts(date="2025-03-31")
print(f"Total acts: {len(acts)}")
if acts:
first = acts[0]
print(first.celex_uri)
print(first.title)
Standalone Script
The repository includes a runnable script:
python scripts/run_doue.py
Contributing
Contributions are welcome! Please follow the standard steps:
- Fork the project.
- Create a branch for your feature (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or suggestions, feel free to reach out to the author:
- Author: Diego González Suárez
- Email: gonzalezsdiego@uniovi.es
- GitHub: diegoglezsu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bulletin_fetcher-0.1.1.tar.gz.
File metadata
- Download URL: bulletin_fetcher-0.1.1.tar.gz
- Upload date:
- Size: 84.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8887a49f518992aec5037152e4f2097df37c6d37ed9eae4aec5266d8694034a
|
|
| MD5 |
df35240e75ca0c759016a9d60f3a6f3d
|
|
| BLAKE2b-256 |
7e211f18bc0a569bff7f12b8abd3ed98f42908e7ec9bfd1bfe145aba3c5a26fd
|
Provenance
The following attestation bundles were made for bulletin_fetcher-0.1.1.tar.gz:
Publisher:
publish.yml on diegoglezsu/bulletin-fetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bulletin_fetcher-0.1.1.tar.gz -
Subject digest:
d8887a49f518992aec5037152e4f2097df37c6d37ed9eae4aec5266d8694034a - Sigstore transparency entry: 1340775891
- Sigstore integration time:
-
Permalink:
diegoglezsu/bulletin-fetcher@56f8e998301d064f3f7a8b7fad714177dd9c5d34 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/diegoglezsu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@56f8e998301d064f3f7a8b7fad714177dd9c5d34 -
Trigger Event:
release
-
Statement type:
File details
Details for the file bulletin_fetcher-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bulletin_fetcher-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f7f0c0e0eb07e35eedffbe6ea1343e1db289c232e9b9c01ef87a7490219ec29
|
|
| MD5 |
07c8b1a15b93ad71b60f349291f1a3fa
|
|
| BLAKE2b-256 |
ae563776c5a678980410037af8e67869b22bbbdca82229f8c1619ecfc85c3665
|
Provenance
The following attestation bundles were made for bulletin_fetcher-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on diegoglezsu/bulletin-fetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bulletin_fetcher-0.1.1-py3-none-any.whl -
Subject digest:
6f7f0c0e0eb07e35eedffbe6ea1343e1db289c232e9b9c01ef87a7490219ec29 - Sigstore transparency entry: 1340775898
- Sigstore integration time:
-
Permalink:
diegoglezsu/bulletin-fetcher@56f8e998301d064f3f7a8b7fad714177dd9c5d34 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/diegoglezsu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@56f8e998301d064f3f7a8b7fad714177dd9c5d34 -
Trigger Event:
release
-
Statement type: