{"id":15432916,"url":"https://github.com/simonw/mbox-to-sqlite","last_synced_at":"2025-04-19T17:50:44.998Z","repository":{"id":57697917,"uuid":"498453589","full_name":"simonw/mbox-to-sqlite","owner":"simonw","description":"Load email from .mbox files into SQLite","archived":false,"fork":false,"pushed_at":"2023-10-24T00:01:42.000Z","size":9,"stargazers_count":25,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-18T07:53:17.438Z","etag":null,"topics":["email","mbox","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-31T18:31:44.000Z","updated_at":"2024-10-13T19:09:01.000Z","dependencies_parsed_at":"2024-10-20T20:19:16.495Z","dependency_job_id":null,"html_url":"https://github.com/simonw/mbox-to-sqlite","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"9c1e65a1c353572c4b0262236537559c548723cd"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fmbox-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fmbox-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fmbox-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fmbox-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/mbox-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249753082,"owners_count":21320664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","mbox","sqlite"],"created_at":"2024-10-01T18:29:18.297Z","updated_at":"2025-04-19T17:50:44.969Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbox-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/mbox-to-sqlite.svg)](https://pypi.org/project/mbox-to-sqlite/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/mbox-to-sqlite?include_prereleases\u0026label=changelog)](https://github.com/simonw/mbox-to-sqlite/releases)\n[![Tests](https://github.com/simonw/mbox-to-sqlite/workflows/Test/badge.svg)](https://github.com/simonw/mbox-to-sqlite/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/mbox-to-sqlite/blob/master/LICENSE)\n\nLoad email from .mbox files into SQLite\n\n## Installation\n\nInstall this tool using `pip`:\n\n    pip install mbox-to-sqlite\n\n## Usage\n\nUse the `mbox` command to import a `.mbox` file into a SQLite database:\n\n    mbox-to-sqlite mbox emails.db path/to/messages.mbox\n\nYou can try this out against an example containing a sample of 3,266 emails from the [Enron corpus](https://en.wikipedia.org/wiki/Enron_Corpus) like this:\n\n    curl -O https://raw.githubusercontent.com/ivanhb/EMA/master/server/data/mbox/enron/mbox-enron-white-s-all.mbox\n    mbox-to-sqlite mbox enron.db mbox-enron-white-s-all.mbox\n\nYou can then explore the resulting database using [Datasette](https://datasette.io/):\n\n    datasette enron.db\n\n## Development\n\nTo contribute to this tool, first checkout the code. Then create a new virtual environment:\n\n    cd mbox-to-sqlite\n    python -m venv venv\n    source venv/bin/activate\n\nNow install the dependencies and test dependencies:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fmbox-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fmbox-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fmbox-to-sqlite/lists"}