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--jsonoutput 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.15.12.06.0.16.1.16.2.06.3.06.4.07.0.17.1.07.2.07.3.08.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
pyhiveClaude Code skill:pyhive docs install-skill, or thepyhiveplugin in theSystem-B90/.githubmarketplace.
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logSecurity 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 logA 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.