libmdbx 0.2.0__tar.gz → 0.3.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.
- {libmdbx-0.2.0 → libmdbx-0.3.1}/PKG-INFO +8 -5
- {libmdbx-0.2.0 → libmdbx-0.3.1}/README.md +2 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/build_mdbx.py +2 -2
- libmdbx-0.3.1/libmdbx/dist/.clang-format-ignore +8 -0
- libmdbx-0.3.1/libmdbx/dist/CMakeLists.txt +1269 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/ChangeLog.md +819 -86
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/GNUmakefile +69 -34
- libmdbx-0.3.1/libmdbx/dist/LICENSE +177 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/Makefile +5 -4
- libmdbx-0.3.1/libmdbx/dist/NOTICE +39 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/README.md +166 -117
- libmdbx-0.3.1/libmdbx/dist/VERSION.json +1 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/cmake/compiler.cmake +285 -165
- libmdbx-0.3.1/libmdbx/dist/cmake/profile.cmake +58 -0
- libmdbx-0.3.1/libmdbx/dist/cmake/utils.cmake +524 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/config.h.in +23 -4
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_chk.1 +8 -8
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_copy.1 +22 -2
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_drop.1 +5 -5
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_dump.1 +6 -6
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_load.1 +6 -6
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_stat.1 +6 -6
- libmdbx-0.3.1/libmdbx/dist/mdbx.c +37510 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.c++ +1524 -2366
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.h +1938 -891
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.h++ +1909 -2118
- libmdbx-0.3.1/libmdbx/dist/mdbx_chk.c +3971 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_copy.c +1275 -2103
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_drop.c +1256 -2090
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_dump.c +1342 -2190
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_load.c +1486 -2364
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_stat.c +1313 -2167
- libmdbx-0.3.1/mdbx/__init__.py +17 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/mdbx/mdbx.py +1001 -602
- {libmdbx-0.2.0 → libmdbx-0.3.1}/pyproject.toml +2 -2
- libmdbx-0.2.0/libmdbx/dist/CMakeLists.txt +0 -993
- libmdbx-0.2.0/libmdbx/dist/LICENSE +0 -47
- libmdbx-0.2.0/libmdbx/dist/VERSION.txt +0 -1
- libmdbx-0.2.0/libmdbx/dist/cmake/profile.cmake +0 -55
- libmdbx-0.2.0/libmdbx/dist/cmake/utils.cmake +0 -286
- libmdbx-0.2.0/libmdbx/dist/mdbx.c +0 -35510
- libmdbx-0.2.0/libmdbx/dist/mdbx_chk.c +0 -5998
- libmdbx-0.2.0/mdbx/__init__.py +0 -4
- {libmdbx-0.2.0 → libmdbx-0.3.1}/LICENSE +0 -0
- {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/ntdll.def +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: libmdbx
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: The python bindings to libmdbx.
|
|
5
|
-
|
|
5
|
+
License-File: LICENSE
|
|
6
6
|
Keywords: mdbx,libmdbx,kvdb,bindings
|
|
7
7
|
Author: lazymio
|
|
8
8
|
Author-email: mio@lazym.io
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.10,<4.0
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Project-URL: Homepage, https://github.com/wtdcode/mdbx-py
|
|
16
17
|
Description-Content-Type: text/markdown
|
|
17
18
|
|
|
18
19
|
# Python bindings for libmdbx
|
|
@@ -32,6 +33,8 @@ Contributions and feedbacks are highly welcome.
|
|
|
32
33
|
A quick sample to read all values from the default database:
|
|
33
34
|
|
|
34
35
|
```python
|
|
36
|
+
from mdbx import Env
|
|
37
|
+
|
|
35
38
|
with Env(...) as env:
|
|
36
39
|
with env.ro_transaction() as txn:
|
|
37
40
|
with txn.cursor() as cur:
|
|
@@ -34,7 +34,7 @@ def build(setup_kws: dict):
|
|
|
34
34
|
|
|
35
35
|
# If there is already dist
|
|
36
36
|
if not dist_folder.exists():
|
|
37
|
-
if sys.platform in ["linux", "linux2"
|
|
37
|
+
if sys.platform in ["linux", "linux2"]:
|
|
38
38
|
subprocess.check_call(["make", "dist"], cwd=libmdbx_source)
|
|
39
39
|
|
|
40
40
|
if have_git() and (libmdbx_source / ".git").exists():
|
|
@@ -68,7 +68,7 @@ def build(setup_kws: dict):
|
|
|
68
68
|
if sys.platform == "win32":
|
|
69
69
|
plat = 'Win32' if platform.architecture()[0] == '32bit' else 'x64'
|
|
70
70
|
cmake_gen += [
|
|
71
|
-
"-G", "Visual Studio
|
|
71
|
+
"-G", "Visual Studio 17 2022",
|
|
72
72
|
"-A", plat
|
|
73
73
|
]
|
|
74
74
|
|