semvec/pypi-packages huggingface dataset:
Aleph-Message 0.1.0
Aleph.im message specification
License: MIT
Keywords: aleph.im message validation specification

# Aleph.im Message Specification

This library aims to provide an easy way to create, update and validate 
messages from Aleph.im.

It mainly consists in [pydantic](https://pydantic-docs.helpmanual.io/) 
models that provide field type validation and IDE autocompletion for messages.

## Status

Currently, only basic type validation is included. Advanced data and signature
validation is not included.

In the future, this library would be useful within other projects such as
the client library [aleph-client](https://github.com/aleph-im/aleph-client).

## Usage

```python
import requests
from aleph_message import Message
from pydantic import ValidationError

message_dict = requests.get(ALEPH_API_SERVER + "/api/v0/messages.json?hashes=...").json()

try:
    message = Message(**message_dict)
    print(message.sender)
except ValidationError as e:
    print(e.json())
```
openviduconnect 1.0.2
Wrapper to OpenVidu REST APIs
License: MIT
Requires Python: >=3.7

# OpenVidu Connect
The project aims to connect to the OpenVidu Server.
It tries to wrap all the headers and APIs into attributes and methods of a class.
OpenVidu Connect provides support for Sync and Async API calls.
**(Enabled with context manager for both sync and async runs.)**

## What do we have in store?
- Future annotations are used to get the maximum output for support in IDEs
- Built on top of httpx (Get httpx: pip install httpx)

## Code Examples
- Sync Class (OpenViduClient) Example
```python
from openviduconnect import OpenViduClient

ov = OpenViduClient("<HOST>", "<SECRET>")
response = ov.get_sessions()
print(response)

######
# OR #
######

with OpenViduClient("<HOST>", "<SECRET>") as ov:
    response = ov.get_sessions()
print(response)
```

- Async Class (AsyncOpenViduClient) Example
```python
from openviduconnect import AsyncOpenViduClient

aov = AsyncOpenViduClient("<HOST>", "<SECRET>")
"""Async Stuff"""
response = await aov.get_sessions()
print(response)

######
# OR #
######

async with AsyncOpenViduClient("<HOST>", "<SECRET>") as aov:
    response = await aov.get_sessions()
print(response)
```

- We have all forms of specific errors respective to the documentation of the REST APIs
```python
from openviduconnect.exceptions import SessionBodyParameterError
"""SessionBodyParameterError is just an example there are many more"""

print(SessionBodyParameterError.status)  # Provides HTTP Response Status Code
```

## Support
- Runs with Python 3.7 and beyond
- At this point it only supports OpenVidu 2.17.0
- Will try to maintain versions of openviduconnect for different OepnVidu versions

## Known issues?
- Documentation
- Others. *You tell me*
StreamInput 0.0.1
Extension of Python built-in input() with timeout
License: MIT
Requires Python: >=3.7
Keywords: input,timeout,python3

# StreamInput

StreamInput is

* extension of Python built-in `input()` with timeout
* written in [Python (3.7+) Standard Library](https://docs.python.org/3.7/library/)



## Quickstart

```python
from streaminput import streaminput

data = streaminput(prompt='>>> ', timeout=10)
print(data)
```



### Install StreamInput

```bash
$ pip install streaminput
```