semvec/pypi-packages huggingface dataset:
pymicropel 1.0.1
Python library for communication with Micropel PLC.
Keywords: python,plc,tcp_ip,communication,iot,automation


# pymicropel
Python library for communication with Micropel PLC. 
The library solves everything for the smooth communication of your program with the Micropel PLC. Communication is over TCP/IP, the library handles everything from packet dropping to encryption.

You can install the library using the command
```bash
pip install pymicropel
```

## Deploy to PIP
PIP repository: [https://pypi.org/project/pymicropel/](https://pypi.org/project/pymicropel/)

```bash
pip install setuptools
pip install wheel
pip install twine
python setup.py sdist bdist_wheel
twine upload dist/*
```
meower-Mwalters75 0.0.1
Python library for interacting with the Meower API
Requires Python: >=3.6

# meower.py
Python library for interacting with the Meower API
## Commands
- `meower.repair()` - Checks if the server is in repair mode
- `meower.post_id(num)` - A very misleading name. Downloads home, then finds the post number
- `meower.home()` - Downloads home
- `meower.home_len()` - Shows the number of posts on home
- `meower.get_post(str)` - Gets the specified post, and shows in `username: post` format
- `meower.page_len()` - Shows the number of home pages
- `meower.current_page()` - Returns the current page number
- `meower.change_page(num)` - Changes the page
- `meower.ping()` - "Pings" the Meower API, by fetching
kgt 0.4.7
Python tools for Keygen.sh licensing
Requires Python: >=3.7

# kgt

[![PyPi Version](https://img.shields.io/pypi/v/kgt.svg?style=flat-square)](https://pypi.org/project/kgt/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/kgt.svg?style=flat-square)](https://pypi.org/project/kgt/)

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)

Some handy tools for the [Keygen](https://keygen.sh/) licensing service. (This
is a user contribution, not an official Keygen LLC product. For Keygen
software, see [here](https://github.com/keygen-sh).)

Install with

```
pip install kgt
```

and use as

```python
import sys
from kgt import get_online_license_info, ValidationError

info = get_online_license_info(
    account_id="demo", key="DEMO-DAD877-FCBF82-B83D5A-03E644-V3"
)
```

The `out` object contains useful information such as

```
out.code
out.timestamp
out.license_creation_time
out.license_expiry_time
```

The validation result can also be safely cached with

<!--pytest-codeblocks:skip-->

```python
import sys
from datetime import datetime, timedelta
from kgt import get_cached_license_info, ValidationError

infi = get_cached_license_info(
    account_id="your accound id",
    key="the license key",
    keygen_verify_key="your Ed25519 128-bit Verify Key",
    cache_path="/tmp/license-cache.json",
    refresh_cache_period=timedelta(days=3),
)

now = datetime.utcnow()
cache_age = now - out.timestamp
if cache_age > timedelta(days=3) and cache_age < timedelta(days=7):
    print("Warning: Could not validate license. Make sure to get online soon.")
elif cache_age > timedelta(days=7):
    print("Error: Could not validate license. Internet connection needed. Exiting.")
    sys.exit(1)
```

For _offline validation_, use

<!--pytest-codeblocks:skip-->

```python
from kgt import get_offline_license_info

# or "RSA_2048_PKCS1_SIGN_V2", "RSA_2048_PKCS1_PSS_SIGN_V2":
license_scheme = "ED25519_SIGN"
keygen_verify_key = "your public verify key"
license_key = "your offline license key"

info = get_offline_license_info(license_scheme, license_key, keygen_verify_key)
print(info)
```