IMDLoader


NameIMDLoader JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryDownload and process English Indices of Deprivation data files
upload_time2025-11-01 21:34:00
maintainerNone
docs_urlNone
authorChris Carlon
requires_python>=3.10
licenseMIT
keywords data-loading duckdb imd indices-of-deprivation uk-statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # IMD 2025 Data Loader 🦆

A simple Python package for downloading and loading the latest English Indices of Deprivation 2025 data into DuckDB.

IMD Source Data -> [Click Here](https://www.gov.uk/government/statistics/english-indices-of-deprivation-2025)

## Installation

```bash
pip install imd-loader
```

Or with uv:

```bash
uv add imd-loader
```

## Quick Start

### Simple Usage

Use in a Python script.

```python
from ImdLoader import load_with_progress

if __name__ == "__main__":
    load_with_progress()
```

Or use the cli tool to load directly.

```bash
imd load
```

## 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

E.g. File_2_IoD2025_Domains_of_Deprivation.IoD2025_Domains

## Query Data

You can query the data through:

- The cli tool
- Via the package itself - just import 'query'
- Via a local duckdb seesion - just run ducdb -ui in your termianal and attach the .duckdb file

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "IMDLoader",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "data-loading, duckdb, imd, indices-of-deprivation, uk-statistics",
    "author": "Chris Carlon",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/81/85/94a58385744c4781a7418e6a6bfcaad30682261037d5181b25d0bcae4c35/imdloader-0.1.1.tar.gz",
    "platform": null,
    "description": "# IMD 2025 Data Loader \ud83e\udd86\n\nA simple Python package for downloading and loading the latest English Indices of Deprivation 2025 data into DuckDB.\n\nIMD Source Data -> [Click Here](https://www.gov.uk/government/statistics/english-indices-of-deprivation-2025)\n\n## Installation\n\n```bash\npip install imd-loader\n```\n\nOr with uv:\n\n```bash\nuv add imd-loader\n```\n\n## Quick Start\n\n### Simple Usage\n\nUse in a Python script.\n\n```python\nfrom ImdLoader import load_with_progress\n\nif __name__ == \"__main__\":\n    load_with_progress()\n```\n\nOr use the cli tool to load directly.\n\n```bash\nimd load\n```\n\n## Database Structure\n\nThe loader creates a DuckDB database with the following structure:\n\n- **Schemas**: Named after the Excel filename\n- **Tables**: Named after the Excel sheet names\n\nE.g. File_2_IoD2025_Domains_of_Deprivation.IoD2025_Domains\n\n## Query Data\n\nYou can query the data through:\n\n- The cli tool\n- Via the package itself - just import 'query'\n- Via a local duckdb seesion - just run ducdb -ui in your termianal and attach the .duckdb file\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Download and process English Indices of Deprivation data files",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/CHRISCARLON/imd-loader",
        "Issues": "https://github.com/CHRISCARLON/imd-loader/issues",
        "Repository": "https://github.com/CHRISCARLON/imd-loader"
    },
    "split_keywords": [
        "data-loading",
        " duckdb",
        " imd",
        " indices-of-deprivation",
        " uk-statistics"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d37e34b191d7b5aac1b4a61c102d445a4edfe53c9770b274e84aebc10546b3a0",
                "md5": "971b252ad68140d22f54f1d54f29e616",
                "sha256": "e9a3a73b71b5bcfa3022b88cf25fdeb5b239a7473fa539873d6174d28b48ed6a"
            },
            "downloads": -1,
            "filename": "imdloader-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "971b252ad68140d22f54f1d54f29e616",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7674,
            "upload_time": "2025-11-01T21:33:59",
            "upload_time_iso_8601": "2025-11-01T21:33:59.828410Z",
            "url": "https://files.pythonhosted.org/packages/d3/7e/34b191d7b5aac1b4a61c102d445a4edfe53c9770b274e84aebc10546b3a0/imdloader-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "818594a58385744c4781a7418e6a6bfcaad30682261037d5181b25d0bcae4c35",
                "md5": "70a7a88a7092d06ce36e5daaed0bf7ad",
                "sha256": "5b158c6f6be6a5c9c6b7bec025a88f9caedc00a2fc6d9e749b5999c1a1780199"
            },
            "downloads": -1,
            "filename": "imdloader-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "70a7a88a7092d06ce36e5daaed0bf7ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 7803,
            "upload_time": "2025-11-01T21:34:00",
            "upload_time_iso_8601": "2025-11-01T21:34:00.668101Z",
            "url": "https://files.pythonhosted.org/packages/81/85/94a58385744c4781a7418e6a6bfcaad30682261037d5181b25d0bcae4c35/imdloader-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-11-01 21:34:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "CHRISCARLON",
    "github_project": "imd-loader",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "imdloader"
}
        
Elapsed time: 1.16784s