A python wrapper for coalesce objects
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: https://pypi.org/project/pyCoalesce/
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: https://github.com/InCadence/coalesce
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 "devX", 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 setup.py sdist bdist_wheel
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyCoalesce-0.0.41.dev7-py2-none-any.whl (61.8 kB)||File type Wheel||Python version py2||Upload date||Hashes View hashes|
|Filename, size pyCoalesce-0.0.41.dev7.tar.gz (54.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for pyCoalesce-0.0.41.dev7-py2-none-any.whl