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.9a7.tar.gz (65.8 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.9a7-py3-none-any.whl (82.3 kB view details)

Uploaded Python 3

File details

Details for the file mercuto_client-0.3.9a7.tar.gz.

File metadata

  • Download URL: mercuto_client-0.3.9a7.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mercuto_client-0.3.9a7.tar.gz
Algorithm Hash digest
SHA256 331476d4d685aae08f32f5ee75fd58da6354268056aa1d5a95d622bb30cdb889
MD5 3211cc8f5fd4042e99f3411f2cd18d26
BLAKE2b-256 ee8e300542f693c8e39dbac964430ec9682d62fc4e002a83564534a04b5939b2

See more details on using hashes here.

File details

Details for the file mercuto_client-0.3.9a7-py3-none-any.whl.

File metadata

  • Download URL: mercuto_client-0.3.9a7-py3-none-any.whl
  • Upload date:
  • Size: 82.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mercuto_client-0.3.9a7-py3-none-any.whl
Algorithm Hash digest
SHA256 5110bfae7aaf54bc03a2b14e018548f881d4cfd00d6c6fa999c983529da5c6ee
MD5 f61442e11b50f483f8f415e8d6679810
BLAKE2b-256 d1c33eb245c44597a1b5e42ddaad1b8acc5922e75b2a04dcf70bd689b3f3dac4

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