跳转到主要内容

MonetDBe - Python嵌入式MonetDB

项目描述

MonetDB/e-Python

MonetDB/e-Python - 无服务器的Python嵌入式MonetDB

alt text

想存储和搜索大量数字?您不想运行数据库服务?SQLite对您想要做的事情来说太慢了吗?不用再找了!MonetDBe-Python就在这里。只需在Windows、Linux或OS X系统上安装二进制轮文件,您就可以开始使用,无需编译。

MonetDBe-Python内部依赖于一个无服务器且经过裁剪的MonetDB版本,这是一个速度极快的开源列存储数据库。

文档可以在以下位置找到: https://monetdbe.readthedocs.io/

源代码可以在以下位置找到: https://github.com/monetdBSolutions/MonetDBe-Python/

安装

您需要

  • 最新的Linux、OSX或Windows
  • pip >= 19.3
  • Python >= 3.7

首先确保您有一个最新的pip,首先升级pip

$ pip install --upgrade pip

现在您可以使用以下命令安装MonetDBe-Python

$ pip install monetdbe

用法

只需导入并开始使用,无需运行服务器。不带参数的连接将启动一个内存存储实例

>>> from monetdbe import connect
>>> con = connect()
>>> con.execute('select * from tables').fetchdf()
      id               name  schema_id                                              query  type  system  commit_action  access  temporary
0   2001            schemas       2000                                               None    10    True              0       0          0
1   2007              types       2000                                               None    10    True              0       0          0
2   2016          functions       2000                                               None    10    True              0       0          0
3   2029               args       2000                                               None    10    True              0       0          0
4   2038          sequences       2000                                               None    10    True              0       0          0
..   ...                ...        ...                                                ...   ...     ...            ...     ...        ...
81  6650       storagemodel       2000  create view sys.storagemodel as\nselect "schem...    11    True              0       0          0
82  6661  tablestoragemodel       2000  create view sys.tablestoragemodel as\nselect "...    11    True              0       0          0
83  6675         statistics       2000                                               None    10    True              0       0          0
84  6734           compinfo       6698  create view logging.compinfo as select * from ...    11    True              0       0          0
85  6739    systemfunctions       2000  create view sys.systemfunctions as select id a...    11    True              0       0          0

在以下笔记本中查看另一个简单示例,说明Pandas在此笔记本中的支持

https://github.com/MonetDBSolutions/MonetDBe-Python/blob/master/notebooks/basic_example.ipynb

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码分发

monetdbe-0.11.tar.gz (68.2 kB 查看哈希值)

上传时间 源代码

构建分发

monetdbe-0.11-cp310-cp310-win_amd64.whl (6.8 MB 查看哈希值)

上传时间 CPython 3.10 Windows x86-64

monetdbe-0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB 查看哈希值)

上传时间 CPython 3.10 manylinux: glibc 2.17+ x86-64

monetdbe-0.11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB 查看哈希值)

上传时间 CPython 3.10 manylinux: glibc 2.17+ ARM64

monetdbe-0.11-cp310-cp310-macosx_12_0_arm64.whl (92.7 kB 查看哈希值)

上传时间 CPython 3.10 macOS 12.0+ ARM64

monetdbe-0.11-cp310-cp310-macosx_10_15_x86_64.whl (4.7 MB 查看哈希值)

上传时间 CPython 3.10 macOS 10.15+ x86-64

monetdbe-0.11-cp39-cp39-win_amd64.whl (6.8 MB 查看哈希值)

上传时间 CPython 3.9 Windows x86-64

monetdbe-0.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB 查看哈希值)

上传时间 CPython 3.9 manylinux: glibc 2.17+ x86-64

monetdbe-0.11-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB 查看哈希值)

上传时间 CPython 3.9 manylinux: glibc 2.17+ ARM64

monetdbe-0.11-cp39-cp39-macosx_12_0_arm64.whl (92.7 kB 查看哈希值)

上传时间 CPython 3.9 macOS 12.0+ ARM64

monetdbe-0.11-cp39-cp39-macosx_10_14_x86_64.whl (4.7 MB 查看哈希值)

上传时间 CPython 3.9 macOS 10.14+ x86-64

monetdbe-0.11-cp38-cp38-win_amd64.whl (6.8 MB 查看哈希值)

上传时间 CPython 3.8 Windows x86-64

monetdbe-0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB 查看哈希值)

上传时间 CPython 3.8 manylinux: glibc 2.17+ x86-64

monetdbe-0.11-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB 查看哈希值)

上传时间 CPython 3.8 manylinux: glibc 2.17+ ARM64

monetdbe-0.11-cp38-cp38-macosx_12_0_arm64.whl (92.7 kB 查看哈希值)

上传时间 CPython 3.8 macOS 12.0+ ARM64

monetdbe-0.11-cp38-cp38-macosx_10_14_x86_64.whl (4.7 MB 查看哈希值)

上传时间 CPython 3.8 macOS 10.14+ x86-64

monetdbe-0.11-cp37-cp37m-win_amd64.whl (6.8 MB 查看哈希值)

上传时间 CPython 3.7m Windows x86-64

monetdbe-0.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB 查看哈希值)

上传时间 CPython 3.7m manylinux: glibc 2.17+ x86-64

monetdbe-0.11-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB 查看哈希)

上传时间 CPython 3.7m manylinux: glibc 2.17+ ARM64

monetdbe-0.11-cp37-cp37m-macosx_10_14_x86_64.whl (4.7 MB 查看哈希)

上传时间 CPython 3.7m macOS 10.14+ x86-64

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面