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.9a3.tar.gz (65.3 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.9a3-py3-none-any.whl (81.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mercuto_client-0.3.9a3.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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.9a3.tar.gz
Algorithm Hash digest
SHA256 515549d5adb96acc57ae386316ff34edb137d983539f8263d7cb81ca10b8c2fd
MD5 f30a388495b6f7db6ae0ff4ca40dbdf5
BLAKE2b-256 68df265e9154b90902f133b21c49399a9cabc25415445a0cad62cdc4fdb4a741

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mercuto_client-0.3.9a3-py3-none-any.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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.9a3-py3-none-any.whl
Algorithm Hash digest
SHA256 8650aeac0bc788d3b5a9bc01d7924e246c0855b130a31926c894a525d7cf2005
MD5 2570afc15459f20096022ba3b01479fa
BLAKE2b-256 dd2ef0b0e2ee6dcf87f9ff7b982cd683bd23d90461fa3994f17c6531ae7301b2

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