Skip to main content

yctl

Control Yggdrasil node with Python.

API

Yggdrasil's control commands translated from camelCase to pythonic snake_case methods. For example, getSelf becomes Control.get_self()

Supports keepalive mode if instantiated with keepalive=True.

Example

import asyncio
import yctl

async def main():
    ctl = yctl.Control(host="127.0.0.1", port=9001, keepalive=False)
    res = await ctl.get_peers()

    for k, v in res['response']['peers'].items():
        res = await ctl.debug_remote_get_self(v['key'])
        print(res)

asyncio.run(main())

Release files for yctl 1.0.0

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

Source distribution (sdist)

Source distribution for yctl 1.0.0
File Size Uploaded
yctl-1.0.0.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 10.7 kB

Release files / yctl-1.0.0.tar.gz

Download URL yctl-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
840f1051fffc2b50db7e7bc74c3ccee6756e7944ebe522cb239dfad4480cffc9
BLAKE2b-256 checksum
How to use checksums
f94027d1f2c12459469604c901d1ecc15fabf2dbfff6b3b1d6de14d1011b00c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release files / yctl-1.0.0-py3-none-any.whl

Download URL yctl-1.0.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83f7f8e4b5f4484d9a06d3a8cba5b1a1651e11b5e6727f1d554e6b5f8c1fccac
BLAKE2b-256 checksum
How to use checksums
90fa9cb0a2a0a4868115fdcf5ee1e78b1e1d66e64c7e145567af7c56b24b278f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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