VynCo Python SDK (vynco) — Python client for the VynCo Swiss Corporate Intelligence API.
uv sync # Install all dependencies
uv run pytest # Run all tests
uv run pytest -x # Stop on first failure
uv run pytest -k "test_company" # Run specific tests
uv run ruff check src/ # Lint
uv run ruff format src/ # Format
uv run mypy src/ # Type checksrc/vynco/— Package source (src layout)_constants.py— Default base URL, timeout, version_errors.py— Exception hierarchy (VyncoError → AuthenticationError, etc.)_response.py— Response[T] and ResponseMeta dataclasses_base_client.py— Shared HTTP logic, retry, error mapping_client.py— AsyncClient + Client (sync)types/— Pydantic v2 models (one file per domain)resources/— Resource classes (async + sync variants per file)tests/— pytest + respx tests
- All API models use
VyncoModelbase (Pydantic with camelCase alias) - Resource methods use keyword-only arguments (not param objects)
- Both sync and async resource classes live in the same file
- The
queryPython parameter maps tosearchon the wire - Use
from __future__ import annotationsin all modules