Skip to main content

Python API Client for CMF

Project description

cmfapi

This package provides a simple, modular SDK for the Common Metadata Framework (CMF) REST API.

Features

  • Automatically handles authentication and renewal
  • Graceful error management
  • Logically organized modules
  • Easily maintained

Installation

Install using pip:

pip install cmfapi

Install from source:

git clone https://github.com/atripathy86/cmfapi.git
cd cmfapi
pip install -e .

Build/Upload for pypi:

pip install build
# Build the package
python -m build 
#Creates dist/ with tar.gz and .whl 
pip install twine
twine upload dist/*

Quick Start

Initialize the Client

from cmfapi import cmfClient
client = cmfClient("http://192.168.2.143:8080")

Example Usage

Get CMF API Server Pipelines

pipelines = client.get_pipelines()
print(pipelines)  

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

cmfapi-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

cmfapi-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file cmfapi-0.0.1.tar.gz.

File metadata

  • Download URL: cmfapi-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for cmfapi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3e00a987e48d68233668c056a807190915bd0a2f4e1b09f2c581018d066ea602
MD5 8ee432feda5166b7b5c046bc528463c6
BLAKE2b-256 8303c729d25a64210024af041b6020158cfd6ed648632dabd663edca21f7f7c4

See more details on using hashes here.

File details

Details for the file cmfapi-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cmfapi-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for cmfapi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59e1886acbc4ee5528aa11bcfcfe3a5c7d8dfe4324518faab851083e0d206ce4
MD5 cba445c9b831fe125c1435a76d381796
BLAKE2b-256 19e6abc724a68fb9c66ed079caa4906a29dcb880e9a5a46179591f17177e26e5

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