semvec/pypi-packages huggingface dataset:
PyXor 1.0.2
A xor encryption module
Requires Python: >=3.6

# PyXor
<a href="https://pypi.org/project/PyXor/" target="_blank">
  <img alt="Install" src="https://img.shields.io/badge/ModulePage-pypi-brightgreen.svg" />
  
## Langage
  Python 3.9.4

## Install

```sh
pip install pyXor
```
  
## How To Use
  `XorEncode(key,string)`
  
  `XorDecode(key,string)`
  
## Encode
  ```python
  import pyXor
  print(pyXor.XorEncode("I'm A Key","I'm A String"))
  ```
  <br>
  <p>Output:</p>
  <br>

  ```
  110101001110110010100011101110111101110011101101100101001011111011101111101000011010010010100001
  ```
## Decode
  ```python
  import pyXor
  print(pyXor.XorDecode("I'm A Key","110101001110110010100011101110111101110011101101100101001011111011101111101000011010010010100001"))
  ```
  <br>
  <p>Output:</p>
  <br>
  
  ```
  I'm A String
  ```
ruuvi-gateway-client 0.1.0
Client for Ruuvi Gateway
Requires Python: >=3.6

# Ruuvi Gateway Client

Client for communicating with Ruuvi Gateway.

## Install

Install latest released version
```sh
$ python -m pip install ruuvi-gateway-client
```

Install letest development version from local sources
```sh
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
```

## Example

```py
import asyncio
from ruuvi_gateway_client import gateway
from ruuvi_gateway_client.types import ParsedDatas

STATION_IP = "10.0.0.21"
USERNAME = "username"
PASSWORD = "password"


def print_data(data: ParsedDatas):
    for mac, sensor_data in data.items():
        print(f'{mac}: {sensor_data}')


async def main():
    fetch_result = await gateway.fetch_data(STATION_IP, USERNAME, PASSWORD)
    if fetch_result.is_ok():
        print_data(fetch_result.value)
    else:
        print(f'Fetch failed: {fetch_result.value}')

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

## Changelog

[Changelog](https://github.com/ruuvi-friends/ruuvi-gateway-client/blob/main/CHANGELOG.md)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

Licensed under the [MIT](https://github.com/ruuvi-friends/ruuvi-gateway-client/blob/main/LICENSE) License.