Supported Backends
Multiple backends are supported by default. And you can always roll out your own!
Installation
To install specific backends, install the corresponding extras. For example:
Schemas
To access a specific backend, simplest is to use URLs. For example:
Supported Backends
Backend | Example URL | Installation |
---|---|---|
Filesystem | file://path/to/folder |
No deps |
SQL (sqlalchemy ) |
sql+postgresql://user:pass@host/db |
python-kv[sql] |
Redis | redis://localhost:6379/0 |
python-kv[redis] |
Azure Blob Storage | azure+blob://<connection_string> |
python-kv[blob] |
Azure Cosmos DB | azure+cosmos://<connection_string> |
python-kv[cosmos] |
HTTP Client | http://example.com/kv |
python-kv[client] |
Next up, a powerful mechanism: prefixing