Skip to main content

PyPI

pyheavydb

A python DB API compliant interface for HeavyDB (formerly OmniSci and MapD).

Building from source

  1. Requires Python >= 3.10
  2. Clone the repository and navigate to the project directory.
  3. The build rquires the thrift executable. See thrift installed. Make sure the directory containing the thrift binary is on your PATH. Note - It's recommened to install a virtual python environment. In these instuction pip is used,
  4. python3 -m venv venv
  5. . ./venv/bin/activate Install the python build tools
  6. pip install build Run the build target for the makefile. This will also call the makefile's thrift target.
  7. make build

Running the tests.

The test require a running HeavyAI backend database to connect to.

These instruction assume that the database backend is running on the same host as the tests, that it has opened the default ports and that those ports are accessible, as in not blocked by the local firewall.

Start the backend HeavyDB server.

Similary to building 'pyheavydb' it is recommended to install and test from a virtual python environment. These instruction need to be run from the project directory.

  1. Build (see above) and install pyheavydb.
  2. pip install pytest pytest-mock
  3. pytest test/test_cursor.py
  4. pytest test/test_connection.py
  5. pytest test/test_integration.py
  6. pytest test/test_results_set.py

Release

Update the version numbers appropriately and run and make publish Releasing on PyPi assume you have a PyPi token in your environment.

Release files for pyheavydb 8.0.1.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyheavydb 8.0.1.post1
File Size Uploaded
pyheavydb-8.0.1.post1.tar.gz 88.9 kB Details

Release files / pyheavydb-8.0.1.post1.tar.gz

Download URL pyheavydb-8.0.1.post1.tar.gz
Size 88.9 kB
Tags Source
SHA-256 checksum
How to use checksums
91c95eeea631cf347c8d85027befe4706b038ee0c3bbfd04ab605e94748d86f7
BLAKE2b-256 checksum
How to use checksums
e37fcda3aa80e9941f0a6501d8e128f00f24f2131d4425e62523528f93bb97b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

8.0.1.post1 This release

1 release file

8.0.1

1 release file

6.4.0

2 release files

6.1.1

2 release files

6.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page