Python wrapper for TopoMojo API
Project description
PyTopoMojo
This project is a Python API Client that can be used to interact with TopoMojo. It is a work in progress, so not all TopoMojo API endpoints are implemented yet.
📖 API Documentation: https://jbooz1.github.io/pytopomojo/
Installation
pip install pytopomojo
Uplaod Workspace Example
from pytopomojo import Topomojo
topomojo = Topomojo("<topomojo_url>", "<topomojo_api_key>")
topomojo.get_workspaces()
# Upload a workspace archive
topomojo.upload_workspace("/path/to/workspace.zip")
# Upload multiple workspace archives
topomojo.upload_workspaces(["/path/one.zip", "/path/two.zip"])
Workspace Update Example
from pytopomojo import Topomojo
tm = Topomojo("<topomojo_url>", "<api_key>")
# Update workspace name and description
tm.update_workspace(
workspace_id="<workspace-guid>",
changed_workspace_data={
"name": "New Name",
"description": "New Description"
# 'id' is optional; the client will include it automatically
}
)
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
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 pytopomojo-0.2.0.tar.gz.
File metadata
- Download URL: pytopomojo-0.2.0.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e0a919840fa2f6e22a469660e3fbf1e20d4a3f6b25fae70474e5a7ae228beb4
|
|
| MD5 |
49cabffeed2eb429773bc7b3dd794d57
|
|
| BLAKE2b-256 |
73aba3a70aecd2bb890414b15c5ee8b23ef916d8a924141efd1a855f17c035f4
|
Provenance
The following attestation bundles were made for pytopomojo-0.2.0.tar.gz:
Publisher:
publish.yaml on jbooz1/pytopomojo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytopomojo-0.2.0.tar.gz -
Subject digest:
2e0a919840fa2f6e22a469660e3fbf1e20d4a3f6b25fae70474e5a7ae228beb4 - Sigstore transparency entry: 1521783947
- Sigstore integration time:
-
Permalink:
jbooz1/pytopomojo@c96ce40feeecf1077e255e944c738f17c808307d -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/jbooz1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c96ce40feeecf1077e255e944c738f17c808307d -
Trigger Event:
release
-
Statement type:
File details
Details for the file pytopomojo-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pytopomojo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c08fd7b6a1500dfd5bba06eb361f77166c0ab910130ed0db321617fe0ebd2d1b
|
|
| MD5 |
d2a9efa9e6e451e2af5f6afffce83bbd
|
|
| BLAKE2b-256 |
36ec01715e26887bc497d85344e60d3f51b0e478cbf0985efc8600e435688977
|
Provenance
The following attestation bundles were made for pytopomojo-0.2.0-py3-none-any.whl:
Publisher:
publish.yaml on jbooz1/pytopomojo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytopomojo-0.2.0-py3-none-any.whl -
Subject digest:
c08fd7b6a1500dfd5bba06eb361f77166c0ab910130ed0db321617fe0ebd2d1b - Sigstore transparency entry: 1521783969
- Sigstore integration time:
-
Permalink:
jbooz1/pytopomojo@c96ce40feeecf1077e255e944c738f17c808307d -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/jbooz1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c96ce40feeecf1077e255e944c738f17c808307d -
Trigger Event:
release
-
Statement type: