semvec/pypi-packages huggingface dataset:
py-machine-The-Hexagon 0.0.3
A package for creating levels in cell machine mystic mod
Requires Python: >=3.6

This is a tool for Cell Machine Mystic Mod(https://themysticlynx.itch.io/cell-machine-mystic-mod) and you can create levels with this tool and more. Docs at https://the-decent-hexagon.github.io/
aishucloud-sdk-python 0.1.0
Aishu Cloud SDK for Python

============================
AISHU Cloud SDK for Python
============================

AISHU Cloud Python SDK is the official software development kit, which allows Python developers to write software that makes use of AISHU Cloud services like LOG.

The SDK works on Python versions:

   * 2.7 and greater, including 3.x

Quick Start
-----------
First, install the library:

.. code-block:: sh

    $ pip install aishucloud-sdk-python

or download source code from github and install:

.. code-block:: sh

    $ git clone https://github.com/aishucloud/aishucloud-sdk-python.git
    $ cd aishucloud-sdk-python
    $ python setup.py install
tracardi-weather 0.6.1
This plugin connects to weather server and retrieve weather data in given city.
Requires Python: >=3.8
Keywords: tracardi,plugin

# Weather plugin

This plugin connects to weather server and retrieves weather information.

# Configuration

First you need to configure what type of temperature you need. Either in Celsius (C) of Fahrenheit (F)

Example of configuration.

```json
{
  "system": "C",
  "city": "profile@traits.public.city"
}
```

City can ba a path to data or a plain text.

```json
{
  "city": "Paris"
}
```

# Input

Input payload is not processed by this plugin.

# Output

*Example*

```json
{
  "temperature": 4,
  "humidity": 87,
  "wind_speed": 15,
  "description": "Sunny"
}
```
pesepay 1.0.8
Pesepay online payment gateway integration
Keywords: pesepay

### Installation
```shell
pip install pesepay
```

### Getting Started
Import the library into your project/application

```python  
from pesepay import Pesepay
```

Create an instance of the `Pesepay` class using your integration key and encryption key as supplied by Pesepay.

```python 
pesepay = Pesepay("INTEGRATION KEY", "ENCRYPTION KEY");
```

Set return and result urls

```python 
pesepay.result_url = 'https://example.com/result'
pesepay.return_url = 'https://example.com/return'
```

### Make seamless payment

Create the payment 
##### NB: Customer email or number should be provided

```python
payment = pesepay.create_payment('CURRECNCY_CODE', 'PAYMENT_METHOD_CODE', 'CUSTOMER_EMAIL', 
   'CUSTOMER_PHONE_NUMBER(OPTIONAL)', 'CUSTOMER_NAME(OPTIONAL)')
```

Create a `dict` of the required fields (if any)
```python
required_fields = {'requiredFieldName': 'requiredFieldValue'}
```

Send of the payment
```python
response = pesepay.make_seamless_payment(payment, 'PAYMENT_REASON', 1.00, required_fields)

if response.success:
    # Save the reference number and/or poll url (used to check the status of a transaction)
    poll_url = response.pollUrl
    reference_number = response.referenceNumber

else:
    # Get Error Message
    message = response.message
```

### Make redirect payment
Create a transaction
```python
transaction = pesepay.create_transaction(amount, 'CURRENCY_CODE', 'PAYMENT_REASON')
```

Initiate the transaction
```python
response = pesepay.initiate_transaction(transaction)

if response.success:
    # Save the reference number and/or poll url (used to check the status of a transaction)
    poll_url = response.pollUrl
    reference_number = response.referenceNumber
    # Get the redirect url and redirect user to complete transaction   
    redirect_url = response.redirectUrl

else:
    # Get Error Message
    message = response.message
```
### Check Payment Status
#### Method 1: Check using reference number
```python
response = pesepay.check_payment(reference_number)
if response.success:
    if response.paid:
        # Payment was successful
else:
    # Get Error Message
    message = response.message
```
#### Method 2: Check using poll url
```python
response = pesepay.poll_transaction(poll_url)
if response.success:
    if response.paid:
        # Payment was successful
else:
    # Get Error Message
    message = response.message
```