
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
pycortexintelligence
Advanced tools
Need to consult the history of our project? Click Here
pip install wheel
python setup.py bdist_wheel
python -m twine upload dist/*
data_input_parameters = {
'ignoreValidationErrors': True/False,
}
// If you send this parameter, the datainput will ignore errors.
execution_parameters = {
'name': 'Name of your Integrations',
'origin': 'Connector',
}
// If you send this to Execution your data need contain
// Dates in YYYY-MM-DD HH:MM:SS format
// Float numbers in XXX.XXX.XXX,YY format
// 'origin' are optional parameters, if you do not send the platform you will try to guess the formats
import logging.config
from pycortexintelligence import functions as cortexfunctions
## Criamos uma instancia do filter
cortexFilter = cortexfunctions.ApplicationTenantFilter(
'App_Using_Pycortexintelligence',
'CLIENT'
)
## Configurando o logging do sistema
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
},
},
"handlers": {
'console':{
'class': 'logging.StreamHandler',
'formatter': 'verbose'
},
## Entrada do handler do Graylog utilizando graypy
## Para utilizar esse handler eh necessario instalar o graypy
## no requirements.txt de sua aplicacao ou com pip install graypy
'graypy': {
'class': 'graypy.GELFUDPHandler',
'host': 'localhost',
'port': 12201,
'filters': [cortexFilter]
}
},
"root": {
"handlers": ["console", "graypy"],
"level": "DEBUG",
}
}
## Configuring Logging
logging.config.dictConfig(LOGGING)
# Execution Parameters
# You can define Origin, to inform platform a bundle of parses.
execution_parameters = {
'name': 'LoadManager PyCortex',
# 'origin': 'Connector',
}
# DataInput Parameters
data_input_parameters = {
'ignoreValidationErrors': True,
}
# Timeouts
# You can set timeouts for the platform according to the size of the uploaded files
# or use the default
timeout = {
'file': 300
}
# DataFormat are Optionally defined
default_data_format = {
"charset": "UTF-8",
"quote": "\"",
"escape": "\\",
"delimiter": ",",
"fileType": "CSV",
"compressed": "NONE"
}
try:
# Upload to Cortex
cortexfunctions.upload_to_cortex(
cubo_id='',
file_path='',
plataform_url='CLIENT.cortex-intelligence.com',
username='',
password='',
data_format=default_data_format,
timeout=timeout,
execution_parameters=execution_parameters,
)
except Exception as e:
# In case of error, send it to logger
logging.error(str(e))
from pycortexintelligence import functions as cortexfunctions
# DataFormat are Optionally defined
dafault_data_format = {
"charset": "UTF-8",
"quote": "\"",
"escape": "\/\/",
"delimiter": ",",
}
# Select the headers from file
columns = ['Name of Column A', 'Name of Column B']
# OPTIONAL Filters
filters = [
['Name of Column A', 'Value'],
['Name of Column A', 'Value1|Value2|Value3'],
['Name of Column B', 'dd/mm/YYYY'],
['Name of Column B', 'dd/mm/YYYY-dd/mm/YYYY'],
]
# Download from Cortex
cortexfunctions.download_from_cortex(
cubo_id='',
file_path='',
plataform_url='CLIENT.cortex-intelligence.com',
username='',
password='',
data_format=dafault_data_format,
columns=columns,
filters=filters,
)
Now download_from_cortex function returns a variable with Content-Rows from the response header
content_rows = cortexfunctions.download_from_cortex(
...
)
cortex.py --help
cortex.py startproject --name "Project Name" --sname safe_project_name
Developers can access our development manual by clicking here.
You can create a new Issue clicking here, and we will start a description about the reported Bug or Feature.
FAQs
Cortex Intelligence Platform Python SDK
We found that pycortexintelligence demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.