openkache 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.
@@ -0,0 +1,17 @@
1
+ GNU AFFERO GENERAL PUBLIC LICENSE
2
+ Version 3, 19 November 2007
3
+
4
+ Copyright (C) 2026 OpenKache Team
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Affero General Public License as
8
+ published by the Free Software Foundation, either version 3 of the
9
+ License, or (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Affero General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Affero General Public License
17
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: openkache
3
+ Version: 0.0.1
4
+ Summary: OpenKache client — 10x cheaper and faster than Redis
5
+ License: AGPL-3.0
6
+ Project-URL: Homepage, https://openkache.com
7
+ Project-URL: Source, https://github.com/openkache/openkache
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: license-file
12
+
13
+ # OpenKache
14
+
15
+ OpenKache client — 10x cheaper and faster than Redis.
16
+
17
+ A Python client for [OpenKache](https://openkache.com), the SSD cache server.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install openkache
23
+ ```
24
+
25
+ ## Quick Start
26
+
27
+ ```python
28
+ from openkache import OpenKacheClient
29
+
30
+ client = OpenKacheClient()
31
+ client.connect("127.0.0.1", 7123)
32
+ client.set("key", b"value", ttl=3600)
33
+ value = client.get("key")
34
+ client.close()
35
+ ```
36
+
37
+ ## License
38
+
39
+ AGPL-3.0
@@ -0,0 +1,27 @@
1
+ # OpenKache
2
+
3
+ OpenKache client — 10x cheaper and faster than Redis.
4
+
5
+ A Python client for [OpenKache](https://openkache.com), the SSD cache server.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pip install openkache
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ```python
16
+ from openkache import OpenKacheClient
17
+
18
+ client = OpenKacheClient()
19
+ client.connect("127.0.0.1", 7123)
20
+ client.set("key", b"value", ttl=3600)
21
+ value = client.get("key")
22
+ client.close()
23
+ ```
24
+
25
+ ## License
26
+
27
+ AGPL-3.0
@@ -0,0 +1,12 @@
1
+ """OpenKache client — 10x cheaper and faster than Redis."""
2
+
3
+
4
+ class OpenKacheClient:
5
+ def connect(self, host: str, port: int) -> None: ...
6
+ def get(self, key: str) -> bytes | None: ...
7
+ def set(self, key: str, value: bytes, ttl: int | None = None) -> None: ...
8
+ def delete(self, key: str) -> bool: ...
9
+ def close(self) -> None: ...
10
+
11
+
12
+ __all__ = ["OpenKacheClient"]
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: openkache
3
+ Version: 0.0.1
4
+ Summary: OpenKache client — 10x cheaper and faster than Redis
5
+ License: AGPL-3.0
6
+ Project-URL: Homepage, https://openkache.com
7
+ Project-URL: Source, https://github.com/openkache/openkache
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: license-file
12
+
13
+ # OpenKache
14
+
15
+ OpenKache client — 10x cheaper and faster than Redis.
16
+
17
+ A Python client for [OpenKache](https://openkache.com), the SSD cache server.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install openkache
23
+ ```
24
+
25
+ ## Quick Start
26
+
27
+ ```python
28
+ from openkache import OpenKacheClient
29
+
30
+ client = OpenKacheClient()
31
+ client.connect("127.0.0.1", 7123)
32
+ client.set("key", b"value", ttl=3600)
33
+ value = client.get("key")
34
+ client.close()
35
+ ```
36
+
37
+ ## License
38
+
39
+ AGPL-3.0
@@ -0,0 +1,8 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ openkache/__init__.py
5
+ openkache.egg-info/PKG-INFO
6
+ openkache.egg-info/SOURCES.txt
7
+ openkache.egg-info/dependency_links.txt
8
+ openkache.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ openkache
@@ -0,0 +1,15 @@
1
+ [build-system]
2
+ requires = ["setuptools>=75"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "openkache"
7
+ version = "0.0.1"
8
+ description = "OpenKache client — 10x cheaper and faster than Redis"
9
+ readme = "README.md"
10
+ license = { text = "AGPL-3.0" }
11
+ requires-python = ">=3.12"
12
+
13
+ [project.urls]
14
+ Homepage = "https://openkache.com"
15
+ Source = "https://github.com/openkache/openkache"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+