# Bitwarden Exporter
```text
____ _ _ _
| __ )(_) |___ ____ _ _ __ __| | ___ _ __
| _ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \
| |_) | | |_ \ V V / (_| | | | (_| | __/ | | |
|____/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_|
_____ _
| ____|_ ___ __ ___ _ __| |_ ___ _ __
| _| \ \/ / '_ \ / _ \| '__| __/ _ \ '__|
| |___ > <| |_) | (_) | | | || __/ |
|_____/_/\_\ .__/ \___/|_| \__\___|_|
```
Python Wrapper for [Password Manager CLI](https://bitwarden.com/help/cli/) for exporting bitwarden vaults with **attachments**.
This allows you to take a whole backup of your bitwarden vault, including organizations where you don't have access for admin/owner.
## Prerequisites
- [Bitwarden CLI](https://bitwarden.com/help/article/cli/#download-and-install)
- [python-poetry](https://python-poetry.org/docs/#installation)
## Installation
Install with [pipx](https://github.com/pypa/pipx).
```bash
pipx install bitwarden-exporter
```
## Options
```bash
bitwarden-exporter --help
```
```text
-h, --help show this help message and exit
-l EXPORT_LOCATION, --export-location EXPORT_LOCATION
Bitwarden Export Location, Default: bitwarden_dump_<timestamp>.kdbx, This is a dynamic value, Just in case if it exists, it will be overwritten
-p EXPORT_PASSWORD, --export-password EXPORT_PASSWORD
Bitwarden Export Password, It is recommended to use a password file
-pf EXPORT_PASSWORD_FILE, --export-password-file EXPORT_PASSWORD_FILE
Bitwarden Export Password File, Mutually Exclusive with --export-password
--allow-duplicates, --no-allow-duplicates
Allow Duplicates entries in Export, In bitwarden each item can be in multiple collections, Default: --no-allow-duplicates
--tmp-dir TMP_DIR Temporary Directory to store temporary sensitive files, Make sure to delete it after the export, Default: /home/arpan/workspace/bitwarden-
exporter/bitwarden_dump_attachments
--verbose, --no-verbose
Enable Verbose Logging, This will print debug logs, THAT MAY CONTAIN SENSITIVE INFORMATION, Default: --no-verbose
```
## Roadmap
Make a cloud ready option for bitwarden zero touch backup
- Upload to cloud storage.
## Credits
[@ckabalan](https://github.com/ckabalan) for [bitwarden-attachment-exporter](https://github.com/ckabalan/bitwarden-attachment-exporter)
## License
MIT
Raw data
{
"_id": null,
"home_page": "https://github.com/arpanrec/bitwarden-exporter",
"name": "bitwarden-exporter",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "bitwarden, export, keepass, backup",
"author": "arpan",
"author_email": "arpan.rec@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7d/62/bd939bfc305b50a10440a410aeecf101371d04f6472461b0cc5af749bf49/bitwarden_exporter-1.3.3.tar.gz",
"platform": null,
"description": "# Bitwarden Exporter\n\n```text\n ____ _ _ _ \n| __ )(_) |___ ____ _ _ __ __| | ___ _ __ \n| _ \\| | __\\ \\ /\\ / / _` | '__/ _` |/ _ \\ '_ \\ \n| |_) | | |_ \\ V V / (_| | | | (_| | __/ | | |\n|____/|_|\\__| \\_/\\_/ \\__,_|_| \\__,_|\\___|_| |_|\n \n _____ _ \n| ____|_ ___ __ ___ _ __| |_ ___ _ __ \n| _| \\ \\/ / '_ \\ / _ \\| '__| __/ _ \\ '__|\n| |___ > <| |_) | (_) | | | || __/ | \n|_____/_/\\_\\ .__/ \\___/|_| \\__\\___|_| \n```\n\nPython Wrapper for [Password Manager CLI](https://bitwarden.com/help/cli/) for exporting bitwarden vaults with **attachments**.\n\nThis allows you to take a whole backup of your bitwarden vault, including organizations where you don't have access for admin/owner.\n\n## Prerequisites\n\n- [Bitwarden CLI](https://bitwarden.com/help/article/cli/#download-and-install)\n- [python-poetry](https://python-poetry.org/docs/#installation)\n\n## Installation\n\nInstall with [pipx](https://github.com/pypa/pipx).\n\n```bash\npipx install bitwarden-exporter\n```\n\n## Options\n\n```bash\nbitwarden-exporter --help\n```\n\n```text\n -h, --help show this help message and exit\n -l EXPORT_LOCATION, --export-location EXPORT_LOCATION\n Bitwarden Export Location, Default: bitwarden_dump_<timestamp>.kdbx, This is a dynamic value, Just in case if it exists, it will be overwritten\n -p EXPORT_PASSWORD, --export-password EXPORT_PASSWORD\n Bitwarden Export Password, It is recommended to use a password file\n -pf EXPORT_PASSWORD_FILE, --export-password-file EXPORT_PASSWORD_FILE\n Bitwarden Export Password File, Mutually Exclusive with --export-password\n --allow-duplicates, --no-allow-duplicates\n Allow Duplicates entries in Export, In bitwarden each item can be in multiple collections, Default: --no-allow-duplicates\n --tmp-dir TMP_DIR Temporary Directory to store temporary sensitive files, Make sure to delete it after the export, Default: /home/arpan/workspace/bitwarden-\n exporter/bitwarden_dump_attachments\n --verbose, --no-verbose\n Enable Verbose Logging, This will print debug logs, THAT MAY CONTAIN SENSITIVE INFORMATION, Default: --no-verbose\n```\n\n## Roadmap\n\nMake a cloud ready option for bitwarden zero touch backup\n\n- Upload to cloud storage.\n\n## Credits\n\n[@ckabalan](https://github.com/ckabalan) for [bitwarden-attachment-exporter](https://github.com/ckabalan/bitwarden-attachment-exporter)\n\n## License\n\nMIT\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Export Bitwarden vault",
"version": "1.3.3",
"project_urls": {
"Documentation": "https://github.com/arpanrec/bitwarden-exporter/blob/main/README.md",
"Homepage": "https://github.com/arpanrec/bitwarden-exporter",
"Repository": "https://github.com/arpanrec/bitwarden-exporter.git"
},
"split_keywords": [
"bitwarden",
" export",
" keepass",
" backup"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "93ba8ab63977571cf1f2f005d585b91915931fb2b07eafbf5281b7ba37756f91",
"md5": "f6e17e5a8a3b65354a46ed481898838a",
"sha256": "f8f7595600e57b596221b1978ded4b4cab338e9e2c85cb3bdacb2a20bef8f85d"
},
"downloads": -1,
"filename": "bitwarden_exporter-1.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f6e17e5a8a3b65354a46ed481898838a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 12823,
"upload_time": "2024-11-13T19:32:33",
"upload_time_iso_8601": "2024-11-13T19:32:33.813724Z",
"url": "https://files.pythonhosted.org/packages/93/ba/8ab63977571cf1f2f005d585b91915931fb2b07eafbf5281b7ba37756f91/bitwarden_exporter-1.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d62bd939bfc305b50a10440a410aeecf101371d04f6472461b0cc5af749bf49",
"md5": "3eb31b0b3b7e28ea5b838166822d683c",
"sha256": "980db740170e8cc138cd068815024fa23af0d8af7c424bfd464099b588f8c51a"
},
"downloads": -1,
"filename": "bitwarden_exporter-1.3.3.tar.gz",
"has_sig": false,
"md5_digest": "3eb31b0b3b7e28ea5b838166822d683c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 11306,
"upload_time": "2024-11-13T19:32:35",
"upload_time_iso_8601": "2024-11-13T19:32:35.245422Z",
"url": "https://files.pythonhosted.org/packages/7d/62/bd939bfc305b50a10440a410aeecf101371d04f6472461b0cc5af749bf49/bitwarden_exporter-1.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 19:32:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "arpanrec",
"github_project": "bitwarden-exporter",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "bitwarden-exporter"
}