Docstorage
Docstorage is a small, local document library for people who want their files organized without running a server, configuring a web application, or sending anything to the cloud.
It is designed for personal documents such as mail, registrations, letters, invoices and certificates. Its focus is deliberately narrow: reliably storing raw files, attaching useful metadata, and making matching files available when you need them.
The app stores a copy of the files given to it in its internal storage. By default, the original files remain at their
source locations. If desired, set the delete-original configuration option to True to remove each source file after
it has been imported successfully. All further management is then done via the CLI.
You can find more on the product and the user story in docs/PRODUCT.md
on GitHub.
Installation guide
- Make sure you have python (>=3.12) and pipx (>=1.4.0) installed
- Run
pipx install docstorage - Reopen terminal and set up the landing directory of your choice with
docstorage config set landing-directory <your directory>
The default landing directory is <DOCUMENT-DIR>/docstorage. It's recommended to specify the custom directory from the
get-go.
CLI Examples
Import a file:
docstorage import "path/to/doc.pdf"
docstorage import --description "Bank statement" --date-created 2025-01-05 --tags bank,finance "path/to/file.pdf"
Imports copy files by default. To move files instead, enable source deletion:
docstorage config set delete-original True
Fetch matching files into the configured landing directory:
docstorage fetch --tags finance --date-created ">=2025-01-01"
docstorage fetch --name "certificate.pdf"
docstorage fetch "*"
Inspect or maintain the library:
docstorage overview
docstorage config list
You can find the complete CLI reference in docs/CLI.md
on GitHub.
Technical description
The index uses SQLite, while Python manages file copying, optional source deletion, and serving. Files are tracked with SHA-256 hashes. Import and retrieval operations are flag-based so common document workflows do not require writing SQL.
You can find detailed technical description in docs/DESIGN.md
on GitHub.
A developer / contributor getting-started guide is in docs/DEV.md
on GitHub.
Metadata
Release files for docstorage 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docstorage-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for docstorage-0.0.5-py3-none-any.whl |
Release files / docstorage-0.0.5-py3-none-any.whl
| Download URL | docstorage-0.0.5-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8648d8510d99dff2a35404beabf3fdd654be52990a6c4f4930fc59186b894f45
|
|
BLAKE2b-256 checksum How to use checksums |
c20b7b8224553591b228596039bdbddb1dac1244059d3468530523f1c3d498b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.4 Linux/7.0.0-1017-azure
|
Security for docstorage 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.