/custom-data-example

An example of how to use the Cortex custom data bulk endpoint

Primary LanguagePythonMIT LicenseMIT

custom_data_example

This Python script demonstrates how to use the bulk custom data endpoint in the Cortex REST API

How to build and install

  • Have Python 3
  • Install Python-Poetry
  • Clone this repo and cd into it
  • If you want to build a pip package, poetry build to build a .whl file in dist/, that you can then install using pip install, and the command custom-data-example will ba available after that.
  • If you just want to run the script, poetry install, then poetry run custom-data-example
image

image