semvec/pypi-packages huggingface dataset:
ai71 1.0.1
The official Python library for the AI71 API
Requires Python: <4.0,>=3.8

Developers building Python 3.8+ apps can now interact seamlessly with the AI71 API thanks to the ai71 Python library. It includes built-in type checking for both requests and responses, and provides both synchronous and asynchronous HTTP clients powered by httpx.

# Documentation

The API documentation can be found [here](https://api.ai71.ai/redoc).

# Installation
```
pip install ai71
```

# Usage
Define `AI71_API_KEY` environment variable or provide `api_key` in `AI71` and `AsyncAI71`.

```
import os
from ai71 import AI71

client = AI71()

chat_completion = client.chat.completions.create(
    messages=[{"role": "user", "content": "What is your name?"}],
    model="tiiuae/falcon-180B-chat",
)

# Fetch supported models
model_list = client.models.list()
```

# Async Usage
```
import asyncio

from ai71 import AsyncAI71

client = AsyncAI71()


async def main():
    stream = await client.chat.completions.create(
        messages=[{"role": "user", "content": "What is your name?"}],
        model="tiiuae/falcon-180B-chat",
        stream=True,
    )
    async for chunk in stream:
        print(chunk.choices[0].delta.content or "", end="")

    # Fetch supported models
    model_list = await client.models.list()


asyncio.run(main())
```
sync-dataclasses 0.1.0
A library for creating thread safe data classes.
Requires Python: >=3.8

# sync_dataclasses

A library for creating thread safe data classes.

## Getting started

### Install

```bash
pip install sync_dataclasses
```

### Usage

```python
from sync_dataclasses import SyncDataClass

class Data(SyncDataClass):
    value1: int = 0
    value2: str = ""
```
releaserr 0.1.dev143
Simple, purpose-built release manager for @gotmax23's projects
Requires Python: >=3.9

<!--
Copyright (C) 2023 Maxwell G <maxwell@gtmx.me
SPDX-License-Identifier: MIT
-->

# releaserr

[![builds.sr.ht status](https://builds.sr.ht/~gotmax23/releaserr/commits/main.svg)](https://builds.sr.ht/~gotmax23/releaserr/commits/main?)
[![PyPI - Version](https://img.shields.io/pypi/v/releaserr?logo=pypi&label=releaserr%20on%20PyPI&color=blue)](https://pypi.org/project/releaserr/)

Simple, purpose-built release manager for @gotmax23's projects

## Links

- [releaserr project hub](https://sr.ht/~gotmax23/releaserr)
- [releaserr git.sr.ht repo](https://git.sr.ht/~gotmax23/releaserr)
- [releaserr tracker](https://todo.sr.ht/~gotmax23/releaserr)
- [releaserr mailing list][archives] ([~gotmax/releaserr@lists.sr.ht][mailto])

[archives]: https://lists.sr.ht/~gotmax23/releaserr
[mailto]: mailto:~gotmax/releaserr@lists.sr.ht

## Contributing

See [CONTRIBUTING.md](https://git.sr.ht/~gotmax23/releaserr/tree/main/item/CONTRIBUTING.md).

## License

This repository is licensed under

    SPDX-License-Identifer: MIT AND Unlicense

In general:

- Code is licensed under `MIT`.
- Templates in `releaserr/new/data` are licensed under `UNLICENSE`.
shubh-whatsapp 0.1.0
Python wrapper for interacting with WhatsApp via the whatsapp-mcp Go bridge.
Requires Python: >=3.8
Keywords: whatsapp, api, unofficial, wrapper, mcp

# My WhatsApp Package

A Python library to interact with your personal WhatsApp account using the [whatsapp-mcp](https://github.com/lharries/whatsapp-mcp) Go bridge.

**Disclaimer:** This package relies on unofficial methods (via `whatsmeow` used by the Go bridge) to connect to WhatsApp. WhatsApp's terms of service might prohibit this, and using it could potentially lead to your account being flagged or banned. Use at your own risk. This is primarily for educational or personal use.

## Features

- Handles setup (Go/Git check, repository cloning).
- Manages the background Go bridge process.
- Prompts for QR code scanning on first connect.
- Send text messages.
- Send media files (images, videos, audio, documents).
- Retrieve new incoming messages (including media download).

## Prerequisites

- **Python:** 3.8+
- **Go:** Latest version recommended (install from [go.dev](https://go.dev/dl/)). Must be added to your system's PATH.
- **Git:** Required for cloning the `whatsapp-mcp` repository (install from [git-scm.com](https://git-scm.com/downloads)). Must be added to your system's PATH.
- **C Compiler (Windows):** If using Windows, you need a C compiler like MSYS2/MinGW configured with `CGO_ENABLED=1` for the `go-sqlite3` dependency used by the bridge. Follow the [Windows Compatibility steps](https://github.com/lharries/whatsapp-mcp#windows-compatibility) from the original `whatsapp-mcp` README.
- **FFmpeg (Optional):** Required by the Go bridge if you want to send arbitrary audio files as playable _voice_ messages (it converts them to `.ogg` Opus). If not installed, you can only send `.ogg` Opus files as voice messages or other audio as plain file documents.

## Installation

```bash
pip install shubh_whatsapp # Or pip install . if installing from source
```
ded-sdk 0.1.0
Python SDK for Disposable Email Detection
Requires Python: >=3.6

# ded_sdk

**ded_sdk** is a Python SDK for detecting disposable email addresses using the [Disposable Email Detector API](https://ded.gossorg.in). It provides a simple interface to validate email addresses and determine if they are disposable.

## Features

- Validate email addresses for disposability.
- Retrieve detailed information about the email domain.
- Easy integration with Python applications.

## Installation

Install the SDK using pip:

```bash
pip install ded_sdk
```


## Usage

First, import the `DisposableEmailClient` and initialize it with your API key:

```python
from ded_sdk import DisposableEmailClient

api_key = "your-api-key"
client = DisposableEmailClient(api_key)
```


To validate an email address:

```python
email = "example@tempmail.com"
result = client.validate(email)

if result["disposable"]:
    print(f"{email} is disposable.")
else:
    print(f"{email} is not disposable.")
```


The `validate` method returns a dictionary with the following keys:

- `disposable`: Boolean indicating if the email is disposable.
- `domain`: The domain of the email address.
- `source`: Source of the information (e.g., "crawled").
- `confidence`: Confidence score between 0 and 1.

## API Reference

### `DisposableEmailClient(api_key: str, base_url: str = "https://ded.gossorg.in/v1")`

Initializes the client with your API key.

- `api_key`: Your API key for authentication.
- `base_url`: Base URL of the API (default is `https://ded.gossorg.in/v1`).

### `validate(email: str) -> dict`

Validates the provided email address.

- `email`: The email address to validate.

Returns a dictionary with the validation result.

## License

This project is licensed under the MIT License.