python-client-api
Add or modify Visdom Python client methods with correct server/frontend parity and typing updates
소스 정보
- 저장소
- fossasia/visdom
- 최근 소스 활동
- 2026년 8월 13일 13:03
- 감지된 SKILL.md 언어
- 영어
- 스타
- 10,326
- 포크
- 1,295
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- python-client-api
- description
- Add or modify Visdom Python client methods with correct server/frontend parity and typing updates
# Skill: Python Client API Changes
## When to Use
Use this skill when adding or changing methods in `py/visdom/__init__.py`.
## Core Workflow
1. Add/update the `Visdom` method in `py/visdom/__init__.py`.
2. Keep `@pytorch_wrap` on public plotting APIs.
3. Build payloads through `self._send(...)` with consistent keys (`data`, `win`, `eid`, `opts`).
4. Update `py/visdom/__init__.pyi` for type stub parity.
5. If payload shape changes, update server handling (`py/visdom/utils/server_utils.py`) and pane rendering assumptions.
6. Add or update demo usage in `example/` and relevant Playwright tests.
## Guardrails
- Do not bypass `_send()` with ad-hoc transport logic.
- Keep backward compatibility for `win`, `env`, and `update` behavior.
- API changes must be reflected in docs and type stubs.
## Documentation
- [Skill reference](references/REFERENCE.md)
- `py/visdom/__init__.py`
- `py/visdom/__init__.pyi`
- `py/visdom/utils/server_utils.py`
- `py/visdom/server/handlers/web_handlers.py`
- `AGENTS.md`
- `CONTRIBUTING.md`
## Assets
- See `assets/README.md` and store templates/resources in `assets/`.
## Tests
- Follow the default flow in `references/TESTS.md`.
GitHub에서 보기