Skip to main content

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

  1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create a virtual environment and activate it
uv venv && source .venv/bin/activate
  1. Install dependencies and ensure the virtual environment is in sync
uv sync
  1. 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

registry_downloader-0.1.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

registry_downloader-0.1.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file registry_downloader-0.1.2.tar.gz.

File metadata

File hashes

Hashes for registry_downloader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b8d3e49bf1b287c3f41e7679e3abf9f3f454a8b9aabee9430e21557e3ada9aa
MD5 9f048119cc0a419bab4bc4eb71d05917
BLAKE2b-256 ed0dcd4cdabc69fa1e11a8f6745704ac5a97e4fdd72a2380b5a9fd20325c8e09

See more details on using hashes here.

File details

Details for the file registry_downloader-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for registry_downloader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 841bf5b3af7f8bba2b58995368950333fb2c1248598e9b8edf6bb95502f11f1a
MD5 c28f4d129d5ae07d025c6e595d430b39
BLAKE2b-256 37c01e3da19c8818a4edf98d52f9993f928c0f793488e6bdfe1ffd02865360b8

See more details on using hashes here.

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