forkdb for Python
The forkdb SQLite extension, prebuilt, plus a few lines of Python to load it. Unstable first release (0.1.0): everything may change (see docs/STABILITY.md in the repository).
pip install forkdb
import forkdb
host = forkdb.connect() # sqlite3.connect(':memory:', uri=True) with the extension loaded
host.execute('select forkdb_init(?)', ('/tmp/s.fk',))
main = forkdb.open_branch(host, '/tmp/s.fk') # the branch 'main'
host.execute("select forkdb_fork(?, 'main', 'a')", ('/tmp/s.fk',))
a = forkdb.open_branch(host, '/tmp/s.fk', 'a')
Wheels exist for Linux x86_64 (manylinux_2_28), macOS arm64 and Windows x86_64, and carry no dependency on the Python version. The macOS wheel has been tested only in CI, on GitHub's macOS runner, not on a Mac by hand. Elsewhere, build the extension from the repository and point FORKDB_EXTENSION_PATH at it.
Your Python's sqlite3 must support loading extensions (Connection.enable_load_extension); forkdb.load says so if it does not. The SQLite behind it must be 3.24 or later.
Metadata
Release files for forkdb 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forkdb-0.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for forkdb-0.1.0-py3-none-win_amd64.whl |
| forkdb-0.1.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for forkdb-0.1.0-py3-none-manylinux_2_28_x86_64.whl |
| forkdb-0.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for forkdb-0.1.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 162.5 kB
Release files / forkdb-0.1.0-py3-none-win_amd64.whl
| Download URL | forkdb-0.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 56.3 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
296007e785318351d527814dacaa871ad00ab9fbbb5d961694933952ca8c3790
|
|
BLAKE2b-256 checksum How to use checksums |
9917e5cd774dfaf5cef0f9a7269ffa3ba65a42c77ab23f72fc71e2f13f1a0e36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / forkdb-0.1.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | forkdb-0.1.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.8 kB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
ce0fb338d6686d99edcaeaed70383fc0537b6c7e7e8d0d686562d6c2d8b325a2
|
|
BLAKE2b-256 checksum How to use checksums |
3fed33c61c32e6da3a7c20681a33aa1b63d4f5ed6708d455265394e4426ab330
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / forkdb-0.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | forkdb-0.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 49.4 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
64a0d177eecf2efe0c506647437a3b5d330d80a134aa757f8c7cd834b21dc3cc
|
|
BLAKE2b-256 checksum How to use checksums |
6c254a165d519091ca84582a84e719c7e4ee0887c4716234c82b0a9556346cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for forkdb 0.1.0
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.