Skip to main content

Informatics Matters Data Manager API Client

PyPI package (latest) Documentation Status

A Python 3 package that provides simplified access to key parts of the Informatics Matters Data Manager API REST interface. The functions provide access to some of the key API methods, implemented initially to support execution of Jobs from a Fragalysis stack backend.

The following API functions are available: -

  • DmApi.get_access_token()

  • DmApi.set_api_url()

  • DmApi.get_api_url()

  • DmApi.ping()

  • DmApi.create_project()

  • DmApi.delete_instance()

  • DmApi.delete_instance_token()

  • DmApi.delete_project()

  • DmApi.delete_unmanaged_project_files()

  • DmApi.get_available_jobs()

  • DmApi.get_available_projects()

  • DmApi.get_job()

  • DmApi.get_job_by_name()

  • DmApi.get_instance()

  • DmApi.get_project()

  • DmApi.get_project_instances()

  • DmApi.get_task()

  • DmApi.get_unmanaged_project_file()

  • DmApi.get_unmanaged_project_file_with_token()

  • DmApi.get_version()

  • DmApi.list_project_files()

  • DmApi.put_unmanaged_project_files()

  • DmApi.start_job_instance()

  • DmApi.set_admin_state()

A namedtuple is used as the return value for many of the methods: -

  • DmApiRv

It contains a boolean success field and a dictionary msg field. The msg typically contains the underlying REST API response content (rendered as a Python dictionary), or an error message if the call failed.

Installation (Python)

The API utilities are published on PyPI and can be installed from there:

pip install im-data-manager-api

Documentation

Project documentation is available in the data-manager-api project on Read the Docs

Get in touch

  • Report bugs, suggest features or view the source code on GitHub.

Metadata

Release files for im-data-manager-api 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for im-data-manager-api 3.0.0
File Size Uploaded
im-data-manager-api-3.0.0.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for im-data-manager-api 3.0.0
File Interpreter ABI Platform
im_data_manager_api-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / im-data-manager-api-3.0.0.tar.gz

Download URL im-data-manager-api-3.0.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
563fca20f6b1fd4e2f646eb21e5f44912634739ab7f69c23b44b5d9257d370fb
BLAKE2b-256 checksum
How to use checksums
59f73e325f664186913160feef24061b5c3f2195225863aec745e161466830c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / im_data_manager_api-3.0.0-py3-none-any.whl

Download URL im_data_manager_api-3.0.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91d2816ca8bbc65a11b4b1afb4de2863bca25e98b43fd56796fdc820821182a9
BLAKE2b-256 checksum
How to use checksums
60cba978f37c6ec8d49536f5b456361edc5c7893caedb5df9a5157c4cae74217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page