Skip to main content

Cortex Intelligence Platform Python SDK

Project description

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
dafault_data_format = {
    "charset": "UTF-8",
    "quote": "\"",
    "escape": "\/\/",
    "delimiter": ",",
    "fileType": "CSV"
}

How to build locale

pip install wheel
python setup.py bdist_wheel

How to update on PIP

python -m twine upload  dist/*

How to use

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

cortex.py --help

Examples

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

TO DO

  • Document Build
  • Document Usage
  • Create a CLI for testing
  • Create tool to send task for amazon
  • Improve CLI
  • Improve Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pycortexintelligence-0.0.8-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page