semvec/pypi-packages huggingface dataset:
nanopy-oracle 1.6.0
AI-powered oracle for NanoPy Network - bridge ML models to blockchain
Requires Python: >=3.8
Keywords: blockchain oracle nanopy ai ml machine-learning

# NanoPy Oracle

AI-powered oracle for NanoPy blockchain. Bridge machine learning models to on-chain smart contracts.

## Install

```bash
pip install nanopy-oracle
```

## Usage

```bash
# Run sentiment analysis oracle
nanopy-oracle --provider sentiment --private-key YOUR_KEY

# Run with custom model
nanopy-oracle --provider ai --model your_model.pkl --private-key YOUR_KEY
```

## Providers

- `sentiment` - Text sentiment analysis (positive/negative/neutral)
- `price` - Crypto price feeds (CoinGecko)
- `ai` - Custom ML model inference

## Features

- Python-native ML integration (PyTorch, scikit-learn, transformers)
- Multi-network support (L1 + L2)
- Signed oracle updates
- Configurable update intervals
- MetaMask wallet integration (no private key exposure)
- Web UI with wallet signing