Registry / ai-ml / numerapi

numerapi

JSON →
library2.23.2pypypi✓ verified 34d ago

Python client for the Numerai machine learning competition. Automates data download, prediction upload, staking, and account management. Current version 2.23.2, released monthly.

ai-ml
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NumerAPI is the main class, not a module.

from numerapi import NumerAPI

Initialize NumerAPI and download the latest training data.

from numerapi import NumerAPI napi = NumerAPI() # download current dataset napi.download_current_dataset('training_data.parquet', dest_path='./')
Debug
Known footguns
breakingThe `sign` method from v1 was removed. Use `napi.upload_predictions()` with `model_id` parameter.
gotchaThe `download_dataset` method returns a path string, not a file object. Many users expect a file handle.
gotchaAPI keys must be set via environment variables `NUMERAI_PUBLIC_ID` and `NUMERAI_SECRET_KEY` or passed directly to constructor. Not using environment variables leads to authentication errors in production.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
amazonbot
3
mj12bot
1
ahrefsbot
1
Resources