Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

This library provides a wrapper for Yggdrasil Admin API.

Installation

for Linux

pip3 install yggdrasilctl

for Windows

pip install yggdrasilctl

Usage

sync version

from pprint import pprint
from yggdrasilctl.sync import AdminAPI, APIError

api = AdminAPI() #unless otherwise specified it will connects to localhost:9001
try:
    info = api.getSelf()
except APIError as e:
    print(e)
else:
    pprint(info)

async version

import asyncio
from pprint import pprint
from yggdrasilctl import AdminAPI, APIError

async def main():
    api = AdminAPI()
    try:
        info = await api.getSelf()
    except APIError as e:
        print(e)
    else:
        pprint(info)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Detailed description of API methods

For details see documentation of Admin API.

Links

Yggdrasil project

This library on PyPI

Metadata

Release files for yggdrasilctl 0.0.1a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yggdrasilctl 0.0.1a4
File Size Uploaded
yggdrasilctl-0.0.1a4.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yggdrasilctl 0.0.1a4
File Interpreter ABI Platform
yggdrasilctl-0.0.1a4-py3-none-any.whl Python 3 none any Details

Total release size: 25.2 kB

Release files / yggdrasilctl-0.0.1a4.tar.gz

Download URL yggdrasilctl-0.0.1a4.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e7d13942c6e21d5d82f3907988c2b3fa3266a9695493d8b8c6533b92f4b4dc11
BLAKE2b-256 checksum
How to use checksums
191aa211d205d1e1be3a646a8f75aaedcc9e6d04ef83e2612d282ac6a72c5bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.5

Release files / yggdrasilctl-0.0.1a4-py3-none-any.whl

Download URL yggdrasilctl-0.0.1a4-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f86cc8ecf819e360463a8d8773e770648900a2085840050966a4597e3d2445c2
BLAKE2b-256 checksum
How to use checksums
7db999ea6863397e3bdd9e95111cf7d8e527fe0f0b1d5c651eccddd25ee3fa17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page