Haldwani Times
Haldwani Times
Technology

logicgaze 1.12.0

logicgaze 1.12.0
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version logicgaze 1.12.0 LogicGaze SDK — AI-native observability for tracing, evaluating, and monitoring production LLM applications. Instrument OpenAI, Anthropic, and any LLM with one line of code.

pip install logicgaze==1.12.0 Copy PIP instructions

LogicGaze SDK — AI-native observability for production LLM applications.

Instrument OpenAI, Anthropic, and any LLM with one line of code. Every call is automatically traced, cost-attributed, and visible in the LogicGaze dashboard.

Zero-config tracing — wrap your existing client (or use init(auto_instrument=True)), get full observability instantly

Never in your request path — wrapped clients call the provider directly with your own keys and return the native response; spans are sent in the background

Streaming instrumentation — token usage and time-to-first-token captured even for stream=True calls

Cost tracking — token-level cost attribution per model, provider, and session

Distributed traces — full span trees across LLM calls, tool calls, agents, and retrievals

Scores & feedback — log_score() / log_feedback() attach evals and user signals to traces

Datasets — build eval datasets in code, or copy production traces into test cases

Prompt management — versioned {{variable}} templates with a client-side TTL cache

Masking — redact or transform what LogicGaze stores (mask, hide_inputs, hide_outputs)

OpenAI Agents SDK — instrument_openai_agents() traces agent runs automatically

Guardrails — PII detection, prompt injection detection, harmful content filtering

LLM-as-Judge — async evaluation scoring (faithfulness, relevance, coherence, hallucination)

OpenTelemetry ingest — the LogicGaze backend accepts OTLP/HTTP JSON at /api/v1/otel/v1/traces (server-side ingest; this SDK does not emit OTel itself)

pip install logicgaze Quick Start

1. Initialize once at startup

import logicgaze logicgaze.init( api_key="lgz_...", # LogicGaze API key base_url="https://your-logicgaze-backend.com", ) Set LOGICGAZE_API_KEY in your environment to avoid passing api_key explicitly.

2. Wrap your AI client

from openai import OpenAI import logicgaze logicgaze.init(api_key="lgz_...") client = logicgaze.wrap_openai(OpenAI()) response = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content) Anthropic

from anthropic import Anthropic import logicgaze logicgaze.init(api_key="lgz_...") client = logicgaze.wrap_anthropic(Anthropic()) response = client.messages.create( model="claude-opus-4-6", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}], ) print(response.content[0].text) Or patch constructors automatically (opt-in)

Routing: direct (default) or gateway

By default every wrapped call goes directly to the provider using your client, key, base_url and parameters, and you get the provider's own response object back. LogicGaze records the span in a background queue, so an outage or slowdown on the LogicGaze side never affects your LLM calls.

Choose gateway routing when you want LogicGaze's gateway in the path (server-side guardrails that can block a request, semantic caching, routing policies, centrally managed provider keys):

logicgaze.init(api_key="lgz_...", routing="gateway") # all wrapped clients client = logicgaze.wrap_openai(OpenAI(), mode="gateway") # or per client Also settable with LOGICGAZE_ROUTING=gateway. Groq and Mistral are always traced directly. Gateway LLM calls are never retried after a timeout or 5xx (the provider may already have run and billed the request); only HTTP 429 is retried.

3. Group calls with TraceContext

from logicgaze import TraceContext, wrap_openai from openai import OpenAI client = wrap_openai(OpenAI()) with TraceContext(session_id="sess-abc", user_id="user-42", service_name="chat-api"): # All calls inside share the same trace in the dashboard client.chat.completions.create(model="gpt-4o", messages=[...]) client.chat.completions.create(model="gpt-4o", messages=[...]) 4. Use @traceable on functions

from logicgaze import traceable, wrap_openai from openai import OpenAI client = wrap_openai(OpenAI()) @traceable(session_id="sess-1", service_name="recommendation-engine") def recommend(user_query: str): return client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": user_query}], ) # Async functions are fully supported @traceable(service_name="summarizer") async def summarize(text: str): return await client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": f"Summarize: {text}"}], ) 5. Query traces programmatically

