persista 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. persista-0.0.1/.gitignore +218 -0
  2. persista-0.0.1/LICENSE +28 -0
  3. persista-0.0.1/PKG-INFO +289 -0
  4. persista-0.0.1/README.md +225 -0
  5. persista-0.0.1/persista/__init__.py +13 -0
  6. persista-0.0.1/persista/cache/__init__.py +27 -0
  7. persista-0.0.1/persista/cache/async_ttl.py +237 -0
  8. persista-0.0.1/persista/cache/interface.py +245 -0
  9. persista-0.0.1/persista/cache/ttl.py +233 -0
  10. persista-0.0.1/persista/cache/utils.py +52 -0
  11. persista-0.0.1/persista/py.typed +0 -0
  12. persista-0.0.1/persista/store/__init__.py +70 -0
  13. persista-0.0.1/persista/store/async_in_memory.py +157 -0
  14. persista-0.0.1/persista/store/async_postgres.py +517 -0
  15. persista-0.0.1/persista/store/async_redis.py +326 -0
  16. persista-0.0.1/persista/store/async_sqlite.py +559 -0
  17. persista-0.0.1/persista/store/base.py +541 -0
  18. persista-0.0.1/persista/store/duckdb.py +455 -0
  19. persista-0.0.1/persista/store/in_memory.py +149 -0
  20. persista-0.0.1/persista/store/lmdb.py +299 -0
  21. persista-0.0.1/persista/store/postgres.py +445 -0
  22. persista-0.0.1/persista/store/redis.py +297 -0
  23. persista-0.0.1/persista/store/sqlite.py +488 -0
  24. persista-0.0.1/persista/store/types.py +15 -0
  25. persista-0.0.1/persista/store/validation.py +111 -0
  26. persista-0.0.1/persista/testing/__init__.py +2 -0
  27. persista-0.0.1/persista/testing/fixtures.py +102 -0
  28. persista-0.0.1/persista/utils/__init__.py +1 -0
  29. persista-0.0.1/persista/utils/duckdb.py +42 -0
  30. persista-0.0.1/persista/utils/http_httpx.py +258 -0
  31. persista-0.0.1/persista/utils/http_requests.py +165 -0
  32. persista-0.0.1/persista/utils/imports/__init__.py +97 -0
  33. persista-0.0.1/persista/utils/imports/aiosqlite.py +89 -0
  34. persista-0.0.1/persista/utils/imports/duckdb.py +89 -0
  35. persista-0.0.1/persista/utils/imports/faker.py +89 -0
  36. persista-0.0.1/persista/utils/imports/httpx.py +89 -0
  37. persista-0.0.1/persista/utils/imports/lmdb.py +89 -0
  38. persista-0.0.1/persista/utils/imports/psycopg.py +89 -0
  39. persista-0.0.1/persista/utils/imports/redis.py +89 -0
  40. persista-0.0.1/persista/utils/imports/requests.py +89 -0
  41. persista-0.0.1/persista/utils/imports/urllib3.py +89 -0
  42. persista-0.0.1/pyproject.toml +313 -0
