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: 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 "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 setup.py sdist bdist_wheel
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 Distribution
Hashes for pyCoalesce-0.0.41.dev4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 689ce10ebde75d2171e0ff1e6be3b64157678229b2a2fd311af0919d71cd922b |
|
MD5 | 5b46208e2f637796a977040298d774db |
|
BLAKE2b-256 | 59d2e50bfb86d2092af30ec6cc21eda2c91a6fc40e55835b45158c5937cda290 |