IOD 2025 Data Loader 🦆
A simple Python package and CLI for downloading and loading the latest English Indices of Deprivation 2025 data into DuckDB.
IOD Source Data -> Click Here
Installation
pip install iod-loader
Or with uv:
uv add iod-loader
Quick Start
CLI Usage (Recommended)
Use the CLI tool to load and query the data directly.
# Load all IOD 2025 data
iod load
# List all tables
iod list-tables
# Query the data
iod query "SELECT * FROM your_schema.your_table LIMIT 10"
Python Library Usage
Or use in a Python script.
from IodLoader import load_with_progress
if __name__ == "__main__":
load_with_progress()
Database Structure
The loader creates a DuckDB database with the following structure:
- Schemas: Named after the Excel filename
- Tables: Named after the Excel sheet names
Querying the Data
You can query the data through:
- CLI tool:
iod query "SELECT * FROM ..." - Python package: Import
queryfromIodLoader - DuckDB CLI: Run
duckdb IOD2025.duckdbin your terminal
Example Query
iod query "SELECT * FROM file_2_iod2025_domains_of_deprivation.iod2025_domains LIMIT 10"
Metadata
Release files for IODLoader 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iodloader-0.1.0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iodloader-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / iodloader-0.1.0.tar.gz
| Download URL | iodloader-0.1.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7178cb205d5226bfb400ae9ac6a61c600b37c547c4a1b38178c08013afccca7
|
|
BLAKE2b-256 checksum How to use checksums |
4baf8e1d45a10f1fe98733fbac08900c8ed8a6db30b0cbad0f4d5a65edfc208b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|
Release files / iodloader-0.1.0-py3-none-any.whl
| Download URL | iodloader-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f82312d06a672f6506f15af20f2d8607b92d9fc1eea796b4a8c984b76f3f1ecb
|
|
BLAKE2b-256 checksum How to use checksums |
64f64efde6c1b3eb3f69a647801b3f8d6f14c44657b2c5685044d65b0d4cc1d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|