semvec/pypi-packages huggingface dataset:
fem-sim 0.2.1
wave equation using FEM
Requires Python: <4.0,>=3.10

Python CLI application to calculate and animate waves in 1D and 2D, using the weak formulation of the wave equation and the finite element method to numerically calculate the solution for any user-defined continuous function.

examples and docs are located in my github repo! https://github.com/LocoForHotcocoa/fem
atheris-libprotobuf-mutator 3.0.0
libprotobuf-mutator bindings for Python using Atheris.

# Libprotobuf-mutator: Python bindings for Atheris

## Structure-aware Fuzzing with Protocol Buffers

Atheris supports custom mutators
[(as offered by LibFuzzer)](https://github.com/google/fuzzing/blob/master/docs/structure-aware-fuzzing.md)
to produce grammar-aware inputs.

Protocol buffers are an example of structured types that are hard to fuzz with
generic mutation-based fuzzers. Libprotobuf-mutator bindings for Atheris allow
to generate protocol buffer inputs for your fuzzing targets using custom
mutators.

Apart from fuzzing targets that take protocol buffers as input, it's also
possible to use protocol buffers as an intermediate representation for fuzzing
complex input types. See the docs on using
[Protocol Buffers As Intermediate Format for fuzzing](https://github.com/google/fuzzing/blob/master/docs/structure-aware-fuzzing.md#protocol-buffers-as-intermediate-format).

## Getting Started

### Prerequisite

Install [Atheris](https://github.com/google/atheris)

```
pip3 install atheris
```

### Install

Installing libprotobuf-mutator for Atheris from source requires `bazel`. Visit
https://docs.bazel.build/versions/master/install.html for installation
instructions.

Then run:

```shell
pip3 install .
```

### Example usage

Using Atheris with Libprotobuf-mutator is similar to using plain Atheris. The
main difference is that the function under test will receive a proto of the
given format, instead of a bytes array.

You can specify the proto format using the `atheris_libprotobuf_mutator.Setup()`
function, which substitutes the regular `atheris.Setup()` function.

```python
import atheris
import atheris_libprotobuf_mutator
import sys

import example_proto_pb2


@atheris.instrument_func
def TestOneProtoInput(msg):
  # msg will be an ExampleMessage as specified in the Setup() function below.
  if msg.example_value == 13371337:
    raise RuntimeError('Crash!')


if __name__ == '__main__':
  atheris_libprotobuf_mutator.Setup(
      sys.argv, TestOneProtoInput, proto=example_proto_pb2.ExampleMessage)
  atheris.Fuzz()
```
solcast 1.3.1
a simple Python SDK for the Solcast API
Requires Python: >=3.8

<img src="https://github.com/Solcast/solcast-api-python-sdk/blob/main/docs/img/logo.png?raw=true" width="100" align="right">

# Solcast API Python SDK

<em>Python SDK to access the Solcast API</em>

[![Docs](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/docs.yml/badge.svg)](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/docs.yml) [![Tests](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/test.yml) [![Publish 📦 to PyPI](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/Solcast/solcast-api-python-sdk/actions/workflows/publish-to-pypi.yml)

---

**Documentation**: <a href="https://solcast.github.io/solcast-api-python-sdk/" target="_blank">https://solcast.github.io/solcast-api-python-sdk/ </a>

## Install

```commandline
pip install solcast
```

or from source:

```commandline
git clone https://github.com/Solcast/solcast-api-python-sdk.git
cd solcast-api-python-sdk
pip install .
```

The vanilla version doesn't have any dependency. For full functionality,
for example for getting the data into `DataFrames`, and for development, use the `[all]` tag:

```commandline
pip install .[all] for the dev libs
```

## Basic Usage

```python
from solcast import live

df = live.radiation_and_weather(
    latitude=-33.856784,
    longitude=151.215297,
    output_parameters=['air_temp', 'dni', 'ghi']
).to_pandas()
```

Don't forget to set your [account Api Key](https://toolkit.solcast.com.au/register) with:
`export SOLCAST_API_KEY={your commercial api_key}`

---

## Contributing

Tests are run against the Solcast API, you will need an API key to run them.
They are executed on `unmetered locations` and as such won't consume your requests.

```commandline
pytest tests
```

### Formatters and Linters

| Language | Formatter/Linter |
| -------- | ---------------- |
| `yaml`   | `yamlls`         |
| `toml`   | `taplo`          |
| `python` | `black`          |

### Recommended Python Development Version

Develop on the oldest supported `Python` version.

```bash
uv python pin 3.8
```
pyrtp 1.6.3
fix http error for python 3.11+ 

# pyrtp

**pyrtp** is a simple and powerful Python module for building real-time communication applications. Inspired by the pyrtp standard, it allows you to handle audio, video, and P2P data with low latency and minimal syntax.

---

## Features

* **P2P Communication**: Direct data exchange between clients without a central server.
* **Audio & Video**: Real-time transmission with low latency.
* **Data Channels**: Send and receive text or JSON messages instantly.
* **Event Handling**: Simple callbacks for `on_connect`, `on_message`, `on_disconnect`.
* **Secure**: Built-in DTLS/SRTP encryption.
* **Interoperable**: Compatible with browsers and other pyrtp clients.

---

## Installation

```bash
pip install pyrtp
```



---

## Basic Usage

### Create a client and connect

```python
from pyrtp import pyrtpClient

# Initialize the client
client = pyrtpClient(username="Alice")

# Event triggered when a message is received
@client.on("message")
def handle_message(sender, content):
    print(f"{sender} says: {content}")

# Connect to a peer
client.connect("bob_peer_id")

# Send a message
client.send("bob_peer_id", "Hi Bob!")

# Listen for events
client.listen()
```

### Audio/Video example

```python
client.connect_audio()
client.connect_video()
```

---

## Use Cases

* Real-time audio and video chats
* P2P multiplayer games
* Streaming and data sharing
* Collaborative tools (drawing, shared documents)

---
asyncpg 0.31.0
An asyncio PostgreSQL driver
Requires Python: >=3.9.0
Keywords: database, postgres

asyncpg -- A fast PostgreSQL Database Client Library for Python/asyncio
=======================================================================

.. image:: https://github.com/MagicStack/asyncpg/workflows/Tests/badge.svg
   :target: https://github.com/MagicStack/asyncpg/actions?query=workflow%3ATests+branch%3Amaster
   :alt: GitHub Actions status
.. image:: https://img.shields.io/pypi/v/asyncpg.svg
   :target: https://pypi.python.org/pypi/asyncpg

**asyncpg** is a database interface library designed specifically for
PostgreSQL and Python/asyncio.  asyncpg is an efficient, clean implementation
of PostgreSQL server binary protocol for use with Python's ``asyncio``
framework.  You can read more about asyncpg in an introductory
`blog post <http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/>`_.

asyncpg requires Python 3.9 or later and is supported for PostgreSQL
versions 9.5 to 18.  Other PostgreSQL versions or other databases
implementing the PostgreSQL protocol *may* work, but are not being
actively tested.


Documentation
-------------

The project documentation can be found
`here <https://magicstack.github.io/asyncpg/current/>`_.


Performance
-----------

In our testing asyncpg is, on average, **5x** faster than psycopg3.

.. image:: https://raw.githubusercontent.com/MagicStack/asyncpg/master/performance.png?fddca40ab0
    :target: https://gistpreview.github.io/?0ed296e93523831ea0918d42dd1258c2

The above results are a geometric mean of benchmarks obtained with PostgreSQL
`client driver benchmarking toolbench <https://github.com/MagicStack/pgbench>`_
in June 2023 (click on the chart to see full details).


Features
--------

asyncpg implements PostgreSQL server protocol natively and exposes its
features directly, as opposed to hiding them behind a generic facade
like DB-API.

This enables asyncpg to have easy-to-use support for:

* **prepared statements**
* **scrollable cursors**
* **partial iteration** on query results
* automatic encoding and decoding of composite types, arrays,
  and any combination of those
* straightforward support for custom data types


Installation
------------

asyncpg is available on PyPI.  When not using GSSAPI/SSPI authentication it
has no dependencies.  Use pip to install::

    $ pip install asyncpg

If you need GSSAPI/SSPI authentication, use::

    $ pip install 'asyncpg[gssauth]'

For more details, please `see the documentation
<https://magicstack.github.io/asyncpg/current/installation.html>`_.


Basic Usage
-----------

.. code-block:: python

    import asyncio
    import asyncpg

    async def run():
        conn = await asyncpg.connect(user='user', password='password',
                                     database='database', host='127.0.0.1')
        values = await conn.fetch(
            'SELECT * FROM mytable WHERE id = $1',
            10,
        )
        await conn.close()

    asyncio.run(run())


License
-------

asyncpg is developed and distributed under the Apache 2.0 license.
mediagram-yt-dlp 0.1.0
YouTube download tool plugin for mediagram
Requires Python: >=3.13

# mediagram-yt-dlp

YouTube download tool plugin for mediagram.

## Installation

```bash
uv pip install mediagram-yt-dlp
```

## Features

Provides the `youtube_download` tool that can download videos, audio, and subtitles from YouTube and other supported sites.
mediagram-llm 0.1.0
LLM file processing tool plugin for mediagram
Requires Python: >=3.13

# mediagram-llm

LLM file processing tool plugin for mediagram.

## Installation

```bash
uv pip install mediagram-llm
```

## Features

Provides the `llm` tool for processing text files through various LLMs for tasks like summarization, translation, extraction, and analysis.
mediagram-assemblyai 0.1.0
AssemblyAI transcription tool plugin for mediagram
Requires Python: >=3.13

# mediagram-assemblyai

AssemblyAI transcription tool plugin for mediagram.

## Installation

```bash
uv pip install mediagram-assemblyai
```

## Features

Provides the `transcribe` tool for audio transcription with support for speaker diarization, sentiment analysis, entity detection, and more.