semvec/pypi-packages huggingface dataset:
yabin 0.1.1
CLI client for YAbin
Requires Python: >=3.11,<4.0

# YABin CLI Client

## Installation

```bash
pip install yabin
```

## Usage

You can specify the `BASE_URL` environment variable to change the default API URL, or use the `-b/--base-url` option.

### Create a paste

```
usage: yabin create [-h] [--encrypted] [--password PASSWORD] [--language LANGUAGE] [--expires-after SECONDS] [--burn-after-read] FILE|stdin

positional arguments:
  FILE|stdin            Content of the paste. If it is stdin, it will be read from stdin

options:
  -h, --help            show this help message and exit
  --encrypted, -e       Encrypt the paste on client-side. Default: False
  --password PASSWORD, -p PASSWORD
                        Password to encrypt the paste with.
  --language LANGUAGE, -l LANGUAGE
                        (Programming) language of the paste. Default: plaintext
  --expires-after SECONDS, -x SECONDS
                        Number of seconds after which the paste will expire.
  --burn-after-read, -b
                        Delete the paste after it has been read once.
```

### Read a paste

```
usage: yabin read [-h] [--password PASSWORD] URL

positional arguments:
  URL                   Complete URL of the paste to read.

options:
  -h, --help            show this help message and exit
  --password PASSWORD, -p PASSWORD
                        Password to decrypt the paste with. Only needed if password-protected.
```
rrta 0.1
Python wrapper for the RRTA (MyStop) REST API.
Requires Python: >=3.9
Keywords: rrta,lancaster

# python-rrta

Python wrapper for the RRTA (MyStop) REST API.

## Usage

```python
import aiohttp
import asyncio
from rrta import RRTAClient

async def main():
    session = aiohttp.ClientSession()
    client = RRTAClient(session=session)

    routes = await client.get_all_routes()

    for route in routes:
        vehicles = await client.get_vehicles(route_ids=[route.RouteId])

        print(f"Route {route.RouteId}: {len(vehicles)} Vehicles")

        for v in vehicles:
            print(f"\t{v.VehicleId} currently en-route to {v.Destination} at {v.Speed} MPH")

if __name__ == "__main__":
    asyncio.run(main())

```

## Installation

    pip install rrta

## Known Issues

* Dataclasses are not pythonic at the moment and contain a bunch of member variables that RRTA doesn't seem to use despite being part of the MyStop spec