@@ -0,0 +1,218 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ # Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ # poetry.lock
109
+ # poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ # pdm.lock
116
+ # pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ # pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
126
+
127
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128
+ __pypackages__/
129
+
130
+ # Celery stuff
131
+ celerybeat-schedule
132
+ celerybeat.pid
133
+
134
+ # Redis
135
+ *.rdb
136
+ *.aof
137
+ *.pid
138
+
139
+ # RabbitMQ
140
+ mnesia/
141
+ rabbitmq/
142
+ rabbitmq-data/
143
+
144
+ # ActiveMQ
145
+ activemq-data/
146
+
147
+ # SageMath parsed files
148
+ *.sage.py
149
+
150
+ # Environments
151
+ .env
152
+ .envrc
153
+ .venv
154
+ env/
155
+ venv/
156
+ ENV/
157
+ env.bak/
158
+ venv.bak/
159
+
160
+ # Spyder project settings
161
+ .spyderproject
162
+ .spyproject
163
+
164
+ # Rope project settings
165
+ .ropeproject
166
+
167
+ # mkdocs documentation
168
+ /site
169
+
170
+ # mypy
171
+ .mypy_cache/
172
+ .dmypy.json
173
+ dmypy.json
174
+
175
+ # Pyre type checker
176
+ .pyre/
177
+
178
+ # pytype static type analyzer
179
+ .pytype/
180
+
181
+ # Cython debug symbols
182
+ cython_debug/
183
+
184
+ # PyCharm
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ # .idea/
190
+
191
+ # Abstra
192
+ # Abstra is an AI-powered process automation framework.
193
+ # Ignore directories containing user credentials, local state, and settings.
194
+ # Learn more at https://abstra.io/docs
195
+ .abstra/
196
+
197
+ # Visual Studio Code
198
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
199
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
201
+ # you could uncomment the following to ignore the entire vscode folder
202
+ # .vscode/
203
+ # Temporary file for partial code execution
204
+ tempCodeRunnerFile.py
205
+
206
+ # Ruff stuff:
207
+ .ruff_cache/
208
+
209
+ # PyPI configuration file
210
+ .pypirc
211
+
212
+ # Marimo
213
+ marimo/_static/
214
+ marimo/_lsp/
215
+ __marimo__/
216
+
217
+ # Streamlit
218
+ .streamlit/secrets.toml
persista-0.0.1/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Thibaut Durand
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,289 @@
1
+ Metadata-Version: 2.4
2
+ Name: persista
3
+ Version: 0.0.1
4
+ Dynamic: Maintainer
5
+ Dynamic: Maintainer-email
6
+ Summary: library for persisting and caching data
7
+ Project-URL: Homepage, https://github.com/durandtibo/persista
8
+ Project-URL: Repository, https://github.com/durandtibo/persista
9
+ Project-URL: Documentation, https://durandtibo.github.io/persista/
10
+ Project-URL: Changelog, https://github.com/durandtibo/persista/releases
11
+ Project-URL: Issues, https://github.com/durandtibo/persista/issues
12
+ Author-email: Thibaut Durand <durand.tibo+gh@gmail.com>
13
+ License-Expression: BSD-3-Clause
14
+ License-File: LICENSE
15
+ Keywords: data,persist
16
+ Classifier: Development Status :: 3 - Alpha
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: License :: OSI Approved :: BSD License
20
+ Classifier: Operating System :: MacOS
21
+ Classifier: Operating System :: POSIX :: Linux
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Topic :: Scientific/Engineering
28
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
29
+ Classifier: Topic :: Software Development :: Libraries
30
+ Requires-Python: >=3.10
31
+ Requires-Dist: coola<2.0,>=1.1.9
32
+ Provides-Extra: aiosqlite
33
+ Requires-Dist: aiosqlite<1.0,>=0.20; extra == 'aiosqlite'
34
+ Provides-Extra: all
35
+ Requires-Dist: aiosqlite<1.0,>=0.20; extra == 'all'
36
+ Requires-Dist: duckdb<2.0,>=1.3; extra == 'all'
37
+ Requires-Dist: faker<41.0,>=40.0; extra == 'all'
38
+ Requires-Dist: httpx<1.0,>=0.28; extra == 'all'
39
+ Requires-Dist: lmdb<3.0,>=2.0; extra == 'all'
40
+ Requires-Dist: psycopg[binary]<4.0,>=3.2; extra == 'all'
41
+ Requires-Dist: redis[hiredis]<8.0,>=7.0; extra == 'all'
42
+ Requires-Dist: requests<3.0,>=2.32; extra == 'all'
43
+ Requires-Dist: rich<16.0,>=15.0; extra == 'all'
44
+ Requires-Dist: urllib3<3.0,>=2.4; extra == 'all'
45
+ Provides-Extra: duckdb
46
+ Requires-Dist: duckdb<2.0,>=1.3; extra == 'duckdb'
47
+ Provides-Extra: faker
48
+ Requires-Dist: faker<41.0,>=40.0; extra == 'faker'
49
+ Provides-Extra: httpx
50
+ Requires-Dist: httpx<1.0,>=0.28; extra == 'httpx'
51
+ Provides-Extra: lmdb
52
+ Requires-Dist: lmdb<3.0,>=2.0; extra == 'lmdb'
53
+ Provides-Extra: psycopg
54
+ Requires-Dist: psycopg[binary]<4.0,>=3.2; extra == 'psycopg'
55
+ Provides-Extra: redis
56
+ Requires-Dist: redis[hiredis]<8.0,>=7.0; extra == 'redis'
57
+ Provides-Extra: requests
58
+ Requires-Dist: requests<3.0,>=2.32; extra == 'requests'
59
+ Provides-Extra: rich
60
+ Requires-Dist: rich<16.0,>=15.0; extra == 'rich'
61
+ Provides-Extra: urllib3
62
+ Requires-Dist: urllib3<3.0,>=2.4; extra == 'urllib3'
63
+ Description-Content-Type: text/markdown
64
+
65
+ # persista
66
+
67
+
68
+ <p align="center">
69
+ <a href="https://github.com/durandtibo/persista/actions/workflows/ci.yaml">
70
+ <img alt="CI" src="https://github.com/durandtibo/persista/actions/workflows/ci.yaml/badge.svg">
71
+ </a>
72
+ <a href="https://github.com/durandtibo/persista/actions/workflows/nightly-tests.yaml">
73
+ <img alt="Nightly Tests" src="https://github.com/durandtibo/persista/actions/workflows/nightly-tests.yaml/badge.svg">
74
+ </a>
75
+ <a href="https://github.com/durandtibo/persista/actions/workflows/nightly-package.yaml">
76
+ <img alt="Nightly Package Tests" src="https://github.com/durandtibo/persista/actions/workflows/nightly-package.yaml/badge.svg">
77
+ </a>
78
+ <a href="https://codecov.io/gh/durandtibo/persista">
79
+ <img alt="Codecov" src="https://codecov.io/gh/durandtibo/persista/branch/main/graph/badge.svg">
80
+ </a>
81
+ <br/>
82
+ <a href="https://durandtibo.github.io/persista/">
83
+ <img alt="Documentation" src="https://github.com/durandtibo/persista/actions/workflows/docs.yaml/badge.svg">
84
+ </a>
85
+ <a href="https://durandtibo.github.io/persista/dev/">
86
+ <img alt="Documentation" src="https://github.com/durandtibo/persista/actions/workflows/docs-dev.yaml/badge.svg">
87
+ </a>
88
+ <br/>
89
+ <a href="https://github.com/psf/black">
90
+ <img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg">
91
+ </a>
92
+ <a href="https://google.github.io/styleguide/pyguide.html#s3.8-comments-and-docstrings">
93
+ <img alt="Doc style: google" src="https://img.shields.io/badge/%20style-google-3666d6.svg">
94
+ </a>
95
+ <a href="https://github.com/astral-sh/ruff">
96
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff" style="max-width:100%;">
97
+ </a>
98
+ <a href="https://github.com/guilatrova/tryceratops">
99
+ <img alt="try/except style: tryceratops" src="https://img.shields.io/badge/try%2Fexcept%20style-tryceratops%20%F0%9F%A6%96%E2%9C%A8-black">
100
+ </a>
101
+ <br/>
102
+ <a href="https://pypi.org/project/persista/">
103
+ <img alt="PYPI version" src="https://img.shields.io/pypi/v/persista">
104
+ </a>
105
+ <a href="https://pypi.org/project/persista/">
106
+ <img alt="Python" src="https://img.shields.io/pypi/pyversions/persista.svg">
107
+ </a>
108
+ <a href="https://opensource.org/licenses/BSD-3-Clause">
109
+ <img alt="BSD-3-Clause" src="https://img.shields.io/pypi/l/persista">
110
+ </a>
111
+ <br/>
112
+ <a href="https://pepy.tech/project/persista">
113
+ <img alt="Downloads" src="https://static.pepy.tech/badge/persista">
114
+ </a>
115
+ <a href="https://pepy.tech/project/persista">
116
+ <img alt="Monthly downloads" src="https://static.pepy.tech/badge/persista/month">
117
+ </a>
118
+ <br/>
119
+ </p>
120
+
121
+ ## Overview
122
+
123
+ `persista` is a lightweight Python library that provides simple, consistent building blocks for
124
+ persisting and caching data. It offers a uniform key-value store interface backed by multiple
125
+ storage engines (in-memory, SQLite, DuckDB, LMDB, Redis, PostgreSQL) with both sync and async
126
+ APIs, plus TTL caching and HTTP fetch utilities.
127
+
128
+ **Quick Links:**
129
+
130
+ - [Documentation](https://durandtibo.github.io/persista/)
131
+ - [Installation](#installation)
132
+ - [Features](#features)
133
+ - [Contributing](#contributing)
134
+ - [License](#license)
135
+
136
+ ## Why persista?
137
+
138
+ Storage backends have different APIs, and switching between them (e.g. moving from an in-memory
139
+ store in tests to Redis or PostgreSQL in production) usually means rewriting code. `persista`
140
+ solves this with a single, consistent `BaseStore` interface:
141
+
142
+ **Store and retrieve values:**
143
+
144
+ ```pycon
145
+ >>> from persista.store import InMemoryStore
146
+ >>> store = InMemoryStore()
147
+ >>> store.set("user:1", {"name": "Alice"})
148
+ >>> store.get("user:1")
149
+ {'name': 'Alice'}
150
+
151
+ ```
152
+
153
+ **Swap the backend without changing the calling code:**
154
+
155
+ ```pycon
156
+ >>> import tempfile
157
+ >>> from pathlib import Path
158
+ >>> from persista.store import SQLiteStore
159
+ >>> with tempfile.TemporaryDirectory() as tmpdir:
160
+ ... with SQLiteStore(Path(tmpdir).joinpath("data.sqlite")) as store:
161
+ ... store.set("user:1", {"name": "Alice"})
162
+ ... store.get("user:1")
163
+ ...
164
+ {'name': 'Alice'}
165
+
166
+ ```
167
+
168
+ **Cache expensive calls with a TTL:**
169
+
170
+ ```pycon
171
+ >>> from persista.cache import cached
172
+ >>> @cached(ttl=60)
173
+ ... def slow_call(x: int) -> int:
174
+ ... return x**2
175
+ ...
176
+ >>> slow_call(4)
177
+ 16
178
+
179
+ ```
180
+
181
+ See the [documentation](https://durandtibo.github.io/persista/) for detailed examples.
182
+
183
+ ## Features
184
+
185
+ `persista` provides a comprehensive set of utilities for persisting and caching data:
186
+
187
+ ### 🗄️ **Key-Value Stores**
188
+
189
+ A consistent `BaseStore` / `AsyncBaseStore` interface for storing dict values under string keys:
190
+
191
+ - Uniform API across backends: `get`, `get_many`, `set`, `set_many`, `delete`, `filter`, iteration
192
+ - Sync backends: `InMemoryStore`, `SQLiteStore`, `DuckDBStore`, `LmdbStore`, `RedisStore`, `PostgresStore`
193
+ - Async backends: `AsyncInMemoryStore`, `AsyncSQLiteStore`, `AsyncRedisStore`, `AsyncPostgresStore`
194
+ - Typed variants (`TypedSQLiteStore`, `TypedPostgresStore`, ...) and pickle-backed variants
195
+ (`PickleLmdbStore`, `PickleRedisStore`, `AsyncPickleRedisStore`) for non-dict values
196
+ - Configurable conflict handling on writes (`"raise"`, `"skip"`, `"overwrite"`)
197
+
198
+ ### ⏱️ **TTL Caching**
199
+
200
+ Time-to-live caching for functions and values, with sync and async variants:
201
+
202
+ - `TTLCache` and `AsyncTTLCache` for explicit cache instances
203
+ - `cached` / `async_cached` decorators for caching function calls
204
+ - Shared default caches via `get_ttl_cache` / `get_async_ttl_cache`
205
+
206
+ ### 🌐 **HTTP Utilities**
207
+
208
+ Helpers to fetch HTTP responses with automatic retries, built on top of `requests` or `httpx`:
209
+
210
+ - `fetch_response` (sync, `requests`) and `fetch_response_async` (async, `httpx`)
211
+
212
+ ## Installation
213
+
214
+ We highly recommend installing `persista` in
215
+ a [virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)
216
+ to avoid dependency conflicts.
217
+
218
+ ### Using uv (recommended)
219
+
220
+ [`uv`](https://docs.astral.sh/uv/) is a fast Python package installer and resolver:
221
+
222
+ ```shell
223
+ uv pip install persista
224
+ ```
225
+
226
+ **Install with specific optional dependencies:**
227
+
228
+ ```shell
229
+ uv pip install persista[redis,httpx] # with Redis and httpx support
230
+ ```
231
+
232
+ ### Using pip
233
+
234
+ Alternatively, you can use `pip`:
235
+
236
+ ```shell
237
+ pip install persista
238
+ ```
239
+
240
+ **Install with specific optional dependencies:**
241
+
242
+ ```shell
243
+ pip install persista[redis,httpx] # with Redis and httpx support
244
+ ```
245
+
246
+ ### Requirements
247
+
248
+ - **Python**: 3.10 or higher
249
+ - **Core dependencies**: [`coola`](https://github.com/durandtibo/coola)
250
+
251
+ **Optional dependencies**, enabled per-backend:
252
+
253
+ | Extra | Enables |
254
+ |-------------|---------------------------------------|
255
+ | `aiosqlite` | Async SQLite store |
256
+ | `duckdb` | DuckDB store |
257
+ | `faker` | Test data generation helpers |
258
+ | `httpx` | Async HTTP fetch utilities |
259
+ | `lmdb` | LMDB store |
260
+ | `psycopg` | PostgreSQL store |
261
+ | `redis` | Redis store |
262
+ | `requests` | Sync HTTP fetch utilities |
263
+ | `rich` | Rich-formatted output |
264
+ | `urllib3` | urllib3-based HTTP utilities |
265
+
266
+ For detailed installation instructions, see the [documentation](https://durandtibo.github.io/persista/).
267
+
268
+ ## Contributing
269
+
270
+ Contributions are welcome! We appreciate bug fixes, feature additions, documentation improvements,
271
+ and more. Please check the [contributing guidelines](CONTRIBUTING.md) for details on:
272
+
273
+ - Setting up the development environment
274
+ - Code style and testing requirements
275
+ - Submitting pull requests
276
+
277
+ Whether you're fixing a bug or proposing a new feature, please open an issue first to discuss
278
+ your changes.
279
+
280
+ ## API Stability
281
+
282
+ :warning: **Important**: As `persista` is under active development, its API is not yet stable and may
283
+ change between releases. We recommend pinning a specific version in your project’s dependencies to
284
+ ensure consistent behavior.
285
+
286
+ ## License
287
+
288
+ `persista` is licensed under BSD 3-Clause "New" or "Revised" license available in [LICENSE](LICENSE)
289
+ file.