MonetDBe - the Python embedded MonetDB
Project description
monetdbe
MonetDBe - the Python embedded MonetDB
https://github.com/monetdBSolutions/MonetDBe-Python/
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/monetdb -L<monetdb_prefix>/lib/monetdb" pip install .
development
You can use pytest to run the test suite from the source checkout:
$ python3 -m venv venv
$ venv/bin/pip install -e .
$ venv/bin/pip install pytest
$ venv/bin/pip install numpy pandas
$ venv/bin/pytest
If MonetDB is installed in a different location, set the LD_LIBRARY_PATH environment variable first:
$ export LD_LIBRARY_PATH=<monetdb_prefix>/lib:<monetdb_prefix>/lib/monetdb5
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 Distributions
Built Distributions
Hashes for monetdbe-0.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e34b0ad73b191efd04a64bfc5e89da839d5e9d6317ba25ddf3116e7ddee087c |
|
MD5 | 016fdb44d668dfb0d4c241a268cadcfc |
|
BLAKE2b-256 | 02f009579078c1fafde9e74cba1f974bc721ff5b0707c461e8334efc6614d1f7 |
Hashes for monetdbe-0.6-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1075af2131f0fad3c0c3e825c2e3fa554b1e7e759d26e521af03d768dacb05 |
|
MD5 | 690f04cb67bb2b3c53f1a7366dd22ea5 |
|
BLAKE2b-256 | fc1c77d931f8f28a8e6e303d5315a9bc5e068111e35641609fd83b888ee87bea |
Hashes for monetdbe-0.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607e59dbd9a15f64dcfcde507803253afd53480e05adcc00d15fe044f5adea5e |
|
MD5 | 1895efa0e7971797ac1f9153d6c0a82d |
|
BLAKE2b-256 | 2737e558772d63506c3eb5cd0a307115ad8c75cdbf6c4ee76b2358d9cbbd0dce |
Hashes for monetdbe-0.6-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900b5ea2f9c4d0dbe09ba2c3847df26ee450d46773e329409b5989204a5e23d7 |
|
MD5 | b9e7d02cf9375f4592366a0b564c3294 |
|
BLAKE2b-256 | 32bfab768b6f7662ad96b75d1e682802652e6d7c96361993d6ac3815d6dd541e |
Hashes for monetdbe-0.6-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b3750053ec95dfd62bbc05e07fa349854ea3c7d4f84310d422c5783fb211b26 |
|
MD5 | 403ced8afd5974cc640660556c7e6486 |
|
BLAKE2b-256 | 78909e4efff7e5e6bfa1e26d242d9eecfea09b9ed303c271747d119383b9f90b |
Hashes for monetdbe-0.6-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ab9524ce43fef05eded09f3cc7fe6b460d2b9813999c4d361690bdbd5d71c4 |
|
MD5 | a2e13ebca4703b110029e742b1eb3b75 |
|
BLAKE2b-256 | 5d540d2d8525365e38d2a500e3ddf906dc0ac79aca37a22431b20194cdc9a468 |