semvec/pypi-packages huggingface dataset:
zeebgram 0.1.7
Custom Pyrogram for your userbot
License: MIT
Requires Python: >=3.7

<p align="center">
    <a href="https://github.com/zeebgram/zeebgram">
        <img src="https://docs.zeebgram.org/_static/zeebgram.png" alt="Pyrogram" width="128">
    </a>
    <br>
    <b>Telegram MTProto API Framework for Python</b>
    <br>
    <a href="https://zeebgram.org">
        Homepage
    </a>
    •
    <a href="https://docs.zeebgram.org">
        Documentation
    </a>
    •
    <a href="https://docs.zeebgram.org/releases">
        Releases
    </a>
    •
    <a href="https://t.me/zeebgram">
        News
    </a>
</p>

## Pyrogram

> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

``` python
from zeebgram import Client, filters

app = Client("my_account")


@app.on_message(filters.private)
async def hello(client, message):
    await message.reply("Hello from Pyrogram!")


app.run()
```

**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.zeebgram.org/topics/mtproto-vs-botapi)
framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot
identity (bot API alternative) using Python.

### Support

If you'd like to support Pyrogram, you can consider:

- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).
- [Become a LiberaPay patron](https://liberapay.com/delivrance).
- [Become an OpenCollective backer](https://opencollective.com/zeebgram).

### Key Features

- **Ready**: Install Pyrogram with pip and start building your applications right away.
- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.
- **Fast**: Boosted up by [TgCrypto](https://github.com/zeebgram/tgcrypto), a high-performance cryptography library written in C.  
- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.
- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).
- **Powerful**: Full access to Telegram's API to execute any official client action and more.

### Installing

``` bash
pip3 install zeebgram
```

### Resources

- Check out the docs at https://docs.zeebgram.org to learn more about Pyrogram, get started right
away and discover more in-depth material for building your client applications.
- Join the official channel at https://t.me/zeebgram and stay tuned for news, updates and announcements.
arcade-serve 3.2.1
Arcade Serve - Serving infrastructure for Arcade tools and workers
License: MIT
Requires Python: >=3.10

# Arcade Serve

Serving infrastructure for Arcade tools and workers.

## Overview

Arcade Serve provides the infrastructure for serving Arcade tools:

- **FastAPI Worker**: High-performance FastAPI-based worker implementation
- **MCP Server**: Model Context Protocol server for tool integration
- **Core Abstractions**: Base worker classes and components
- **Authentication**: Auth utilities and routing
- **Runtime Management**: Tool execution and lifecycle management

## Installation

```bash
pip install arcade-serve
```

## Usage

To add a toolkit to a hosted worker such as FastAPI, you can register them in the worker itself.
This allows you to explicitly define which tools should be included on a particular worker.


Here is an example of adding the math toolkit (pip install arcade-math) to a FastAPI Worker:
```python
import arcade_math
from fastapi import FastAPI
from arcade_tdk import Toolkit
from arcade_serve.fastapi import FastAPIWorker

app = FastAPI()

worker_secret = os.environ.get("ARCADE_WORKER_SECRET")
worker = FastAPIWorker(app, secret=worker_secret)

worker.register_toolkit(Toolkit.from_module(arcade_math))
```

Here is an example of adding the math toolkit (pip install arcade-math) to a MCP Worker
```python
import arcade_math
from arcade_core.catalog import ToolCatalog
from arcade_serve.mcp.stdio import StdioServer

# 1. Create and populate the tool catalog
catalog = ToolCatalog()
catalog.add_module(arcade_math)


# 2. Main entrypoint
async def main():
    # Create the worker with the tool catalog
    worker = StdioServer(catalog)

    # Run the worker
    await worker.run()


if __name__ == "__main__":
    import asyncio

    asyncio.run(main())
```

## License

MIT License - see LICENSE file for details.