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.4.1a4.tar.gz (70.6 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.4.1a4-py3-none-any.whl (89.1 kB view details)

Uploaded Python 3

File details

Details for the file mercuto_client-0.4.1a4.tar.gz.

File metadata

  • Download URL: mercuto_client-0.4.1a4.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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.4.1a4.tar.gz
Algorithm Hash digest
SHA256 a24eb4aed9368ac2c228b8f80d5a7f26aa4bfefc73683d43625968049568e8d3
MD5 df93064d0e7ac01100811d47faf8df57
BLAKE2b-256 23a75022dbe3e3fcb1ea3b23c0b43e88c1031a1e043f37669b87f6ece7a0d463

See more details on using hashes here.

File details

Details for the file mercuto_client-0.4.1a4-py3-none-any.whl.

File metadata

  • Download URL: mercuto_client-0.4.1a4-py3-none-any.whl
  • Upload date:
  • Size: 89.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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.4.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 5425dc7fb1db7d437e8b7c294c17ec2c30739ae06cf93492a596667eb536d7ac
MD5 5022e07b1ce020d4945b07581b9c5b2a
BLAKE2b-256 bde01a064e8b30d800cc9c20b4380abbf364b8a7477e8276390f473ffe441d28

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