from logicgaze import get_client lg = get_client() # List recent traces traces = lg.list_traces(service_name="chat-api", page_size=20) # Get a specific trace with all spans trace = lg.get_trace("trace-uuid-here", include_spans=True) # Dashboard overview (last 24 h) overview = lg.get_dashboard(window_hours=24) print(overview["total_requests"], overview["total_cost_usd"]) # Estimate cost before a call estimate = lg.estimate_cost("openai", "gpt-4o", prompt_tokens=500, completion_tokens=200) Zero-code capture and sessions

One line traces every LLM call your app makes and groups each conversation into a session:

import logicgaze; logicgaze.init(auto_instrument=True) What it captures, with no other code changes:

LLM calls: OpenAI and Anthropic SDK clients, and raw REST calls (httpx / httpx2) to Azure OpenAI, api.openai.com and api.anthropic.com, streamed or not. Add OpenAI-compatible hosts with LOGICGAZE_CAPTURE_HOSTS=host1,host2. Requests sent by the official SDKs are not double-counted.

Turns: each incoming request to a FastAPI/Starlette, Flask or Django app that makes LLM calls becomes one trace. A workflow span holds the user's message and your app's reply, with the model calls nested under it. For any other WSGI app wrap it with logicgaze.LogicGazeWSGIMiddleware(app).

Sessions: the session id is taken, in this order, from logicgaze.set_session(...), the X-Session-Id header, the request JSON (session_id), then the response (JSON or an SSE event carrying session_id). The user id follows the same rules with user_id / X-User-Id. IDs over 200 characters or with control characters are ignored.

Distributed traces: an incoming W3C traceparent header puts the request in the caller's trace.

Reasoning: provider reasoning fields (reasoning_content, Anthropic thinking blocks) and thinking / reasoning events in your app's own SSE stream are kept separately from the reply.

Guardrails: in-process guardrail decisions are recorded as guardrail spans under the model call.

Set things explicitly when your app knows better:

logicgaze.set_session(conversation.id, user_id=user.id, input=clean_question, output=final_answer) Settings

init(instruments=[...], block_instruments=[...]) does the same in code. Capture never changes what your app receives, and is skipped while OpenTelemetry instrumentation is suppressed.

logicgaze.init(auto_instrument=True, otel=True) (or LOGICGAZE_EXPORTER=otlp, or passing tracer_provider=) emits every span as an OpenTelemetry span that follows the GenAI semantic conventions (gen_ai.input.messages, gen_ai.output.messages, gen_ai.system_instructions, gen_ai.conversation.id, usage and reasoning parts) and exports it over OTLP to LogicGaze. LogicGaze spans then nest under your existing OTel spans and propagate W3C context. If you pass your own tracer_provider, LogicGaze adds its exporter to it. Install with pip install "logicgaze[otel]".

Streamed calls are traced too — no code changes:

stream = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Write a haiku"}], stream=True, ) for chunk in stream: print(chunk.choices[0].delta.content or "", end="", flush=True) For OpenAI-protocol providers the SDK injects stream_options={"include_usage": true} automatically so the final chunk carries token usage (retried once without it if a provider rejects the parameter)

For Anthropic, usage is aggregated from message_start / message_delta stream events

The span records the full aggregated output, token usage, latency, and time_to_first_token_ms in metadata — submitted via the non-blocking background queue

lg = logicgaze.get_client() # data_type inferred: NUMERIC / CATEGORICAL / BOOLEAN lg.log_score(trace_id, "relevance", 0.92) lg.log_score(trace_id, "tone", string_value="formal") lg.log_score(trace_id, "is_correct", True) lg.log_score(trace_id, "faithfulness", 0.8, span_id=span_id, comment="one unsupported claim") # End-user feedback lg.log_feedback(trace_id, feedback_type="thumbs_up", score=1) lg.log_feedback(trace_id, comment="Answer was outdated") scores = lg.list_scores(trace_id=trace_id) Async variants: alog_score, alog_feedback, alist_scores.

Turn production traces into test cases:

dataset = lg.create_dataset("qa-regression", description="Golden QA test cases") lg.add_dataset_item(dataset["id"], input={"question": "What is RAG?"}, expected_output={"answer": "..."}) lg.add_dataset_items(dataset["id"], [ {"input": {"question": "q1"}, "expected_output": {"answer": "a1"}}, {"input": {"question": "q2"}}, ]) # per-item errors collected — one failure never aborts the rest # Copy production traces into the dataset (input/output from each trace's first LLM span) lg.add_traces_to_dataset(dataset["id"], trace_ids=["trace-uuid-1", "trace-uuid-2"]) items = lg.get_dataset_items(dataset["id"], page=1, page_size=50) datasets = lg.list_datasets() Experiments

