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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mercuto_client-0.3.2a0.tar.gz.
File metadata
- Download URL: mercuto_client-0.3.2a0.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f96b70ff0a45c669f80b46aa1baed45beb087c05b5431a16e6744288ed3fd66
|
|
| MD5 |
a79c667d53a899c2a0f438672ea333fc
|
|
| BLAKE2b-256 |
f735dff95594360a99b2b97198bdc8216bf929ef904858e2a6870043810d08ed
|
File details
Details for the file mercuto_client-0.3.2a0-py3-none-any.whl.
File metadata
- Download URL: mercuto_client-0.3.2a0-py3-none-any.whl
- Upload date:
- Size: 63.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e76c61544d395fd92a72354059206ac8a948c693f74c341ba009b42d5addf65
|
|
| MD5 |
eddcab4655a4b13f1f2fb92c0d2bafdd
|
|
| BLAKE2b-256 |
c7fa8efc9ddf2a256ebf7c1232f84e880f126cd5c7529f2a500ab7c87b7dbfab
|