A previous release had provenance metadata, but this release does not. View details.
otb-cbso-webservice-pyclient
Download Belgian annual accounts from the National Bank's Central Balance Sheet Office (CBSO).
Use the Python package or the cbso-fetch command.
The package downloads authentic and improved accounts to a local directory or S3. It can also validate saved files, repair missing files, and collect consolidated accounts. All operations run sequentially.
Installation
Use Python 3.10 or later. Install from PyPI.
pip install otb-cbso-webservice-pyclient
Install the S3 extra for S3 destinations.
pip install 'otb-cbso-webservice-pyclient[s3]'
Subscription keys
Set the keys for the services you need.
| Environment variable | Service |
|---|---|
CBSO_KEY_AUTHENTIC |
Individual authentic references and account files |
CBSO_KEY_EXTRACTS |
Daily authentic batches |
CBSO_KEY_AUTHENTIC_ARCHIVE |
Authentic archive batches |
CBSO_KEY_IMPROVED |
Individual improved files and daily batches |
CBSO_KEY_IMPROVED_ARCHIVE |
Improved archive batches |
Validation and consolidated filtering need no CBSO keys. See Configuration for subscriptions, S3 access, and environments.
Basic use
Fetch authentic and improved filings for an enterprise:
export CBSO_KEY_AUTHENTIC='your-authentic-subscription-key'
export CBSO_KEY_IMPROVED='your-improved-subscription-key'
cbso-fetch download-enterprise BE0203.201.340 --destination ./data
The destination can also be an S3 prefix, such as s3://my-bucket/cbso.
Production is the default environment. Use --env test for UAT2 downloads and repairs.
Commands
| Command | Purpose |
|---|---|
| download | Download batches for selected past dates |
| download-enterprise | Download filings for enterprise numbers |
| download-reference | Download authentic filings by reference number |
| validate | Check authentic files against saved references |
| validate-improved | Check improved JSON and expected OCR files |
| repair | Resolve references and restore authentic files |
| repair-improved | Resolve references and restore improved JSON |
| download-pdf-only-accounts | Download missing PDFs for PDF-only filings |
| filter-consolidated-accounts | Collect references and move consolidated PDFs |
Use cbso-fetch --help to list commands.
Use cbso-fetch COMMAND --help for command options.
Documentation
- Configuration: subscriptions, environments, S3 access, and logging.
- Commands: examples, formats, validation, repair, and dry runs.
- Python package: library operations and client ownership.
- Storage and reports: file layout, repeated runs, and results.
- Contributing: development setup, checks, and releases.
Licence
Proprietary. © openthebox.
Metadata
Release files for otb-cbso-webservice-pyclient 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| otb_cbso_webservice_pyclient-2.3.0.tar.gz | 25.2 kB | Without provenance | Details for otb_cbso_webservice_pyclient-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| otb_cbso_webservice_pyclient-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for otb_cbso_webservice_pyclient-2.3.0-py3-none-any.whl |
Total release size: 60.0 kB
Release files / otb_cbso_webservice_pyclient-2.3.0.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | otb_cbso_webservice_pyclient-2.3.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b1fb98da203d7b2cc70d833691c135849c9d69098897014d097fb4bcceb0c0d
|
|
BLAKE2b-256 checksum How to use checksums |
cc7cbd060becae630690444c29ef62c1c0c16ade7c9476d2d9400e1c521e64b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / otb_cbso_webservice_pyclient-2.3.0-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | otb_cbso_webservice_pyclient-2.3.0-py3-none-any.whl |
|---|---|
| Size | 34.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b701c126a834dca2a511ac500be030c051d0ff84b01e7c37e659525d152452c
|
|
BLAKE2b-256 checksum How to use checksums |
aad4967c6b3de0c4cc34a18cce0a6393fe3618a2e2e23b0165ef4dbee69a69c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for otb-cbso-webservice-pyclient 2.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 2.2.0 2 files With provenance
- Added 2.3.0 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.