Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monetdbe-0.8.tar.gz (48.1 kB view hashes)

Uploaded Source

Built Distributions

monetdbe-0.8-cp38-cp38-manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.8

monetdbe-0.8-cp38-cp38-macosx_10_13_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.8 macOS 10.13+ x86-64

monetdbe-0.8-cp37-cp37m-manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.7m

monetdbe-0.8-cp37-cp37m-macosx_10_13_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.7m macOS 10.13+ x86-64

monetdbe-0.8-cp36-cp36m-manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.6m

monetdbe-0.8-cp36-cp36m-macosx_10_13_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.6m macOS 10.13+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page