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.
Files changed (45) hide show
  1. {libmdbx-0.2.0 → libmdbx-0.3.1}/PKG-INFO +8 -5
  2. {libmdbx-0.2.0 → libmdbx-0.3.1}/README.md +2 -0
  3. {libmdbx-0.2.0 → libmdbx-0.3.1}/build_mdbx.py +2 -2
  4. libmdbx-0.3.1/libmdbx/dist/.clang-format-ignore +8 -0
  5. libmdbx-0.3.1/libmdbx/dist/CMakeLists.txt +1269 -0
  6. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/ChangeLog.md +819 -86
  7. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/GNUmakefile +69 -34
  8. libmdbx-0.3.1/libmdbx/dist/LICENSE +177 -0
  9. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/Makefile +5 -4
  10. libmdbx-0.3.1/libmdbx/dist/NOTICE +39 -0
  11. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/README.md +166 -117
  12. libmdbx-0.3.1/libmdbx/dist/VERSION.json +1 -0
  13. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/cmake/compiler.cmake +285 -165
  14. libmdbx-0.3.1/libmdbx/dist/cmake/profile.cmake +58 -0
  15. libmdbx-0.3.1/libmdbx/dist/cmake/utils.cmake +524 -0
  16. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/config.h.in +23 -4
  17. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_chk.1 +8 -8
  18. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_copy.1 +22 -2
  19. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_drop.1 +5 -5
  20. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_dump.1 +6 -6
  21. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_load.1 +6 -6
  22. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/man1/mdbx_stat.1 +6 -6
  23. libmdbx-0.3.1/libmdbx/dist/mdbx.c +37510 -0
  24. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.c++ +1524 -2366
  25. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.h +1938 -891
  26. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx.h++ +1909 -2118
  27. libmdbx-0.3.1/libmdbx/dist/mdbx_chk.c +3971 -0
  28. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_copy.c +1275 -2103
  29. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_drop.c +1256 -2090
  30. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_dump.c +1342 -2190
  31. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_load.c +1486 -2364
  32. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/mdbx_stat.c +1313 -2167
  33. libmdbx-0.3.1/mdbx/__init__.py +17 -0
  34. {libmdbx-0.2.0 → libmdbx-0.3.1}/mdbx/mdbx.py +1001 -602
  35. {libmdbx-0.2.0 → libmdbx-0.3.1}/pyproject.toml +2 -2
  36. libmdbx-0.2.0/libmdbx/dist/CMakeLists.txt +0 -993
  37. libmdbx-0.2.0/libmdbx/dist/LICENSE +0 -47
  38. libmdbx-0.2.0/libmdbx/dist/VERSION.txt +0 -1
  39. libmdbx-0.2.0/libmdbx/dist/cmake/profile.cmake +0 -55
  40. libmdbx-0.2.0/libmdbx/dist/cmake/utils.cmake +0 -286
  41. libmdbx-0.2.0/libmdbx/dist/mdbx.c +0 -35510
  42. libmdbx-0.2.0/libmdbx/dist/mdbx_chk.c +0 -5998
  43. libmdbx-0.2.0/mdbx/__init__.py +0 -4
  44. {libmdbx-0.2.0 → libmdbx-0.3.1}/LICENSE +0 -0
  45. {libmdbx-0.2.0 → libmdbx-0.3.1}/libmdbx/dist/ntdll.def +0 -0
@@ -1,18 +1,19 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: libmdbx
3
- Version: 0.2.0
3
+ Version: 0.3.1
4
4
  Summary: The python bindings to libmdbx.
5
- Home-page: https://github.com/wtdcode/mdbx-py
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,<4.0
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:
@@ -15,6 +15,8 @@ Contributions and feedbacks are highly welcome.
15
15
  A quick sample to read all values from the default database:
16
16
 
17
17
  ```python
18
+ from mdbx import Env
19
+
18
20
  with Env(...) as env:
19
21
  with env.ro_transaction() as txn:
20
22
  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", "darwin"]:
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 16 2019",
71
+ "-G", "Visual Studio 17 2022",
72
72
  "-A", plat
73
73
  ]
74
74
 
@@ -0,0 +1,8 @@
1
+ mdbx.c
2
+ mdbx.c++
3
+ mdbx_chk.c
4
+ mdbx_copy.c
5
+ mdbx_drop.c
6
+ mdbx_dump.c
7
+ mdbx_load.c
8
+ mdbx_stat.c