semvec/pypi-packages huggingface dataset:
complycube 1.1.8
Official Python client for the ComplyCube API
Requires Python: >=3.6
Keywords: complycube, aml, kyc, client, api, wrapper, PEP, identity verification, identity checks, document verification

# ComplyCube Python Library

The official python library for integrating with the ComplyCube API.

Check out the [API integration docs](https://docs.complycube.com/api-reference/integration).

Check out the [API reference](https://docs.complycube.com/api-reference/).


## Installation

```sh
pip install complycube
```

### Requirements

-   Python 3.6+

## Getting Started

import the client

```python
from complycube import ComplyCubeClient
```

Initialise the ComplyCubeClient with the api key from your [developer dashboard.](https://portal.complycube.com/developers/key)

```python
cc_api = ComplyCubeClient(api_key='test_....')
```
Create a new client and complete a standard check

```python
input_client_dict = {
    'type':'person',
    'email':'a@b.com',
    'personDetails': {
        'firstName':'John',
        'lastName':'Smith'
    }
}
cc_client = cc_api.clients.create(**input_client_dict)
check = cc_api.checks.create(cc_client.id,'standard_screening_check')
print(check)
```

Search for clients with the first name "John"
```python
for client in ccapi.clients.list(personDetails={'firstName','John'}):
    print(client.email)
```

The auto_list function will handle api paging automatically via a generator and return a native object.
```python
for client in ccapi.clients.list(personDetails={'firstName','John'}):
    print(client.email)
```

### Per-request Configuration

As we use the requests library you can set per request configuration by using key/value pairs of any available requests parameter.

Setting the timeout for client creation to 5 seconds

```python
ccapi.clients.create(**input_client_dict, timeout=5)
```

Avoiding certification verification

```python
ccapi.clients.create(**input_client_dict, verify=False)
```

We also support the following per request settings;

Passing a specific api key for a single request

```python
ccapi.clients.create(**input_client_dict, api_key='test_...')
```

Setting number of retries to attempt

```python
ccapi.clients.create(**input_client_dict, retries=5)
```

### Configuring a Proxy

A proxy can be configured by passing in proxy object to the request:

```python
proxies = {
  'https': 'http://10.10.1.10:1080',
}
ccapi.clients.create(**input_client_dict proxies=proxies)
```

For additional information, news and our latest blogs visit us at https://www.complycube.com/
tabdeal-python 0.4.7
Official python package to use Tabdeal API
Requires Python: >=3.6

# Tabdeal API Python SDK
[![PyPI version](https://img.shields.io/pypi/v/tabdeal-python)](https://pypi.python.org/pypi/tabdeal-python)
[![Python version](https://img.shields.io/pypi/pyversions/tabdeal-python)](https://www.python.org/downloads/)



Official python package to use [Tabdeal Exchange](https://www.tabdeal.org/) API


## Installation

```bash
pip install tabdeal-python
```

## Documentation

[https://docs.tabdeal.org](https://docs.tabdeal.org/)

[Postman Collection](https://github.com/Tabdeal-Exchange/tabdeal-api-postman)

## RESTful APIs

Usage examples:
```python
from tabdeal.enums import OrderSides, OrderTypes
from tabdeal.spot import Spot

api_key = '<api_key>'
api_secret = '<api_secret>'


client = Spot(api_key, api_secret)

order = client.new_order(symbol='BTC_IRT',
                         side=OrderSides.BUY,
                         type=OrderTypes.MARKET,
                         quantity="0.002")

print(order)
```

### Exception

There are 2 types of exceptions returned from the library:
- `tabdeal.exceptions.ClientException`
    - This is thrown when server returns `4XX`, it's an issue from client side.
    - It has 4 properties:
        - `status` - HTTP status code
        - `code` - Server's error code
        - `message` - Server's error message
        - `detail` - Detail of exception
- `tabdeal.exceptions.ServerException`
    - This is thrown when server returns `5XX`, it's an issue from server side.