Skip to main content

A Python client for interacting with FME Flow via its REST API

Project description

fmeflowclient

fmeflowclient is a simple Python 3.x library for communicating with an FME Flow server using its rest API.

Install fmeflowclient

fmeflowclient is available on PyPI:

$ python -m pip install fmeflowclient

fmeflowclient is currently developed on Python 3.11.

This is not an offical client

Read The Docs

https://fmeflowclient.readthedocs.io

Implemented API calls

Automations

  • list all workflows (fmecli.automations.all())
  • list all tags (fmecli.automations.tags)

... and more not yet covered in the readme

Sample usage

Initialize the FME Flow API Client

from fmeflowclient import FMEFlowClient
fmecli = FMEFlowClient("https://fmeflow-fqdn/", token="FMETOKENHERE")

Get all workspace owners

# Get a list of dictionaries of all workspaces
workspaces = fmecli.workspaces.all()

# Create a set of workspace owners
workspace_owners = {ws["userName"] for ws in workspaces}

print(workspace_owners)

Healthcheck

print(fmecli.healthcheck["status"])

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

fmeflowclient-0.1.6.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

fmeflowclient-0.1.6-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file fmeflowclient-0.1.6.tar.gz.

File metadata

  • Download URL: fmeflowclient-0.1.6.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for fmeflowclient-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d933d2204c6c2944ae1eb77c5533ce709e37269ce610c8ff3f849b611d6d8ea5
MD5 c3f24a8ea5b018d2b580ea07b4dff5a7
BLAKE2b-256 72fa0d138e91e1ee6c0684bf33ac3c55f168dcf1ac841c03a831c8d77ea6c7b0

See more details on using hashes here.

File details

Details for the file fmeflowclient-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: fmeflowclient-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for fmeflowclient-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 62a0a3f560259cd179948ce543aa28c05aba4c12feedefb973f90d206a446457
MD5 e87cf7dfcaf36a1dca26c61c102e1554
BLAKE2b-256 326352f6d9a4cb098b2a8b278e8f6b6f58c0ef4d98c237fbcbc5651412028927

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