Download & analyze business registry data
Project description
Business Registry Download
This is a tool to download business registry data from Estonian, Finnish, Latvian, Lithuanian and Czech business registers. These files are usually updated daily by the registers and contain information about companies, their officers, and other relevant information.
Happy to take PRs for other countries!
It's easy to load these files with dlt, duckdb or transform them with dbt and integrate this into your data pipelines.
The downloads are all done in parrallel and async so it's pretty fast.
To use from command line
Make sure you have uv installed
curl -LsSf https://astral.sh/uv/install.sh | sh
Run with default settings:
uvx registry_downloader
Or override options for download directory, countries, and override URL:
uvx registry_downloader --download-dir "./downloads" --countries ee --override-url ee=https://avaandmed.ariregister.rik.ee/et/avaandmete-allalaadimine
To use as a library
You can install the registry_downloader
package using either pip
or uv
. Here are examples for both:
Using pip:
pip install registry_downloader
Using uv:
uv add registry_downloader
Run with default settings:
import asyncio
from registry_downloader import run_downloader
async def main() -> None:
await run_downloader()
if __name__ == "__main__":
asyncio.run(main())
Or override options for download directory, countries, and override URL:
import asyncio
from registry_downloader import run_downloader
async def main() -> None:
await run_downloader(
download_dir="./downloads",
countries=["ee"],
override_url=["ee=https://avaandmed.ariregister.rik.ee/et/avaandmete-allalaadimine"]
)
if __name__ == "__main__":
asyncio.run(main())
To develop
- Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
- Create a virtual environment and activate it
uv venv && source .venv/bin/activate
- Install dependencies and ensure the virtual environment is in sync
uv sync
- Build the project or run it locally with defaults
uv build
or
uv run src/registry_downloader
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
Built Distribution
File details
Details for the file registry_downloader-0.1.0.tar.gz
.
File metadata
- Download URL: registry_downloader-0.1.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ffe605ddeb56408b9da052a2a72beca06f52be0cb17c25c3d233a13b53b0ad |
|
MD5 | e4f6d70baef4c95cb13079cb0994d04d |
|
BLAKE2b-256 | f08f58624925d5cbf26427d6cd7fdae59510a60d91b2c48689ff8e9f3c0d6d82 |
File details
Details for the file registry_downloader-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: registry_downloader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6051a65ca022fe536ff5a86a226546689824bd4b683425236780c836ffce7f7f |
|
MD5 | 7ffbd3fb639d1e607cea35847510b24f |
|
BLAKE2b-256 | c0003ea433e4a552bd3c5b8a27f703e4ced70d00ad2eeb45860289fa88ef929f |