Skip to main content

A python wrapper for coalesce objects

Project description

Copyright 2018-9, InCadence Strategic Solutions

The package pyCoalesce is a wrapper for the Coalesce database abstraction layer, which provides a common API for interacting with multiple databases.

A standalone version of pyCoalesce can be found at:

To install pyCoalesce via pip, simply "pip install pyCoalesce".

The "lxml" package is recommended for manipulating XSD-based classes, but it's not absolutely required.

The full Coalesce project can be found at:

The pyCoalesce version number corresponds to the Coalesce version number, but is modified to meet PEP 440 and PyPi rules: release version numbers are identical, but for snapshot versions, "snapshot" is replaced with "preX", where "X" is a sequential number incremented whenever a pyCoalesce snapshot is distributed.

The pyCoalesce package is found in the "pyCoalesce" directory of the Coalesce repository. In addition to the pyCoalesce source files, this directory and its sub-directories contain documentation (and source for creating documentation), a script for generating classes from the the Coalesce entity XSD, tests, and distribution tools.

The "unit tests" are not true unit tests: later tests rely on the entities created in earlier tests, thereby avoiding either repeated creation and deletion of entities, or testing against a mocked-up API. (The latter would be unnecessarily time-consuming to create, and wouldn't catch bugs in the API itself, which was still a consideration when this wrapper was created.) Apprentlyly, a recent change to Coalesce has caused one search est to fail, due to the creation of multiple entities with each "create" call. The test has been retained while the issue is under investigation.

To recreate the distribution files, run the following command from this directory (typical options have been included):

python sdist bdist_wheel

Project details

Download files

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

Files for pyCoalesce, version 0.0.41.dev5
Filename, size File type Python version Upload date Hashes
Filename, size pyCoalesce-0.0.41.dev5-py2-none-any.whl (61.8 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size pyCoalesce-0.0.41.dev5.tar.gz (54.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page