Skip to main content

Library for interfacing with Rockfield's Mercuto API

Project description

Mercuto Client Python Library

Library for interfacing with Rockfield's Mercuto public API. This library is in an early development state and is subject to major structural changes at any time.

(Visit our Github Repository)[https://github.com/RockfieldTechnologiesAustralia/mercuto-client]

Installation

Install from PyPi: pip install mercuto-client or adding the same line into your requirements.txt.

Basic Usage

Use the connect() function exposed within the main package and provide your API key.

from mercuto_client import connect

client = connect(api_key="<YOUR API KEY>")
print(client.core().list_projects())

# Logout after finished.
client.logout()

You can also use the client as a context manager. It will logout automatically.

from mercuto_client import MercutoClient

with MercutoClient.as_credentials(api_key='<YOUR API KEY>') as client:
    print(client.core().list_projects())

Current Status

This library is incomplete and may not be fully compliant with the latest Mercuto version. It is only updated periodically and provided for use without any warranty or guarantees.

  • API Based login (Completed)
  • Username/password login

Running tests

Install test packages: python -m uv sync --group tests Run tests: uv run pytest

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

mercuto_client-0.3.1.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

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

mercuto_client-0.3.1-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

Details for the file mercuto_client-0.3.1.tar.gz.

File metadata

  • Download URL: mercuto_client-0.3.1.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.3

File hashes

Hashes for mercuto_client-0.3.1.tar.gz
Algorithm Hash digest
SHA256 967a89c75d5b347e7b30e5784baf77f2b04a4898e89d72a66b196b5a843431a5
MD5 8e08114597a5591880e168622e64450d
BLAKE2b-256 7c10dbd5ba2bf04b28ec6ca79b8a6365bd45742cb8b4af64d7777c7f55d6be9e

See more details on using hashes here.

File details

Details for the file mercuto_client-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mercuto_client-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4902949bfe88b464dc96c3d40bac89626d3f331980a3fb59b921a1c47cc3a6e5
MD5 4e55600af1b94a25f839b3569703962a
BLAKE2b-256 2d44e0555f86b0e8cc6e3e3e3af57e609e43f5ad82c77cf08464d417709a6de1

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