Registry / ai-ml / swankit

swankit

JSON →
library0.2.4pypypiunverified

Base toolkit for SwanLab, a machine learning experiment tracking and visualization platform. Version 0.2.4 provides core utilities like data models, chart types (ECharts), and helper functions for building SwanLab extensions. Released on PyPI with active development.

pip install swankit
INSTALL
IMPORT
SIG · SWANKIT
S
swankit
ai-mlpythonv0.2.4
Install
1.8s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 21MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

System
from swankit import System
from swankit.env import System

Basic usage of swankit: access environment system info and chart type enum.

from swankit.env import System from swankit.chart import ChartType # Access system info sys_info = System(info={'python_version': '3.10', 'os': 'Linux'}) print(sys_info.info) # Use chart types chart_type = ChartType.LINE print(chart_type)
Debug
Known issues
gotchaDo not import directly from swankit (e.g., from swankit import ...). Many classes are in submodules like swankit.env, swankit.chart, swankit.models.
fix
Use the correct submodule import path (e.g., from swankit.env import System).
affects: >=0.2.0
gotchaswankit is separate from swanlab; installing swankit does not install swanlab. If you need full experiment tracking, install swanlab explicitly.
fix
Install swanlab via pip install swanlab if needed.
affects: all
gotchaThe API is still evolving; breaking changes may occur between minor versions (e.g., v0.1.x to v0.2.0). Check changelog before upgrading.
fix
Pin exact version or review release notes.
affects: <0.2.0
Upgrade
Version history
0.2.4latest on PyPI · released Jun 13, 2025
Audit
Dependencies
swanlaboptionalswankit is typically used alongside swanlab for full experiment tracking
Agent activity
33 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
swankit — pip install swankit · libregistry