Metadata-Version: 2.1
Name: bitwarden-exporter
Version: 1.3.3
Summary: Export Bitwarden vault
Home-page: https://github.com/arpanrec/bitwarden-exporter
License: MIT
Keywords: bitwarden,export,keepass,backup
Author: arpan
Author-email: arpan.rec@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Security
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: System :: Archiving
Classifier: Topic :: System :: Archiving :: Backup
Classifier: Topic :: System :: Recovery Tools
Classifier: Topic :: Utilities
Requires-Dist: cachier (==3.1.2)
Requires-Dist: gnupg (==2.3.1)
Requires-Dist: pydantic (==2.9.2)
Requires-Dist: pyfiglet (==1.0.2)
Requires-Dist: pykeepass (==4.1.0.post1)
Project-URL: Documentation, https://github.com/arpanrec/bitwarden-exporter/blob/main/README.md
Project-URL: Repository, https://github.com/arpanrec/bitwarden-exporter.git
Description-Content-Type: text/markdown

# 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

