Skip to main content

Cortif Local Runner CLI

Project description

Cortif

Cortif Local Runner CLI - A command-line tool for running and monitoring machine learning models locally.

Installation

pip install cortif

Features

  • Local model execution and monitoring
  • Synthetic data generation for testing
  • Metrics calculation and monitoring
  • Interactive CLI interface
  • Beautiful terminal output with Rich

Configuration

The package supports flexible OpenAI API configuration through environment variables:

Standard OpenAI API

export OPENAI_API_KEY="your-api-key"
export OPENAI_MODEL="gpt-4"  # Optional, defaults to gpt-4.1-nano
export OPENAI_BASE_URL="https://api.openai.com/v1"  # Optional, for custom endpoints

Azure OpenAI

export OPENAI_API_KEY="your-azure-api-key"
export AZURE_OPENAI_ENDPOINT="https://your-resource.openai.azure.com/"
export AZURE_OPENAI_API_VERSION="2025-01-01-preview"  # Optional, defaults to 2025-01-01-preview
export OPENAI_MODEL="gpt-4"  # Optional, defaults to gpt-4.1-nano

Usage

Run the Cortif CLI:

cortif

Requirements

  • Python >= 3.9
  • Dependencies listed in pyproject.toml

Documentation

For more information, visit https://docs.cortif.ai

License

MIT License - See LICENSE file for details

Contact

Project details


Download files

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

Source Distribution

cortif-0.1.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cortif-0.1.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file cortif-0.1.1.tar.gz.

File metadata

  • Download URL: cortif-0.1.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for cortif-0.1.1.tar.gz
Algorithm Hash digest
SHA256 69c003268cb93ad14f8b8ce25960846cd1bd32f45f2a49984b195599666986c4
MD5 f6afb52eae86fdb906af2cef1945939c
BLAKE2b-256 40f3f9c1ee0a81337e59564418c189e5e60abab86d76adc26bfa6d74b5955954

See more details on using hashes here.

File details

Details for the file cortif-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cortif-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for cortif-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30ff205daa2cc464c9c5320d7151afb5608720f01efad6e1b4468aca781b9904
MD5 94d98b3ff05e77f83aa89729d7760401
BLAKE2b-256 457a676c7ada851b28179084f1c53647c202c8e9564df3fb34d94b78a45bccc8

See more details on using hashes here.

Supported by

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