MonetDBe - the Python embedded MonetDB
Project description
monetdbe
MonetDBe - the Python embedded MonetDB
https://github.com/monetdBSolutions/MonetDBe-Python/
documentation: https://monetdbe.readthedocs.io/en/latest/
requirements
For binary wheel installation you need:
- Linux or OSX 10.13+
- pip >= 19.3
- Python >= 3.6
For non-binary wheel installation (Windows) you also need to have MonetDB installed.
install
you can install monetdbe from pypi using:
# pip install monetdbe
On supported platforms, this will download and install the Binary wheel, otherwise a source compile is started.
compile
You need a recent MonetDB installation with INT128 on and py3integration off:
$ hg clone hg://dev.monetdb.org/hg/MonetDB
$ cd MonetDB
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=<monetdb_prefix> -DINT128=ON -DPY3INTEGRATION=OFF
$ make install
You can also compile monetdbe from the source folder:
$ git clone https://github.com/MonetDBSolutions/MonetDBe-Python/
$ cd MonetDBe-Python
$ pip install .
You need to have MonetDB available on the default search paths, if it is
installed in a different location you need to specify CFLAGS
:
CFLAGS="-I<monetdb_prefix>/include -L<monetdb_prefix>/lib" pip install .
development
You can use pytest to run the test suite from the source checkout:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -e ".[test,doc]"
$ pytest
If MonetDB is installed in a specific location, set the LD_LIBRARY_PATH
environment variable first:
$ export LD_LIBRARY_PATH=<monetdb_prefix>/lib
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for monetdbe-0.8.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d80a714cc0f18aa2a40a5b7edba39ce0455c82dfe742c60e07b226852ce595 |
|
MD5 | 1583f01e7a4add046631d69d276d64e4 |
|
BLAKE2b-256 | 1a6156daefc27902f8315be72b98188d3f78141fccc906d9dc0da726a18c2c5a |
Hashes for monetdbe-0.8.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40fd209c259fae28f1c2c2d48b35627db0d83b472a841eea126aeec32a0f09fb |
|
MD5 | df84e4115e31d6d7214226e7ad2a25dc |
|
BLAKE2b-256 | 29d25e0c5b1dd585327e61eefda7929ccfa27a5b23d2d1fc0c1a41ce50c8250f |
Hashes for monetdbe-0.8.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fb8dae7802835b9ea96aca9f0c99fed23f27fc73bfd60b1db6e0ba21968d5e5 |
|
MD5 | e5263f7a58ca889d76815e4dfe6ac15d |
|
BLAKE2b-256 | e2426de228e51e3b2a02e0bb83448089712c028a98aadd116a24453a8d2edb22 |