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: 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.) Apprently, a recent change to Coalesce has caused one search test 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 the main pyCoalesce directory (typical options have been included):

python setup.py 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.

Source Distribution

pyCoalesce-0.0.43.dev4.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyCoalesce-0.0.43.dev4-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

Details for the file pyCoalesce-0.0.43.dev4.tar.gz.

File metadata

  • Download URL: pyCoalesce-0.0.43.dev4.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for pyCoalesce-0.0.43.dev4.tar.gz
Algorithm Hash digest
SHA256 6af1fd3f5282cecbd210290213ac81917a458f5952492d1e9740e0d08ee7d194
MD5 23ee5cf8b3323a05551fcacfa89de181
BLAKE2b-256 dbd3d3234702e4b2cbe55d5079912852bb7bf5cff2a82b01cb87cc724fa4cb09

See more details on using hashes here.

File details

Details for the file pyCoalesce-0.0.43.dev4-py3-none-any.whl.

File metadata

  • Download URL: pyCoalesce-0.0.43.dev4-py3-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for pyCoalesce-0.0.43.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 0748e0bbe9b4b3bb03a6b689317b1f221971bde3e1e450fcc71a8136da88273c
MD5 74b6af85d0b2eccc65938b06340eb334
BLAKE2b-256 0534cf0134a3c590fd1ce786ca706e090b11b2d5ebc4854086730269c190d9c8

See more details on using hashes here.

Supported by

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