$npx skillfedfor your agent

asknews

Python SDK for AskNews

With conditionsPyPI WWW/HTTPReleased Aug 2026154.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asknews-0.13.56-py3-none-any.whl
v0.13.56 · released 2026-08-04 · Python >=3.8 · 6 runtime deps: asgiref, crontab, cryptography, httpx, orjson, pydantic

Yes, if you have an AskNews API key and need to integrate real-time news, forecasts, or analytics into a Python application. The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The main decision point is whether the AskNews API service itself meets your data and cost requirements.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid AskNews API key to authenticate and access the service.
  • Low install friction with a pure Python wheel distribution.
  • Active maintenance with a recent release (10 days old) and ongoing commits.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-08-04 (10 days) · last repo commit 2026-08-04 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 154,777 downloads/mo, #10,844 on PyPI

Verify before relying

pip install asknews

from asknews import AskNewsSDK

ask = AskNewsSDK(api_key="your_key", scopes=["news", "chat", "stories", "analytics"])
news_context = ask.news.search_news("Effect of fed policy on tech sector").as_string
  • Rate limits, quota constraints, or pricing model for API access
  • Performance characteristics for large-scale news queries or analytics requests
  • Data freshness guarantees and update frequency for news, forecasts, and analytics
Same gist for agents: .md · .json

What it is and what it does

AskNews is a Python SDK that wraps the AskNews API, providing structured access to real-time news, event tracking, forecasts, and analytics data. It formats results as prompt-optimized strings designed to integrate directly with language models, making it useful for applications that need to augment LLM responses with current events, financial data, or political information. The SDK depends on asgiref, crontab, cryptography, httpx, orjson, and pydantic to handle async operations, scheduling, secure communication, HTTP requests, JSON serialization, and data validation.

The API surface includes endpoints for news search, high-level event clustering, real-time forecasting, time-series analytics on finance and politics, a deep research agent, a knowledge graph builder, and web search with LLM distillation. The package is actively maintained, supports Python 3.8 through 3.13, and carries no known security vulnerabilities.

Use it for

  • Augment LLM applications with real-time news context and financial data for more informed responses
  • Build event tracking and monitoring systems using article clustering and aggregation
  • Create forecasting or analytics dashboards that consume time-series data on finance and politics
  • Integrate web search and knowledge graph queries into research or intelligence workflows
  • Develop chatbots or agents that need current events and deep research capabilities

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have an AskNews API key and need to integrate real-time news, forecasts, or analytics into a Python application.

The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The main decision point is whether the AskNews API service itself meets your data and cost requirements.

Install

asknews on PyPI

Before you install

Low install friction with a pure Python wheel distribution. Active maintenance with a recent release (10 days old) and ongoing commits. Supports Python 3.8 through 3.13.

Requires a valid AskNews API key to authenticate and access the service.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install asknews

from asknews import AskNewsSDK

ask = AskNewsSDK(api_key="your_key", scopes=["news", "chat", "stories", "analytics"])
news_context = ask.news.search_news("Effect of fed policy on tech sector").as_string

Verify before relying

  • Rate limits, quota constraints, or pricing model for API access
  • Performance characteristics for large-scale news queries or analytics requests
  • Data freshness guarantees and update frequency for news, forecasts, and analytics

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
asgirefcrontabcryptographyhttpxorjsonpydantic
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads154,777 / month, #10,844 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: asknews-0.13.56-py3-none-any.whl

Tags

Capabilities
news api python sdkreal-time news data retrievalllm news context integrationnews search and analyticsevent tracking and forecasting apiweb search and knowledge graphfinancial and political analytics
Topics
news-apillm-integrationreal-time-data

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 › “news api python sdk”

  • asknewsPython SDK for the AskNews API that retrieves and formats news data,…
  • newsapi-pythonA Python client library that wraps the News API, providing methods to…
  • eventregistryQuery news articles and events from Event Registry's API using…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also openbb-news · newsapi-python · eventregistry · nixtla · gnews · trendspy · posthog · yahooquery · analytics-python · darts