semvec/pypi-packages huggingface dataset:
pypetkit 0.0.4
PetKit python integration library

# pyPetKit

PetKit python integration library

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

## Authors

* **Marco Toni** - *Initial work* - [CrazYoshi](https://github.com/crazyoshi)

## License

This project is licensed under the GPLv3 License
aiocheck 0.0.11
A python asyncio host health checker using native ping commands
Requires Python: >=3.7
Keywords: asyncio host health checker native ping

# aiocheck

A python asyncio host health checker using native ping commands.

Example:
```
pip install aiocheck
aiocheck 10.20.30.40 10.20.30.50 10.20.30.60
```

stdout:
```
###########
# Running #
###########

Addresses: ['10.20.30.50', '10.20.30.40', '10.20.30.60']

Press CTRL+C to exit 
```

aiocheck_log.csv:
```
address, alive, timestamp
10.20.30.60, False, 2020-06-22 17:35:40.398753
10.20.30.40, False, 2020-06-22 17:35:40.398729
10.20.30.50, False, 2020-06-22 17:35:40.398660
```

<br>

For further details visit the [Documentation](https://github.com/kruserr/aiocheck/wiki).

<br>

# Install
### Using pip
```
pip install aiocheck
aiocheck localhost
```

### Using binary from GitHub
```
git clone https://github.com/kruserr/aiocheck.git
cd aiocheck
./bin/aiocheck.exe localhost
```

<br>

For further install instructions visit the [Documentation](https://github.com/kruserr/aiocheck/wiki/Install).

<br>

# Develop
### Open in VS Code
```
git clone https://github.com/kruserr/aiocheck.git
python -m pip install --upgrade pip setuptools wheel pytest tox twine pyinstaller
cd aiocheck
python -m pip install -e .
code .
```

### Run VS Code Tasks
CTRL+SHIFT+B

or

CTRL+P
```
>Tasks: Run Task
```

<br>

For further developing instructions visit the [Documentation](https://github.com/kruserr/aiocheck/wiki/Develop).
betfairstreamer 0.8.0
Betfair Exchange Stream API wrapper
Requires Python: >=3.8.0

# Betfairstreamer

## Features
* Run single or multiple streams simultaneously.
* Making use numpy arrays to access market price/size.
* Synchronous and asynchronous streaming.
* Parse historical data.

## Installation

!! Requires >= 3.8.0

### Conda installation
```
# If you already have an environment

conda activate your_environment
conda install -c anaconda python=3.8
pip install betfairstreamer==0.8.0

# If not, create an environment with python 3.8

conda create -n your_environment_name python=3.8
conda activate your_environment_name
pip install betfairstreamer==0.8.0

```
### Virtual environment installation
```
mkdir your_project
cd your_project
python3.8 -m venv venv
source venv/bin/activate
pip install betfairstreamer==0.8.0
```

## Examples

```python
session_token = api_client.get_session_token()

soccer_subscription = create_market_subscription(
    event_type_ids=["1"],
    country_codes=["DE"],
    market_types=["MATCH_ODDS"],
    fields=["EX_MARKET_DEF", "EX_LTP", "EX_BEST_OFFERS_DISP"],
    ladder_levels=2,
)

order_subscription = create_order_subscription()

connection_pool = BetfairConnectionPool.create_connection_pool(
    subscription_messages=[
        soccer_subscription_message, 
        order_subscription_message
    ],
    app_key=APP_KEY,
    session_token=session_token
)

for stream_update in connection_pool.read():
    print(stream_update)
```
#### Jupyter notebooks available in ./examples


## Benchmark
```Benchmark
Setup: Two processes, one sending betfair stream messages , one receiving.

Hardware: I7 8550U, 16GB ram

Results: 
 * Using a market cache it can read around ~90k decoded messages/second
```