humiolib
Python SDK for connecting to Humio
Decision gist · record as of 2026-08-14
Yes, if you are already using Humio and need Python-native API access. The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, dormant maintenance means you should verify compatibility with your Humio instance and Python environment before relying on it for critical workflows. Not suitable if you need active development or frequent updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Humio account and authentication token; base_url and repository must be configured for your Humio instance.
- Low install friction with a pure-wheel distribution.
- Maintenance is dormant—last release was 2023-10-05, though the repository remains active with a recent commit on 2024-06-05.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions. No licensing barrier to adoption.
last release 2023-10-05 (1044 days) · last repo commit 2024-06-05 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 397,308 downloads/mo, #6,962 on PyPI
Alternatives
Verify before relying
pip install humiolib
from humiolib.HumioClient import HumioClient
client = HumioClient(
base_url="https://cloud.humio.com",
repository="sandbox",
user_token="your_token")
webStream = client.streaming_query("Login Attempt Failed", is_live=True)
for event in webStream:
print(event)- Whether the package works reliably with Python versions beyond 3.8 despite classifiers claiming support through 3.8.
- Current state of compatibility with modern versions of requests, pytest, and vcrpy dependencies.
- Whether dormant maintenance status poses a risk for bug fixes if issues arise with Humio API changes.
What it is and what it does
humiolib is a Python wrapper around Humio's web API designed to simplify log ingestion and querying workflows. It provides two main client classes: HumioClient for performing queries and managing Humio instances, and HumioIngestClient for sending both unstructured and structured log data into Humio. The library abstracts away HTTP details and provides higher-level interfaces like streaming queries, query jobs with polling, and batch ingestion methods.
The package depends on requests for HTTP communication, pytest for testing, and vcrpy for mocking API calls in tests. It supports Python 3.5 and later across Windows, POSIX, and Unix systems. Development is dormant but the codebase is marked as production-stable; it is suitable for teams already committed to Humio who need a Python-native way to interact with the platform.
Use it for
- Ingest application logs and system events into Humio from Python services or batch jobs.
- Query Humio logs programmatically within Python scripts or notebooks for analysis and alerting.
- Build streaming log processors that consume live Humio query results in real time.
- Automate log management tasks like file uploads or saved query management via Python.
- Integrate Humio log access into Python-based monitoring or observability pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Humio and need Python-native API access.
The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, dormant maintenance means you should verify compatibility with your Humio instance and Python environment before relying on it for critical workflows. Not suitable if you need active development or frequent updates.
Install
humiolib on PyPI
Before you install
Low install friction with a pure-wheel distribution. Maintenance is dormant—last release was 2023-10-05, though the repository remains active with a recent commit on 2024-06-05. Suitable for stable use cases but expect no active development.
Requires a valid Humio account and authentication token; base_url and repository must be configured for your Humio instance.
License in practice
Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install humiolib
from humiolib.HumioClient import HumioClient
client = HumioClient(
base_url="https://cloud.humio.com",
repository="sandbox",
user_token="your_token")
webStream = client.streaming_query("Login Attempt Failed", is_live=True)
for event in webStream:
print(event)
Verify before relying
- Whether the package works reliably with Python versions beyond 3.8 despite classifiers claiming support through 3.8.
- Current state of compatibility with modern versions of requests, pytest, and vcrpy dependencies.
- Whether dormant maintenance status poses a risk for bug fixes if issues arise with Humio API changes.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesrequestspytestvcrpy |
| Maintenance | Dormant 1,044 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 397,308 / month, #6,962 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: System :: LoggingTopic :: System :: Monitoring |
Evidence: humiolib-0.2.6-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “humio python client”
- humiolibPython SDK that wraps Humio's web API to enable log ingestion and…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also openmeter · azure-kusto-ingest · sonic-client · axiom-py · openmetadata-ingestion · unstructured-ingest · graphqlclient · aliyun-log-python-sdk · azure-monitor-ingestion · tinybird-python-sdk