Metadata-Version: 2.1
Name: pycortexintelligence
Version: 0.0.8
Summary: Cortex Intelligence Platform Python SDK
Home-page: https://github.com/endersonmenezes/pycortexintelligence
Author: Enderson Menezes
Author-email: endersonster@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.24.0)
Requires-Dist: click (>=7.1.2)

# WIP: PY Cortex Intelligence
## Release Notes
**v.0.0.8**
- using logging module
- update on file creation to `utf-8`
- create core/messages.py file

**v.0.0.7**
- creating a CLI for pycortexintelligence --> cortex.py

**v.0.0.6**
- fix bug with calling _upload_local_2_cube_ function.

**v.0.0.5**

- added support to data_format on upload_to_cortex

```python
dafault_data_format = {
    "charset": "UTF-8",
    "quote": "\"",
    "escape": "\/\/",
    "delimiter": ",",
    "fileType": "CSV"
}
```

## How to build locale
```shell
pip install wheel
python setup.py bdist_wheel
```

## How to update on PIP
```
python -m twine upload  dist/*
```

## How to use
```python
from pycortexintelligence import functions as cortexfunctions

# DataFormat are Optionally defined
dafault_data_format = {
    "charset": "UTF-8",
    "quote": "\"",
    "escape": "\/\/",
    "delimiter": ",",
    "fileType": "CSV"
}

# Upload to Cortex
cortexfunctions.upload_to_cortex(
    cubo_id='',
    file_path='',
    plataform_url='CLIENTE.cortex-intelligence.com',
    username='',
    password='',
    data_format=dafault_data_format
)
```

## CLI Usage
```bash
cortex.py --help
```

### Examples

```bash
cortex.py startproject --name "Project Name" --sname project_name
```

## TO DO

- [X] Document Build
- [X] Document Usage
- [X] Create a CLI for testing
- [ ] Create tool to send task for amazon
- [ ] Improve CLI
- [ ] Improve Documentation

