Install & Compatibility
Where this runs
tested against v0.13.51 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 50.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.0s · import 0.000s · 50MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AskNewsSDK
✓ from asknews_sdk import AskNewsSDK
✗ from asknews import AskNews
AsyncAskNewsSDK
✓ from asknews_sdk import AsyncAskNewsSDK
Initialize client with environment variables and fetch news articles.
import os
from asknews import AskNews
client = AskNews(
api_key=os.environ.get('ASKNEWS_API_KEY', ''),
user_id=os.environ.get('ASKNEWS_USER_ID', '')
)
news = client.news.search_news(query='AI', return_type='articles')
print(news)
Upgrade
Version history
0.13.51latest on PyPI · released May 30, 2026
Audit
Dependencies
httpxrequiredHTTP client used for API requests
pydanticrequireddata validation and settings management