semvec/pypi-packages huggingface dataset:
etl-converter-talenttech 1.2.9
TopMind ETL converter
License: MIT
Requires Python: >=3.6

ETL table converter and creator
==========

The Python Toolkit for converting table from one database to another

Databases types
-------------

Supported databases. You have to use short name of database
short_name:type of database 
* ch:clickhouse
* pg:postgresql
* mysql:mysql
* vertica:vertica
* exasol:exasol


Supported database conversions
-------------
* mysql to pg
* mysql to vertica
* mysql to exasol
* ch to vertica
* pg to vertica


Credentials
-------------
```sh
sql_credentials = {
    "pg": {
        "database": os.getenv("PG_DATABASE"),
        "schema": os.getenv("PG_SCHEMA"),
        "user": os.getenv("PG_USER"),
        "host": os.getenv("PG_HOST"),
        "port": os.getenv("PG_PORT"),
        "password": os.getenv("PG_PASSWORD"),
        #additional params bellow (optional) 
        "executemany_mode": "values",
        "executemany_values_page_size": 10000,
        "executemany_batch_page_size": 500,
    },
    "ch": {
        "database": os.getenv("CH_DATABASE"),
        "user": os.getenv("CH_USER"),
        "host": os.getenv("CH_HOST"),
        "port": os.getenv("CH_PORT"),
        "password": os.getenv("CH_PASSWORD"),
        #additional params bellow (optional) 
        "connect_args": {
            "alt_hosts": "{},{}:{}".format(
                os.getenv("CH_HOST_B"), os.getenv("CH_HOST_C"), os.getenv("CH_PORT")
            )
        },
    },
    "vertica": {
        "database": os.getenv("VERTICA_DATABASE"),
        "schema": os.getenv("VERTICA_SCHEMA"),
        "user": os.getenv("VERTICA_USER"),
        "host": os.getenv("VERTICA_HOST"),
        "port": os.getenv("VERTICA_PORT"),
        "password": os.getenv("VERTICA_PASSWORD"),
        #additional params bellow (optional) 
        "connect_args": {
            "connection_load_balance": True,
            "backup_server_node": json.loads(os.getenv("VERTICA_CONFIGS"))[
                "backup_server_node"
            ],
        },
    },
    "mysql": {
        "database": os.getenv("MYSQL_DATABASE"),
        "user": os.getenv("MYSQL_USER"),
        "host": os.getenv("MYSQL_HOST"),
        "port": os.getenv("MYSQL_PORT"),
        "password": os.getenv("MYSQL_PASSWORD"),
    },
}
```

Usage
```sh
pip3 install etl-converter-talenttech
```

```python
import os
from converter.fields_converter import FieldsConverter

tables = [
    "directions",
    "users"
]
from_db = "mysql"
to_db = "pg"
converter = FieldsConverter(sql_credentials, from_db, to_db, tables=tables)

print(converter.get_columns(tables[0]))
print(converter.get_columns(tables[0], table_from=False))
print(converter.create_list_of_tables(tables, to_create=False, dir=None))
zibal 1.1.0
Zibal payment gateway
License: MIT
Keywords: Zibal,Payment,زیبال,درگاه پرداخت,درگاه زیبال

# Zibal Payment Gateway

[![N|Zibal](https://github.com/zibalco/zibal-opencart-v2.3/raw/master/admin/view/image/payment/zibal.png)](https://github.com/zibalco/zibal-opencart-v2.3/raw/master/admin/view/image/payment/zibal.png)



### Installation

Zibal Payment pacakge requires [Requests](https://pypi.org/project/requests/) to run.

Install the package using pip

```sh
$ pip install zibal
```

For upgrading to newer versions

```sh
$ pip install zibal --upgrade
```

### Usage

You can send a request and verify your payment using this package. Also you can use this package to translate the result codes to printable messages
Pass your merchant_id and callback url while creating a zibal instance

```python
import zibal.zibal as zibal

merchant_id = 'Your merchant id, use zibal for testing'
callback_url = 'https://yourdomain.com/callbackUrl'

zb = zibal.zibal(merchant_id, callback_url)
amount = 30000 # IRR
request_to_zibal = zb.request(amount)
```

Now you can access the parameters using
```python
track_id = request_to_zibal['trackId']
request_result_code = request_to_zibal['result']
```
Pass the result code to the translator function "requeset_result(result_code)" to create printable output
Python3 example:
```python
print(zb.request_result(request_result_code))
```
Verify the payment using the verify function
```python
verify_zibal = zb.verify(track_id)
verify_result = verify_zibal['result']
```
Now you can access the parameters using
```python
ref_number = verify_zibal['refNumber']
verify_result_code = verify_zibal['result']
```
Pass the result code to the translator function "verify_result(result_code)" to create printable output
Python3 example:
```python
print(zb.verify_result(verify_result_code))
```
fungraph 0.9.0
Graph of lazily evaluated functions with automatically cached intermediates
License: MIT
Requires Python: >=3.6

# fungraph

Lazily evaluated mutable graph of functions with automatically cached intermediate values. 

Features include:
* Compose a Directed Acyclic Graph (DAG) of lazily evaluated functions.
* Intermediate values are automatically cached.
* Results and arguments of all nodes in the graph are retrievable from the root node. 
* The graph is mutable allowing easy re-computation of the graph with modified function arguments.
* [dask](https://dask.org/ "Dask") provides delayed functions. As all functions are dask.delayed, you can use dask features to scale computation (eg across a HPC cluster).

See the documentation at <https://fungraph.readthedocs.io>.

## Installation

The package is distributed via PyPi at <https://pypi.org/project/fungraph/>.
Install from the command line with:

```bash
pip install fungraph
```