Skip to content

cinode-client 0.1.0

Choose a tag to compare

@fredrik fredrik released this 23 Sep 21:25
· 31 commits to main since this release
be44dd0

The first release: a read-only library and CLI for Cinode skills, and the
users, teams and keywords needed to reach them.

  • Library: Cinode with whoami(), users (list, get, skills.list,
    skills.get, teams.list), teams (list, get, members.list) and
    keywords.search. A user is a positive int or "me".
  • Operations: cinode.ops.team_skills fetches every member's skills, and
    records members that return 403 or 404 in skipped.
  • Models: frozen pydantic models with snake_case fields and .raw; an
    unrated skill level (0) becomes None.
  • Transport: GET only. The token is cached and refreshed before expiry and
    once on a 401; /token and other endpoints are rate-limited on the client;
    429, 502, 503, 504 and network errors are retried.
  • Errors: CinodeError and its subclasses, with status, path and
    correlation_id.
  • CLI: cinode mirrors the library, plus teams list --match and
    cinode schema. JSON on stdout, a JSON error envelope on stderr, and
    documented exit codes.
  • Tests: unit tests, and a live acceptance suite.

Install

uv tool install https://github.com/knowit-solutions-cocreate/cinode-client/releases/download/v0.1.0/cinode_client-0.1.0-py3-none-any.whl

See the README for credentials, the CLI output contract and exit codes.