semvec/pypi-packages huggingface dataset:
easyssl 1.0.3
Easy OpenSSL Utilities

# easyssl


### Functions
| Module | Function            | Use Case                                               |
|--------|---------------------|--------------------------------------------------------|
| ssl    | to simplify openssl | Simple en/de-cryption implement to build your own app. |
| ca     | to simplify x.509   | Maintain your own CA and sign crt on demand easily.    |



### Encryption
```python
import json
import datetime
import socket
from easyssl import ssl


hostname = socket.gethostname()
time_stamp = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
k = ssl.Key()
k.load_pubkey()

plain_text = hostname + '__-__' + time_stamp
plain_text = json.dumps(
    {
        'k1': 'v1',
        'k2': 'v2',
        'k3': 'v3',
    }
)

k.encrypt(plain_text=plain_text)

```
### Decryption

```python
import json
import datetime
import socket
from easyssl import ssl

k = ssl.Key()
k.load_prikey()


encrypted_text = 'F/IicdulrsDfrTsrR7ainjM23+kV8/7Li7pbLb/Zn6VGJD4Y9Nz18f4rb7WCW7di1TIzr+qTpY8nAI4DbphCC3FfGrIYgoBY0pCuzOng79R/Rrpgm4VIHbiGdssP7W1ihsksgd4ttcG9KR7GfJeeGaOlK5w1vl/9inveuUB8hQA4bhmrpEK/+HmYxXPtVadW3ZqRNf8wyGJwED63d1U7N7iO6Q5Rph2t1hmVKKRZ9uTeeAno1oo2a2N6xQ1IiwUkqsjggYkiLbCjm28/lony/2QtqvSdEzOmHzlTFeamcZqN5zxrkh2ozq07kJo6xibpN0EMSSgBZUaTLG2WtGbvoA=='
k.decrypt(encrypted_text)

```
onlinecheckwriter-quickpay 1.5
A Python package for handling online check payments

---
Onlinecheckwriter Quick Pay Api
---

Streamlined Payment API with Multi-Channel Support: Seamlessly Integrate Checks, eChecks, Virtual Cards, ACH/Direct Deposits, and Wire Transfers into Your Application

Full API documenation [source](https://apiv3.onlinecheckwriter.com/) to see how it works.


## Sample Code

````
from onlinecheckwriter_quickpay.onlinecheckwriter import OnlineCheckWriter

# Initialize the OnlineCheckWriter instance with your API token and environment
ocw = OnlineCheckWriter()
ocw.set_token("YOUR_API_TOKEN")
ocw.set_environment("SANDBOX")  # or "LIVE" if needed

# Prepare the data for a payment (example data)
data = {
    "source": {"accountType": "bankaccount", "accountId": ""},
    "destination": {
        "name": "John Myres",
        "company": "Tyler Payment Technologist",
        "address1": "5007 richmond rd",
        "address2": "",
        "city": "Tyler",
        "state": "TX",
        "zip": "75701",
        "phone": "9032457713",
        "email": "support@onlinecheckwriter.com",
    },
    "payment_details": {
        "amount": 500,
        "memo": "for game",
        "note": "Note For Internal Purpose",
    },
}

# Test sending a check payment
result = ocw.send_check(data)

# Print the result
print(result)
````

Available method
result = ocw.send_check(data)

result = ocw.send_mailcheck(data)

result = ocw.send_direct_deposit(data)

result = ocw.send_virtual_card(data)

result = ocw.send_wire(data)