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
$ source venv/bin/activate
$ pip install -e ".[test,doc]"
$ 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 Distribution
Built Distributions
Hashes for monetdbe-0.7-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba8884c15307e72b0a710150f576c13d2923c10df0fd8e3948b808fcb5dc056 |
|
MD5 | 9d2d93b9c5bf42e0b51dfec5197de97f |
|
BLAKE2b-256 | 7457234d7bfb9b8366da1be9228033b485dacbf4fe6753f7eecabb5df9ac32cd |
Hashes for monetdbe-0.7-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cc4e58564399890f442aaeff78dc7a2867270ac20ea03726727d1f2b29828d |
|
MD5 | 9cfbea1f32d5cda5efb798b7900a0566 |
|
BLAKE2b-256 | 26108d177528d5111c9db95e389173ea6fe569ffda63443847d308ac56594f49 |
Hashes for monetdbe-0.7-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b367bc65562255d9009c9f4e7713d08eb02f6cd7b24e31220ec204dbd2d6fba5 |
|
MD5 | 5d6d3d84171ff26578c4bada910a5ec3 |
|
BLAKE2b-256 | 25546cc466e39c160317cbe61df851c0da969f553753e839c7c4fe70f49ae9a9 |
Hashes for monetdbe-0.7-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d3ab24f18753dc9215acc68dc8e92c4f1912d62a84a8da000c646e87e0ee0ff |
|
MD5 | 36ac2954f13e0c1afb8e0b376fd78c85 |
|
BLAKE2b-256 | c55ddcb83e3f660307a8eb0f0272735964b83f936ec7ad1708c30d8d87fa5ad6 |
Hashes for monetdbe-0.7-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4045cb46d3901dfa0e80cafe2c6bec4a0aaa520e2038d267f91a69794701e5a6 |
|
MD5 | 5ed8a0ce3a614d5d518675ea25fff8e4 |
|
BLAKE2b-256 | cf17fc58fdf6f97803b83c3fa62209cb31d49256d2f680782d17f1c0596c5e2c |
Hashes for monetdbe-0.7-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbbeb3790c2be0b044d13a8c2fff028a8806792d1269eef1b6afd44b432b7e9a |
|
MD5 | 098e978f246cdda8801d8b58f44ad0e3 |
|
BLAKE2b-256 | 0aed9648dbb389196eb4d9d12124e7ac38ae7391ad7b4c2fef7177be7c03dbb2 |