Skip to main content

Library for BMC Discovery API Interface.

Project description

Tideway

Simplified Python library for BMC Discovery API Interface that makes use of the Python Requests module https://github.com/psf/requests and uses the same response handler.

>>> import tideway
>>> tw = tideway.appliance('appliance-hostname','auth-token')
>>> tw.about().url
'https://appliance-hostname/api/about'
>>> tw.about().status_code
200
>>> tw.about().text
{
    "api_versions": [
        "1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","1.10","1.11","1.12","1.13","1.14"
    ],
    "component": "REST API",
    "version":"DaaS",
    "product": "BMC Helix Discovery",
    "version": "25.2.00"
}

Tideway follows BMC Discovery's well-structured and documented REST API which can be viewed from https://<appliance>/swagger-ui/.

Tideway removes the extra layer of manually constructing a URL and parameters for python requests allowing you to query API supported features of Discovery seamlessly and faster than if you were to navigate via the GUI.

Documentation

Documentation can be found at https://traversys.github.io/Tideway/.

Installation

  • Tideway can be installed via PyPI:
$ python -m pip install tideway
  • Tideway supports BMC Discovery 11.3+, API v1.0-1.14 using Python 3.

Releases

Version Summary Known Issues Fixed
0.1.1 - Updated to API v1.2
- Added help(), search_bulk()
search call retains last parameters for offset, results_id
0.1.2 Bug Fixes Bulk search with larger limit than dataset will fail on missing next_offset - Fixed issue with offset and results_id values
- Fixed issue with bulk search parameter lower limit.
0.1.3 Bug Fixes Added check for next_offset.
0.1.4 Search bulk update Discovery 12.3 (21.3) enforces strict case for "Bearer" header - api calls will not current work. Now includes headers for non-formatted search.
0.1.5 Updated to support Discovery 12.3 (API version 1.3) - Missing 'complete' parameter option on graphNode() function. - Fixed issue with Bearer capitalisation.
- Search Bulk will now return the full response on failure
0.2.0 Updated to include Kerberos, Models and Taxonomy endpoints.

Added new high level generic endpoint function calls

Refactored function names/decorators to match API endpoints as close as possible.

Supports Discovery 22.2 (12.5) (API version 1.5) and Outpost API version 1.0
Project missing tkinter module: https://github.com/traversys/Tideway/issues/15 Added 'complete' parameter to get_data_nodes_graph() (replaces graphNode())
0.2.1 Added complete flag for graph calls, bug fixes to pagination and default focus.

Can retrieve condition templates without an ID.

Kerberos realm detection fixed and parameters are reset after each request.
0.2.2 Removed unused Tkinter library. Issue: https://github.com/traversys/Tideway/issues/15
0.2.3 Updated to support API version 1.14 May not work with all new endpoints.

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

tideway-0.2.1.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

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

tideway-0.2.1-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file tideway-0.2.1.tar.gz.

File metadata

  • Download URL: tideway-0.2.1.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tideway-0.2.1.tar.gz
Algorithm Hash digest
SHA256 574ee9ecc4994c7f031d313178830a505e58dd915ce34981813a5d2ce465088c
MD5 b56c2480ed41de02f8ab109afafb7ac6
BLAKE2b-256 63478a6d5f7bc0742d4dc54e56697c38947269452e6390a85eb04359da2606a7

See more details on using hashes here.

File details

Details for the file tideway-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tideway-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tideway-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c82d6376db59ac000579195ce48352d467f925493eabd96bca22a72e8a2acd4b
MD5 14b7852e54dddb4bf5a5488471bd2566
BLAKE2b-256 7e7083899fd746978040f5175a4f87446454ff2b267164b1ddc430eef7477285

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