zestdb-py 0.1.0__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.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.3
2
+ Name: zestdb-py
3
+ Version: 0.1.0
4
+ Summary: Official Python client for ZestDB, a disk-persistent key-value database written in C++
5
+ Author: Adam Benahmed
6
+ Author-email: Adam Benahmed <adam.benahmeed@gmail.com>
7
+ Requires-Python: >=3.11
8
+ Project-URL: Homepage, https://github.com/ZestDB-HQ/zestdb-py
9
+ Project-URL: Repository, https://github.com/ZestDB-HQ/zestdb-py
10
+ Project-URL: ZestDB, https://github.com/ZestDB-HQ/ZestDB
11
+ Description-Content-Type: text/markdown
12
+
13
+ # zestdb-py
14
+
15
+ [![CI/CD](https://github.com/ZestDB-HQ/zestdb-py/actions/workflows/ci.yml/badge.svg)](https://github.com/ZestDB-HQ/zestdb-py/actions/workflows/ci.yml)
16
+ [![PyPI](https://img.shields.io/pypi/v/zestdb-py)](https://pypi.org/project/zestdb-py/)
17
+
18
+ Official Python client for ZestDB.
19
+
20
+ > **Status:** under development. The client API is not stable yet.
21
+
22
+ For everything about the ZestDB server itself, see the [ZestDB documentation](https://github.com/ZestDB-HQ/ZestDB/tree/main/docs).
23
+
24
+ ## Requirements
25
+
26
+ - Python 3.11 or later
27
+ - A reachable ZestDB server
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ uv add zestdb-py
33
+ ```
34
+
35
+ or with pip:
36
+
37
+ ```bash
38
+ pip install zestdb-py
39
+ ```
40
+
41
+ ## Development
42
+
43
+ ```bash
44
+ git clone https://github.com/ZestDB-HQ/zestdb-py.git
45
+ cd zestdb-py
46
+ uv sync
47
+ uv build
48
+ ```
49
+
50
+ ## Releasing
51
+
52
+ The GitHub Actions pipeline ([`.github/workflows/ci.yml`](.github/workflows/ci.yml)) builds the package with `uv build` on every push and pull request. Pushing a `vX.Y.Z` tag publishes the package to PyPI with `uv publish`:
53
+
54
+ ```bash
55
+ uv version --bump patch # updates the version in pyproject.toml
56
+ git commit -am "Release vX.Y.Z"
57
+ git tag vX.Y.Z
58
+ git push --follow-tags
59
+ ```
60
+
61
+ Publishing uses PyPI [Trusted Publishing](https://docs.pypi.org/trusted-publishers/): no token is stored in the repository.
62
+
63
+ ## License
64
+
65
+ See the repository's `LICENSE` file.
@@ -0,0 +1,53 @@
1
+ # zestdb-py
2
+
3
+ [![CI/CD](https://github.com/ZestDB-HQ/zestdb-py/actions/workflows/ci.yml/badge.svg)](https://github.com/ZestDB-HQ/zestdb-py/actions/workflows/ci.yml)
4
+ [![PyPI](https://img.shields.io/pypi/v/zestdb-py)](https://pypi.org/project/zestdb-py/)
5
+
6
+ Official Python client for ZestDB.
7
+
8
+ > **Status:** under development. The client API is not stable yet.
9
+
10
+ For everything about the ZestDB server itself, see the [ZestDB documentation](https://github.com/ZestDB-HQ/ZestDB/tree/main/docs).
11
+
12
+ ## Requirements
13
+
14
+ - Python 3.11 or later
15
+ - A reachable ZestDB server
16
+
17
+ ## Installation
18
+
19
+ ```bash
20
+ uv add zestdb-py
21
+ ```
22
+
23
+ or with pip:
24
+
25
+ ```bash
26
+ pip install zestdb-py
27
+ ```
28
+
29
+ ## Development
30
+
31
+ ```bash
32
+ git clone https://github.com/ZestDB-HQ/zestdb-py.git
33
+ cd zestdb-py
34
+ uv sync
35
+ uv build
36
+ ```
37
+
38
+ ## Releasing
39
+
40
+ The GitHub Actions pipeline ([`.github/workflows/ci.yml`](.github/workflows/ci.yml)) builds the package with `uv build` on every push and pull request. Pushing a `vX.Y.Z` tag publishes the package to PyPI with `uv publish`:
41
+
42
+ ```bash
43
+ uv version --bump patch # updates the version in pyproject.toml
44
+ git commit -am "Release vX.Y.Z"
45
+ git tag vX.Y.Z
46
+ git push --follow-tags
47
+ ```
48
+
49
+ Publishing uses PyPI [Trusted Publishing](https://docs.pypi.org/trusted-publishers/): no token is stored in the repository.
50
+
51
+ ## License
52
+
53
+ See the repository's `LICENSE` file.
@@ -0,0 +1,26 @@
1
+ [project]
2
+ name = "zestdb-py"
3
+ version = "0.1.0"
4
+ description = "Official Python client for ZestDB, a disk-persistent key-value database written in C++"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = []
8
+
9
+ [[project.authors]]
10
+ name = "Adam Benahmed"
11
+ email = "adam.benahmeed@gmail.com"
12
+
13
+ [project.urls]
14
+ Homepage = "https://github.com/ZestDB-HQ/zestdb-py"
15
+ Repository = "https://github.com/ZestDB-HQ/zestdb-py"
16
+ ZestDB = "https://github.com/ZestDB-HQ/ZestDB"
17
+
18
+ [project.scripts]
19
+ zestdb-py = "zestdb:main"
20
+
21
+ [build-system]
22
+ requires = ["uv_build>=0.12.6,<0.13.0"]
23
+ build-backend = "uv_build"
24
+
25
+ [tool.uv.build-backend]
26
+ module-name = "zestdb"
@@ -0,0 +1,25 @@
1
+ [project]
2
+ name = "zestdb-py"
3
+ version = "0.1.0"
4
+ description = "Official Python client for ZestDB, a disk-persistent key-value database written in C++"
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Adam Benahmed", email = "adam.benahmeed@gmail.com" }
8
+ ]
9
+ requires-python = ">=3.11"
10
+ dependencies = []
11
+
12
+ [project.urls]
13
+ Homepage = "https://github.com/ZestDB-HQ/zestdb-py"
14
+ Repository = "https://github.com/ZestDB-HQ/zestdb-py"
15
+ ZestDB = "https://github.com/ZestDB-HQ/ZestDB"
16
+
17
+ [project.scripts]
18
+ zestdb-py = "zestdb:main"
19
+
20
+ [build-system]
21
+ requires = ["uv_build>=0.12.6,<0.13.0"]
22
+ build-backend = "uv_build"
23
+
24
+ [tool.uv.build-backend]
25
+ module-name = "zestdb"
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from zestdb-py!")