Run your code on every dataset item, score each answer, and compare with the dataset's baseline:

from logicgaze import run_experiment, assert_experiment def answer(item_input): return support_bot(item_input["question"]) def cites_a_source(item_input, output, expected): return "http" in output run = run_experiment( "qa-regression", # dataset name or id answer, # sync or async; exceptions become failed items name="shorter system prompt", evaluators=[ "exact_match", # also: contains_expected, similarity, json_match {"type": "judge", "template": "correctness", "threshold": 0.8}, {"type": "evaluator", "id": ""}, ], scorers=[cites_a_source], # local functions -> float, bool or {name: score} concurrency=8, ) print(run.scores, run.url) outcome = run.gate(max_regression=0.05) # thresholds default to the evaluators' own print(outcome.markdown) Each item runs inside a TraceContext, so wrapped LLM calls show up as traces linked from the experiment. Judges run in LogicGaze with the provider keys saved in your workspace.

assert_experiment(run, {"correctness": 0.8}, max_regression=0.05) raises ExperimentGateFailed (an AssertionError) with the report as its message, so it fails a pytest test cleanly.

To have LogicGaze call a model or a saved prompt for every item instead of your code:

from logicgaze import run_server_experiment run = run_server_experiment("qa-regression", name="gpt-4o-mini, v7 prompt", model="openai/gpt-4o-mini", system_prompt=open("prompts/qa.txt").read(), evaluators=["correctness"]) In CI

logicgaze-experiment runs a server experiment, waits, gates and exits 0 (passed), 1 (gate failed) or 2 (could not run):

logicgaze-experiment run --dataset qa-regression --model openai/gpt-4o-mini \ --system-prompt-file prompts/qa.txt --evaluator correctness \ --threshold correctness=0.8 --max-regression 0.05 --markdown-file report.md The GitHub Action wraps this and comments the report on the pull request.

logicgaze login --api-key lgz_... logicgaze traces list --status error logicgaze prompts promote support 7 logicgaze datasets push support-golden cases.jsonl logicgaze experiment run --dataset support-golden --model openai/gpt-4o-mini --evaluator correctness logicgaze mcp --client cursor # MCP config (sign in with OAuth) logicgaze otel claude-code # send Claude Code sessions to LogicGaze; also: codex logicgaze skill install # skill for Claude Code and other agents logicgaze skill push .claude/skills/release-notes # submit your skill for scanning and approval logicgaze skill pull release-notes # write the approved version to .claude/skills logicgaze skill verify .claude/skills # CI: exit 1 unless every skill is an approved version logicgaze hook install claude-code --write # enforce tool-call rules in Claude Code (also: cursor) logicgaze hook claude-code|cursor is what the agent runs before each tool call. It sends the event to LogicGaze, which applies your tool-call rules (scope a rule to an agent by listing claude-code or cursor under servers). Denied and steered calls are refused with the rule's message, calls that need approval wait up to LOGICGAZE_HOOK_APPROVAL_WAIT seconds (default 120), and every action is recorded with risk flags, the engineer (git email), repository and LOGICGAZE_TEAM. If LogicGaze cannot be reached the hook stays out of the way; pass --fail-closed to refuse instead.

# Every create makes a new, immutable version; labels move to it lg.create_prompt("welcome-email", "Hi {{name}}, welcome to {{product}}!", labels=["staging"], commit_message="friendlier", config={"model": "gpt-4o"}) # Chat prompts are message lists; a placeholder message is filled from a list variable lg.create_prompt("support", [ {"role": "system", "content": "You help {{company}} customers."}, {"role": "placeholder", "name": "history"}, {"role": "user", "content": "{{question}}"}, ], type="chat") # Fetch with a client-side TTL cache (default 60s, stale-while-revalidate) prompt = lg.get_prompt("welcome-email") # the "production" version, else the newest prompt = lg.get_prompt("welcome-email", label="staging") # by label ("latest" = newest) prompt = lg.get_prompt("welcome-email", version=2) # pinned text = prompt.compile(name="Ada", product="LogicGaze") # str for text prompts, message list for chat # Promote or roll back: a label leaves the version that had it lg.set_prompt_labels("welcome-email", 3, ["production"]) # Link calls to the version so they show under the prompt's Metrics tab client = logicgaze.wrap_openai(OpenAI()) client.chat.completions.create(model="gpt-4o", messages=prompt.compile(question="Hi"), logicgaze_prompt=prompt) Cache semantics: fresh entries are served with no network call; stale entries are served immediately and refreshed in a background thread; if the refresh fails, the stale prompt keeps being served — network errors never reach your code once a prompt has been fetched at least once. Async: aget_prompt, acreate_prompt.

Guardrails (in-process enforcement)

Turn on guardrails=True and the SDK enforces your workspace's guardrail rules inside your process, on every wrapped client call (direct routing):

import logicgaze from logicgaze import GuardrailBlocked logicgaze.init(api_key="lgz_...", guardrails=True) # or LOGICGAZE_GUARDRAILS=1 client = logicgaze.wrap_openai(OpenAI()) try: client.chat.completions.create(model="gpt-4o-mini", messages=[...]) except GuardrailBlocked as exc: print(exc.rule_name, exc.direction) # "input" → the provider was never called Keyword and regex rules check prompts and responses.

Promoted evaluator guardrails check responses once the evaluator has been distilled (Evaluators → Promote to guardrail → Distill for real-time).

block raises GuardrailBlocked; redact rewrites the text in the request or in the native response object; warn/log only record the outcome on the span.

The policy is fetched once and refreshed every 30 seconds. Checks add well under 1 ms per call (p99 ≈ 0.4 ms for a 2,000-character response with four rules including a distilled judge). If the policy can't be fetched, the SDK keeps the last one it had and never fails your call because of LogicGaze.

Streaming responses: prompts are checked before the call; streamed output is recorded but not blocked mid-stream.

The same rules run in the LogicGaze gateway when you use routing="gateway", and both paths make identical decisions.

Build agents (LogicGaze Agents SDK)

create_agent builds an agent that is traced and governed by LogicGaze on every step, with no extra wiring: each run is one trace with an agent span and a child span for every model call, tool call and subagent, and your workspace's tool-call rules (block, steer, require approval) apply to every tool call.

Tools: @tool builds the JSON schema from type hints and the docstring (Args: section). Sync tools run in a worker thread. Errors and bad arguments go back to the model as tool results instead of ending the run.

Planning: on by default; the agent gets write_todos and the plan is returned in result.todos.

Subagents: the task tool hands a subtask to a subagent with a fresh context (a general-purpose subagent with the parent's tools is always available). Subagent runs nest under the task span in the same trace.

Skills: skills="registry" loads approved skills; a directory path loads local */SKILL.md files and, by default, only those that match an approved version in the registry.

Guardrails: blocked or rejected calls return an error to the model; steered calls return the rule's guidance so the agent can take the safer path; require_approval waits for an approval in LogicGaze. guardrails=False turns this off.

Middleware: subclass AgentMiddleware and override tools, system_prompt, before_model, after_model or wrap_tool_call, then pass middleware=[...].

Running: agent.run(...), await agent.arun(...), or async for event in agent.astream(...) for model, tool_call, tool_result, tool_refused, todos, file_written, skill_loaded, subagent_started, subagent_finished, approval and final events.

Tracing: if your model client is already wrapped by logicgaze.init(auto_instrument=True) or wrap_openai, model calls are recorded once, by the wrapper.

Durable runs: threads, pauses and resume

Give an agent a checkpointer and it saves its state after every step. A run can then stop and continue later, in the same process or a different one:

from logicgaze import LogicGazeCheckpointer, create_agent, interrupt, tool agent = create_agent("openai:gpt-4.1", [lookup_order, refund], checkpointer=LogicGazeCheckpointer(), interrupt_on={"refund": True}) result = agent.run("Refund order O-1, it arrived broken", thread_id="ticket-42") result.status # "interrupted": paused before refund ran result.interrupt # {"value": {"type": "approval", "tool": "refund", "arguments": {...}}, ...} agent.resume("ticket-42", True) # approve agent.resume("ticket-42", "Ask for a photo first") # refuse, with a message for the agent agent.resume("ticket-42", {"approved": True, "arguments": {"order_id": "O-1", "amount": 20}}) # approve edited agent.resume("ticket-42") # use the decision someone made on the Agent runs page in LogicGaze Threads remember. Another run(..., thread_id="ticket-42") continues the conversation with its earlier messages, todos and files.

interrupt() inside your own tools pauses the run with any value. When the run resumes, the tool runs again from the start and interrupt() returns the decision, so put side effects after it.

Crashes and timeouts. If the process dies mid-run, agent.resume(thread_id) finishes the tool calls that had not run yet and carries on. A tool that was running when the process died runs again.

Going back. agent.get_history(thread_id) lists the checkpoints, newest first; agent.resume(checkpoint_id=...) continues from any of them.

Checkpointers: LogicGazeCheckpointer() (stored encrypted in your workspace, listed on the Agent runs page where people can approve, reject or edit a paused call), SQLiteCheckpointer("runs.db") (a local file) and MemoryCheckpointer() (this process only). Subclass Checkpointer to use your own store.

Hosted agents are defined and run on the LogicGaze server (Agents page), so your app only sends input and reads the result. Each run is a thread: pass thread_id to continue a conversation.

from logicgaze import run_hosted_agent, wait_for_hosted_run run = run_hosted_agent("support", "Refund order O-1, it arrived broken", user_id="u-42", timeout=120) run.status # "completed", "failed", "interrupted" or "running" run.output # the agent's final answer run.trace_id # the trace of the latest step if run.waiting: # paused for approval run = wait_for_hosted_run("support", run.thread_id, timeout=3600) The server works on a run for up to wait seconds (default 20, at most 25) before answering. With timeout, the SDK keeps polling until the run stops running or the timeout passes; without it you get the state after wait.

A run that needs approval comes back interrupted. Someone approves, rejects or edits the call on the Agent runs page and the server resumes the run; wait_for_hosted_run returns when it is completed, failed or interrupted.

get_hosted_run(name, thread_id) reads the current state and list_hosted_runs(name, status=None, limit=50) lists runs. Async versions: arun_hosted_agent, aget_hosted_run, await_hosted_run.

A busy thread (409), an unknown agent (404) or bad input (422) raise LogicGazeError with status_code set.

Agent tool-call guardrails

Create Agent Tool Call rules under Protect → Guardrails (for example "no email outside acme.com", "refunds above $100 are blocked", "only search_* tools are allowed", or "no deletes on the github MCP server"). The SDK enforces them in-process against the cached policy, with no extra network call per check:

from logicgaze import ToolCallBlocked, check_tool_call, guard_tool, wrap_mcp # 1. Tool calls requested by the model are checked automatically when guardrails=True lg.init(api_key="lgz_...", guardrails=True) client = wrap_openai(OpenAI()) # a blocked tool call raises ToolCallBlocked before your app sees it # 2. Guard your own tool functions (checked before they run, traced as tool spans) @guard_tool def send_email(to: str, subject: str, body: str): ... # 3. Guard and trace an MCP session; rules can be scoped to an MCP server async with Client("https://mcp.example.com/mcp") as session: session = wrap_mcp(session) await session.call_tool("create_issue", {"repo": "acme/app", "title": "Bug"}) # 4. Or check explicitly from any agent framework check_tool_call("issue_refund", {"order_id": "O-1", "amount": 950}) # raises ToolCallBlocked ToolCallBlocked is a subclass of GuardrailBlocked and exposes .tool, .rule_name and .detail["reason"]. Checks fail open if the policy cannot be loaded. Other languages can call POST /api/v1/guardrails/tool-calls/check.

Approval and steering

A rule's action can also be Require approval or Steer:

Require approval holds the call. guard_tool, check_tool_call and wrap_mcp ask LogicGaze for approval, then wait (default 300 s, LOGICGAZE_APPROVAL_TIMEOUT or approval_timeout=) while someone approves it under Guardrails → Approvals. An approval lets that exact call (same tool, server and arguments) run once. A rejection, expiry or timeout raises ToolCallNotApproved; so does LogicGaze being unreachable, because approval checks fail closed. Pass wait_for_approval=False to check_tool_call to raise straight away and retry later.

Steer refuses the call and raises ToolCallSteered. Its message carries the rule's guidance (for example "Save the email as a draft and ask the user to send it"), so an agent that shows tool errors to the model can take the safer path.

Both are subclasses of ToolCallBlocked, so existing handlers keep working. API keys cannot approve calls; only a person signed in to LogicGaze can.

Control what LogicGaze stores (the LLM provider still receives the real messages — masking only affects persisted observability data):

logicgaze.init( api_key="lgz_...", hide_inputs=True, # stored input_messages become [REDACTED] hide_outputs=True, # stored output content becomes [REDACTED] mask=my_scrubber, # or a custom callable applied before storage ) Also available as env vars: LOGICGAZE_HIDE_INPUTS, LOGICGAZE_HIDE_OUTPUTS. If mask raises, [MASKING_ERROR] is stored instead of raw data.

pip install logicgaze[agents] import logicgaze from logicgaze import instrument_openai_agents logicgaze.init(api_key="lgz_...") instrument_openai_agents() # every Agent run is now traced — agent, generation (llm), tool, # handoff, and guardrail spans land in LogicGaze automatically Equivalent to agents.add_trace_processor(LogicGazeTracingProcessor()). All callbacks are non-blocking and error-guarded — tracing can never crash the agent.

environment and release are attached to every trace and span, so the dashboard can filter by environment and the Releases page can compare one release with the next. Use a version number or commit SHA for release.

logicgaze.init(api_key, base_url, timeout, *, sample_rate, max_retries, batch_size, flush_interval, debug, mask, hide_inputs, hide_outputs, auto_instrument, routing, guardrails, environment, release)

Initialize the global client. Call once at application startup.

logicgaze.uninstrument()

Reverse auto_instrument — restores the patched OpenAI/Anthropic constructors.

wrap_openai(client, *, service_name=None, mode=None)

Patches client.chat.completions.create (sync & async, streaming included). Returns the same client object.

wrap_anthropic(client, *, service_name=None, mode=None)

Patches client.messages.create (sync & async, streaming included). Returns the same client object.

TraceContext(*, project, trace_id, session_id, user_id, service_name, tags)

Context manager (sync & async). Starts a trace (unless one is already active) and groups every wrapped call made within the block into it.

@traceable(*, name, project, session_id, user_id, service_name, tags, run_type)

Decorator that wraps the function body in a TraceContext. Works with sync and async functions.

instrument_openai_agents(client=None)

Registers a LogicGazeTracingProcessor with the OpenAI Agents SDK. Returns the processor.

LogicGazeClient methods

Most read/write methods have a-prefixed async variants (e.g. alog_score, aget_prompt, acreate_span).

Optional extras: logicgaze[agents] (OpenAI Agents SDK), logicgaze[litellm], logicgaze[langchain], logicgaze[google], logicgaze[cohere], logicgaze[groq], logicgaze[mistral], logicgaze[all].

Dashboard: logicgaze.com

Documentation: docs.logicgaze.com

GitHub: github.com/VikneeshVG/logicgaze

PyPI: pypi.org/project/logicgaze

Released: Nov 29, 2026

agents all cohere dev google groq langchain litellm mistral otel security security-containers

ai anthropic cohere evaluation google langchain litellm llm logicgaze observability openai tracing

Development Status 4 - Beta

Intended Audience Developers

License OSI Approved :: MIT License

Programming Language Python :: 3

Topic Scientific/Engineering :: Artificial Intelligence

Software Development :: Libraries :: Python Modules

Release files for logicgaze 1.12.0

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

Source distribution (sdist)

Built distribution (wheel)

Total release size: 407.7 kB

Release files / logicgaze-1.12.0.tar.gz

Release files / logicgaze-1.12.0-py3-none-any.whl

Security for logicgaze 1.12.0

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.

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

Nov 29, 2026 2 release files No provenance

Nov 28, 2026 2 release files No provenance

Nov 27, 2026 2 release files No provenance

Nov 25, 2026 2 release files No provenance

Nov 20, 2026 2 release files No provenance

Jul 2, 2026 2 release files No provenance

Apr 21, 2026 2 release files No provenance

Mar 28, 2026 2 release files No provenance

Mar 17, 2026 2 release files No provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from fc0d8e6

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.