semvec/pypi-packages huggingface dataset:
osm-powerplants 0.1.3
Extract and process power plant data from OpenStreetMap
Requires Python: >=3.10
Keywords: energy, openstreetmap, osm, overpass, power plants

# OSM Power Plants

[![CI](https://github.com/open-energy-transition/osm-powerplants/actions/workflows/ci.yml/badge.svg)](https://github.com/open-energy-transition/osm-powerplants/actions/workflows/ci.yml)
[![PyPI version](https://badge.fury.io/py/osm-powerplants.svg)](https://badge.fury.io/py/osm-powerplants)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)

Extract power plant data from OpenStreetMap for energy system modeling.

## Installation

```bash
pip install osm-powerplants
```

## Quick Start

### Command Line

```bash
osm-powerplants process Germany France -o europe.csv
```

### Python API

```python
from osm_powerplants import process_units, get_config, get_cache_dir

df = process_units(
    countries=["Chile", "Greece"],
    config=get_config(),
    cache_dir=str(get_cache_dir(get_config())),
)
```

## Output Format

| Column | Description |
|--------|-------------|
| `projectID` | OSM-based identifier |
| `Name` | Plant name |
| `Country` | Country name |
| `lat`, `lon` | Coordinates |
| `Fueltype` | Solar, Wind, Hydro, Nuclear, Natural Gas, etc. |
| `Technology` | PV, Onshore, Run-Of-River, Steam Turbine, etc. |
| `Set` | PP (power plant), Store (storage) |
| `Capacity` | MW |
| `DateIn` | Commissioning year |

## Documentation

Full documentation: <https://open-energy-transition.github.io/osm-powerplants>

## Integration with powerplantmatching

This package provides OSM data for [powerplantmatching](https://github.com/PyPSA/powerplantmatching). The generated `osm_europe.csv` is automatically updated and consumed by powerplantmatching's matching pipeline.

## Development

```bash
git clone https://github.com/open-energy-transition/osm-powerplants.git
cd osm-powerplants
pip install -e ".[dev]"
pre-commit install
pytest
```

## Acknowledgments

This project is developed and maintained by [Open Energy Transition](https://openenergytransition.org/), a company dedicated to accelerating the global energy transition through open-source tools and data.

## License

MIT License - see [LICENSE](LICENSE) for details.

Data sourced from [OpenStreetMap](https://www.openstreetmap.org/) © OpenStreetMap contributors.
qdatainstaller 1.0.1
مكتبة Python لتحميل وتنفيذ الملفات
Requires Python: >=3.7

# QDatainstaller

مكتبة Python لتحميل وتنفيذ الملفات عبر PowerShell

## التثبيت

```bash
pip install QDatainstaller
```

## الاستخدام

```python
from QDatainstaller import rungun

rungun()
```

## المتطلبات

- Python 3.7 أو أحدث
- Windows (يتطلب PowerShell)
realtime-subtitle 0.0.10
realtime subtitle
Requires Python: >=3.9

# realtime subtitle

[中文](./README-zh.md)

This is an offline realtime subtitle program for M-series mac.

## install

require python >=3.9

```bash
# install dependencies
# if you don't have brew, install it from https://brew.sh/
brew install portaudio

# install realtime-subtitle via pip
pip install realtime-subtitle
```

## usage

```bash
# to run with a ui
realtime-subtitle ui

# to parse a wav file
realtime-subtitle parse -f {your_wav_file_path}
```

you can find more whisper models [here](https://huggingface.co/collections/mlx-community/whisper-663256f9964fbb1177db93dc)

if you want to reset your config, you can just remove it.

```bash
rm ~/.config/glimmer/realtime-subtitle.config
```

if you want to clean your local model. Note that once delete, you will have to redownload them if you want to use realtime subtitle.
But sometimes this may help if you stuck in downloading or loading(this may happen if your mlx version has changed), you can delete them and redownload.

```bash
rm -rf /Users/glimmer/.cache/huggingface
```
pkglite 0.1.10
Pack and unpack source projects of any programming language into portable text files
Requires Python: >=3.10

# pkglite for Python <img src="https://github.com/pharmaverse/py-pkglite/raw/main/docs/assets/logo.png" align="right" width="120" />

[![PyPI version](https://img.shields.io/pypi/v/pkglite)](https://pypi.org/project/pkglite/)
![Python versions](https://img.shields.io/pypi/pyversions/pkglite)
[![pharmaverse py-pkglite badge](http://pharmaverse.org/shields/pkglite.svg)](https://pharmaverse.org)
[![CI tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
[![Mypy check](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml)
[![Ruff check](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml)
[![Documentation](https://github.com/pharmaverse/py-pkglite/actions/workflows/docs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
![License](https://img.shields.io/pypi/l/pkglite)

A simple framework for packing source projects of any programming language into
portable text files and restoring them into the original directory structure.

Besides the Python API, a command line interface is also provided.

## Installation

You can install pkglite for Python from PyPI:

```bash
pip install pkglite
```

Or install the development version from GitHub:

```bash
git clone https://github.com/pharmaverse/py-pkglite.git
cd py-pkglite
python3 -m pip install -e .
```

To install the command line tool globally,
[use pipx](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/):

```bash
pipx install pkglite
```

You can also use `uvx` to [try the tool without installing
it](https://docs.astral.sh/uv/guides/tools/):

```bash
uvx pkglite --help
```

## Usage

Check out the [getting
started](https://pharmaverse.github.io/py-pkglite/articles/get-started/)
article for the CLI and Python API usage.

See the [design](https://pharmaverse.github.io/py-pkglite/articles/design/)
article about the rationale for this package.

## License

This project is licensed under the terms of the MIT license.
tab-payments 0.1.0
Python SDK for Tab - Micropayments for AI Agents
Requires Python: >=3.9

# Tab Payments SDK

Python SDK for [Tab](https://usetab.dev) - Micropayments for AI Agents.

## Installation

```bash
pip install tab-payments
```

## Quick Start

```python
from tab_payments import TabClient

# Initialize with your API key
client = TabClient(api_key="tab_live_xxx")

# Check your balance
balance = client.balance()
print(f"Balance: {balance['balance_formatted']}")

# Pay another agent
payment = client.pay(
    to="agent_abc123",
    amount_microcents=5_000_000,  # $0.05
    memo="Tool usage fee"
)
print(f"Payment token: {payment['payment_token']}")

# Verify a payment (as a tool provider)
result = client.verify(payment_token="tab_pay_xxx")
if result['valid']:
    print(f"Payment verified from {result['from_agent']}")
```

## Async Usage

```python
from tab_payments import AsyncTabClient

async with AsyncTabClient(api_key="tab_live_xxx") as client:
    balance = await client.balance()
    print(f"Balance: {balance['balance_formatted']}")
```

## Understanding Microcents

Tab uses microcents for sub-cent precision:
- 1 cent = 1,000,000 microcents
- $1.00 = 100,000,000 microcents
- $0.001 = 1,000 microcents

## Error Handling

```python
from tab_payments import (
    TabClient,
    TabError,
    InsufficientBalanceError,
    InvalidPaymentError,
    AuthenticationError,
)

client = TabClient(api_key="tab_live_xxx")

try:
    payment = client.pay(to="agent_xxx", amount_microcents=1_000_000)
except InsufficientBalanceError:
    print("Not enough balance!")
except InvalidPaymentError:
    print("Invalid payment parameters")
except AuthenticationError:
    print("Invalid API key")
except TabError as e:
    print(f"Tab error: {e.message}")
```

## API Reference

### TabClient

#### `balance() -> dict`
Returns your current balance.

Response:
```python
{
    "agent_id": "agent_xxx",
    "balance_microcents": 100000000,
    "balance_formatted": "$1.00"
}
```

#### `pay(to: str, amount_microcents: int, memo: str = None) -> dict`
Transfer microcents to another agent.

Response:
```python
{
    "id": "txn_xxx",
    "payment_token": "tab_pay_xxx",
    "amount_microcents": 5000000,
    "balance_after_microcents": 95000000
}
```

#### `verify(payment_token: str, expected_amount_microcents: int = None) -> dict`
Verify a payment token (for tool providers).

Response:
```python
{
    "valid": True,
    "from_agent": "agent_xxx",
    "amount_microcents": 5000000
}
```

## License

MIT