semvec/pypi-packages huggingface dataset:
anchorpy3 0.3.4
The Python Anchor client with support for new Anchor IDL formats (fork of anchorpy by kevinheavey)
License: MIT
Requires Python: ~=3.10
Keywords: anchor, blockchain, crypto, solana, web3

# AnchorPy3
<div align="center">
    <img src="https://raw.githubusercontent.com/kevinheavey/anchorpy/main/docs/img/logo.png" width="40%" height="40%">
</div>

---

[![PyPI](https://img.shields.io/pypi/v/anchorpy3.svg)](https://pypi.org/project/anchorpy3/)
[![Python Version](https://img.shields.io/pypi/pyversions/anchorpy3)](https://pypi.org/project/anchorpy3/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

> **Note:** This is a fork of [kevinheavey/anchorpy](https://github.com/kevinheavey/anchorpy) with added support for new Anchor IDL formats (v0.1.0 spec). All credit for the original implementation goes to [kevinheavey](https://github.com/kevinheavey).

## What's New in AnchorPy3

- **Full support for new Anchor IDL format (v0.1.0 spec)** with precomputed discriminators
- **100% backward compatibility** with legacy IDL format
- **Automatic format detection** - works seamlessly with both old and new IDL files
- **Decoupled architecture** - anchorpy-core is now a separate package
- **Updated for Python 3.10+**

## Overview

AnchorPy is the gateway to interacting with [Anchor](https://github.com/project-serum/anchor) programs in Python.
It provides:

- A static client generator
- A dynamic client similar to `anchor-ts`
- A Pytest plugin
- A CLI with various utilities for Anchor Python development.

Read the [Documentation](https://kevinheavey.github.io/anchorpy/).



## Installation (requires Python >=3.10)

### Install from PyPI

```sh
pip install anchorpy3[cli,pytest]
```

Or, if you're not using the CLI or Pytest plugin features:

```sh
pip install anchorpy3
```

### Install from GitHub (Latest)

```sh
pip install git+https://github.com/kakagri/anchorpy.git
```

**Note:** Installing from GitHub requires the Rust toolchain (for building anchorpy-core). See [Rust installation](https://www.rust-lang.org/tools/install).

### Development Setup

If you want to contribute to AnchorPy, follow these steps to get set up:

1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/)
2. Run the unit tests:
```sh
uv run --all-extras pytest tests/unit

```
trollos 1.0.1
AI-powered retro UNIX-style troll terminal using Llama3
License: MIT
Requires Python: >=3.10

🟩 TrollOS – AI Terminal Troll Engine
A realistic terminal OS that roasts your commands using a local AI model (Llama3).

Built with Python, Textual TUI, and Ollama.

🚀 Features

✔ Live system stats panel

✔ AI-generated troll responses

✔ Fake kernel panics & system logs

✔ Glitch effects + ASCII corruption

✔ Local + offline (NO API keys)

✔ Color-accurate RichLog rendering

✔ Cross-platform: Windows / Linux / Mac

📂 Project Structure
TrollOS/
 ├── src/
 │    └── trollos.py
 ├── assets/
 │    └── screenshot.png   (optional)
 ├── requirements.txt
 ├── README.md
 └── .gitignore

⚙️ Requirements

Python 3.10+

Ollama installed on system

Llama3 model downloaded

Windows Terminal / macOS Terminal / Linux shell

Runs on CPU or GPU

📥 Installation Guide (FULL)
1️⃣ Install Python

Download Python 3.10+
https://www.python.org/downloads/

2️⃣ Install Ollama

Download from:
https://ollama.com/download

After installation, run:

ollama serve


This starts the local AI server.

3️⃣ Download Llama3 model

Run:

ollama pull llama3


(Recommended: 8B size)

4️⃣ Clone This Repository
git clone https://github.com/MISHRA1007/TrollOS.git
cd TrollOS

5️⃣ Install Python Dependencies
pip install -r requirements.txt

▶️ Running TrollOS

In the project folder:

python src/trollos.py


The full-screen UI will launch inside your terminal.

🎮 How to Use

Type any command

Hit ENTER

Llama3 generates a troll response

Fake kernel logs appear

“sudo rm -rf /” triggers chaos mode

Stats update in real-time

Scroll logs with mouse / wheel

🖼️ Screenshots

assets/screenshot.png


Example:

![TrollOS Screenshot](assets/screenshot.png)

🛠️ Technologies Used

Python

Textual (Terminal UI Framework)

Rich (Color + formatting)

Ollama Llama3 (Local LLM)

📄 License

MIT License
Free to use, modify, distribute.

🤝 Contributing

PRs are welcome.
Submit issues for bugs & feature requests.

🧑‍💻 Author

TrollOS – Made by SAURABH
Powered by chaos + local AI.