3 Star 9 Fork 1

hujiang001 / jsonDB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

JsonDB

jsonDB is a light and NoSQL memory-database based on JSON format. jsonDB是一个基于JSON格式的内存数据库.

version

1.0.0 - release

dependence

python 2.7

特点:

1、轻量级. 无守护进程,无需任何额外的安装和配置,你只需要import jsonDb即可使用,非常方便.

2、NOSQL. 类似于mongoDb的非关系型数据库.

3、内存数据库. 所有数据基于内存进行操作和访问,性能相对较高.目前版本的性能测试数据请参考reference文档.

4、任意迁移. 数据库可以完整导出为外部文件,并且可以从外部文件导入.基于此,数据库可以进行任意的迁移,而无需做任何修改.

5、灵活的数据类型. 一个数据集合(collection)中的数据,并不需要相同的格式.比如以下几种数据可以同时存在于一个collection中:{'key1':1},{'key2':'value','pic':'value'},{'key3':'value'}

当前支持的功能:

  • 数据插入

  • 数据删除

  • 数据更新

  • 数据查询(支持丰富的条件查询)

  • 指定key值(支持key值hash查找,提高效率)

  • 数据库合并

  • 导出数据库到外部文件

  • 从外部文件导入数据库

  • 关键过程性能打点(毫秒级耗时统计)

  • 数据库统计显示(包括数据规模\占用内存等)

  • 格式化打印

API文档和使用实例

去往 wiki===========>

install

python setup.py install

LICENCE

The MIT License (MIT)

MIT License Copyright (c) 2016 Jeffery Jiang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

jsonDB is a light and NoSQL memory-database based on JSON format. jsonDB是一个python实现的基于JSON格式的非关系型内存数据库. 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/guchengHome/jsonDB.git
git@gitee.com:guchengHome/jsonDB.git
guchengHome
jsonDB
jsonDB
master

搜索帮助