lmdb-json 0.2.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.
Files changed (35) hide show
  1. lmdb_json-0.2.0/LICENSE +47 -0
  2. lmdb_json-0.2.0/MANIFEST.in +28 -0
  3. lmdb_json-0.2.0/PKG-INFO +2087 -0
  4. lmdb_json-0.2.0/README.rst +2016 -0
  5. lmdb_json-0.2.0/lmdb_json/DB.py +3052 -0
  6. lmdb_json-0.2.0/lmdb_json/__init__.py +41 -0
  7. lmdb_json-0.2.0/lmdb_json/_apimask.py +128 -0
  8. lmdb_json-0.2.0/lmdb_json/_crypto.py +472 -0
  9. lmdb_json-0.2.0/lmdb_json/_deep.py +763 -0
  10. lmdb_json-0.2.0/lmdb_json/_keyvault.py +166 -0
  11. lmdb_json-0.2.0/lmdb_json/_native/__init__.py +39 -0
  12. lmdb_json-0.2.0/lmdb_json/_native/binding.py +1116 -0
  13. lmdb_json-0.2.0/lmdb_json/_native/build.py +172 -0
  14. lmdb_json-0.2.0/lmdb_json/_native/lmdb10.dll +0 -0
  15. lmdb_json-0.2.0/lmdb_json/_native/lmdb_src/lmdb.h +1934 -0
  16. lmdb_json-0.2.0/lmdb_json/_native/lmdb_src/mdb.c +12929 -0
  17. lmdb_json-0.2.0/lmdb_json/_native/lmdb_src/midl.c +452 -0
  18. lmdb_json-0.2.0/lmdb_json/_native/lmdb_src/midl.h +210 -0
  19. lmdb_json-0.2.0/lmdb_json/serve_api.py +596 -0
  20. lmdb_json-0.2.0/lmdb_json/web/assets/index.0eea9d41.css +6 -0
  21. lmdb_json-0.2.0/lmdb_json/web/assets/index.1f1bd6b8.js +1534 -0
  22. lmdb_json-0.2.0/lmdb_json/web/assets/jsoneditor-icons.45c98bf0.svg +749 -0
  23. lmdb_json-0.2.0/lmdb_json/web/assets/vendor.74ed0c5c.js +35 -0
  24. lmdb_json-0.2.0/lmdb_json/web/assets/vendor.c8acd9e0.css +1 -0
  25. lmdb_json-0.2.0/lmdb_json/web/index.html +17 -0
  26. lmdb_json-0.2.0/lmdb_json/web.py +2147 -0
  27. lmdb_json-0.2.0/lmdb_json/web_auth.py +1293 -0
  28. lmdb_json-0.2.0/lmdb_json.egg-info/PKG-INFO +2087 -0
  29. lmdb_json-0.2.0/lmdb_json.egg-info/SOURCES.txt +33 -0
  30. lmdb_json-0.2.0/lmdb_json.egg-info/dependency_links.txt +1 -0
  31. lmdb_json-0.2.0/lmdb_json.egg-info/requires.txt +7 -0
  32. lmdb_json-0.2.0/lmdb_json.egg-info/top_level.txt +1 -0
  33. lmdb_json-0.2.0/pyproject.toml +78 -0
  34. lmdb_json-0.2.0/setup.cfg +4 -0
  35. lmdb_json-0.2.0/setup.py +12 -0
@@ -0,0 +1,47 @@
1
+ The OpenLDAP Public License
2
+ Version 2.8, 17 August 2003
3
+
4
+ Redistribution and use of this software and associated documentation
5
+ ("Software"), with or without modification, are permitted provided
6
+ that the following conditions are met:
7
+
8
+ 1. Redistributions in source form must retain copyright statements
9
+ and notices,
10
+
11
+ 2. Redistributions in binary form must reproduce applicable copyright
12
+ statements and notices, this list of conditions, and the following
13
+ disclaimer in the documentation and/or other materials provided
14
+ with the distribution,
15
+
16
+ 3. Redistributions must contain a verbatim copy of this document.
17
+
18
+ The OpenLDAP Foundation may revise this license from time to time.
19
+ Each revision is distinguished by a version number. You may use
20
+ this Software under terms of this license revision or under the
21
+ terms of any subsequent revision of the license.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
24
+ CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
25
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
26
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
27
+ SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
28
+ OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
29
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
30
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
+ POSSIBILITY OF SUCH DAMAGE.
36
+
37
+ The names of the authors and copyright holders must not be used in
38
+ advertising or otherwise to promote the sale, use or other dealing
39
+ in this Software without specific, written prior permission. Title
40
+ to copyright in this Software shall at all times remain with copyright
41
+ holders.
42
+
43
+ OpenLDAP is a registered trademark of the OpenLDAP Foundation.
44
+
45
+ Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
46
+ California, USA. All Rights Reserved. Permission to copy and
47
+ distribute verbatim copies of this document is granted.
@@ -0,0 +1,28 @@
1
+ include LICENSE
2
+ include README.rst
3
+ include pyproject.toml
4
+
5
+ # web 静态资源(前端预编译产物)必须进 sdist,否则从 sdist 构建的 wheel 会缺少界面
6
+ recursive-include lmdb_json/web *.html *.js *.css *.svg
7
+
8
+ # 自封装绑定的 LMDB C 源码必须进 sdist,用户平台需现场编译(见 _native/build.py)
9
+ recursive-include lmdb_json/_native/lmdb_src *.c *.h
10
+ include lmdb_json/_native/*.py
11
+
12
+ # 开发期测试与本地笔记不发布
13
+ prune lmdb_json/Test
14
+
15
+ # 运行时数据与本地配置绝不打包(database/ 下可能有大文件,config/ 下可能有密钥)
16
+ prune database
17
+ prune logs
18
+ prune config
19
+ prune dist
20
+ prune build
21
+
22
+ global-exclude *.py[cod]
23
+ global-exclude __pycache__
24
+ global-exclude *.mdb
25
+ global-exclude *.lock
26
+ global-exclude t*.py
27
+ global-exclude test.py
28
+ global-exclude test.json