Skip to main content

PyHive — Hive API client for Python

PyHive (package: PyHiveLMS) is a lightweight synchronous Python client for the Hive LMS API, featuring Pydantic V2-based models for type safety and validation.

It provides:

  • HiveClient, a typed Python client for programs, subjects, modules, exercises, assignments, users, classes, the schedule and help requests.
  • pyhive, a CLI for quick reads and deletes with --json output for scripts and agents.
  • Runnable example scripts and a Claude Code skill, shipped inside the package.

Documentation: https://ramot-systems-inc.github.io/.github/pyhive/ — the same pages ship in the package (pyhive docs).

Supported Hive Versions

  • 5.11.1
  • 5.12.0
  • 6.0.1
  • 6.1.1
  • 6.2.0
  • 6.3.0
  • 6.4.0
  • 7.0.1
  • 7.1.0
  • 7.2.0
  • 7.3.0
  • 8.0.4

Install

Install a tagged release from the org's pip index, hosted on GitHub Pages:

pip install PyHiveLMS --index-url https://ramot-systems-inc.github.io/.github/pypi/

To make it permanent, add the index to your pip config instead of passing it every time:

pip config set global.extra-index-url https://ramot-systems-inc.github.io/.github/pypi/
pip install PyHiveLMS

Or add it to requirements.txt:

--extra-index-url https://ramot-systems-inc.github.io/.github/pypi/
PyHiveLMS

Upgrade to the latest published wheel:

pip install --upgrade PyHiveLMS --index-url https://ramot-systems-inc.github.io/.github/pypi/

Or install an unreleased ref directly from GitHub:

pip install git+https://github.com/System-B90/pyhive.git

Published wheels are browsable at https://ramot-systems-inc.github.io/.github/pypi/pyhivelms/ (the PyHiveLMS meta-package), with its parts under pypi/pyhivelms-core/ and pypi/pyhivelms-backend-<gen>/.

Quickstart

from pyhive import HiveClient

with HiveClient.from_sso("https://hive.org") as client:  # opens a browser to sign in
    for program in client.get_programs():
        for subject in program.get_subjects():
            print(program.name, subject.symbol, subject.name)
pyhive auth login                 # pick the server, sign in once; later commands reuse both
pyhive --json programs list
pyhive examples run program_tree

Documentation

The docs live in pyhive/docs/ and are the single source for three things:

  • the docs site, published on every release;
  • pyhive docs show <page> in the terminal, matching the installed version;
  • the pyhive Claude Code skill: pyhive docs install-skill, or the pyhive plugin in the System-B90/.github marketplace.
Page Covers
CLI reference Every command, sign-in, --json output shapes
Python SDK Connecting, filters, models, writes, errors, full method reference
Examples Runnable scripts in pyhive/examples/
Agent skill What an AI agent needs to drive the CLI and SDK

Preview the site locally with pip install -e ".[docs]" and mkdocs serve.

Testing

pip install -e ".[dev]" $(python scripts/dists.py backends | sed "s/^/-e /")
pytest tests -q -m "not integration"   # offline, includes the docs drift checks
pytest -q                              # everything, against a live Hive at https://hive.org

Metadata

Release files for pyhivelms-core 3.10.1

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

Built distribution (wheel)

Table of built distributions (wheels) for pyhivelms-core 3.10.1
File Interpreter ABI Platform Actions
pyhivelms_core-3.10.1-py3-none-any.whl Python 3 none any Details for pyhivelms_core-3.10.1-py3-none-any.whl

Release files / pyhivelms_core-3.10.1-py3-none-any.whl

Download URL pyhivelms_core-3.10.1-py3-none-any.whl
Size 92.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42ddf44d7e20a71966d0821527cbfb928a2a02ce6120841a49732bd6b442410f
BLAKE2b-256 checksum
How to use checksums
c649615ff4821d8e229b132a5b83a0a58f643b1c88fc0ddf09ca4f108824da49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for pyhivelms-core 3.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for pyhivelms_core-3.10.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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