Skip to main content

CLI interface to use MakoraGenerate as a standalone tool or inside your favourite coding agent.

Reason this release was yanked:

Using wrong default URL

Project description

Makora CLI

The Makora CLI is a command-line interface (CLI) for interacting with Makora Generate.

Use it as a standalone tool or with your favourite coding agent!

Installation and Setup

Prerequisites

  • Python 3.10+
  • pip

Install

pip install makora

or for editable mode (development), after cloning this repo:

pip install -e .

Verify install

makora --help

Login Before Using Protected Commands

Most commands require authentication first.

  1. Create/copy an API token from: https://generate.makora.com/tokens

  2. Login interactively:

    makora login
    

    or non-interactively:

    makora login --token <token_value_or_file_containing_it>
    
  3. Confirm login state:

    makora info
    

To clear credentials:

makora logout

Subcommands

Below is the summary of available subcommands provided by the package. For a more comprehensive introduction and overview, please see: https://docs.makora.com.

Note: also try consulting each subcommands --help!

Subcommand Login required Purpose
login No Save API credentials for CLI use.
logout No Remove saved credentials.
info No Show version, env vars, and current login status.
submit Yes Validate code and create a new optimization session.
jobs Yes List your sessions/jobs.
stop Yes Stop a running job/session.
kernels Yes List kernels for a session or show kernel code.
check Yes Validate a kernel/problem file without creating a full run.
refcode Yes Show the original reference code for a session.
profile Yes Profile optimized vs reference code on remote hardware.
evaluate Yes Benchmark optimized vs reference code on remote hardware.
expert-generate Yes Generate improved kernel code with additional tools.
document-search Yes Search documents via the additional-tools document search API.
install Yes Install the Makora plugin (currently claude).

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

makora-1.0.0.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

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

makora-1.0.0-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file makora-1.0.0.tar.gz.

File metadata

  • Download URL: makora-1.0.0.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for makora-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6da1b9978f4be045ef7d9de172875cbe41363c244f2d975b45459754bb2bcaac
MD5 76eab3e31f63ebe83c51543f480a5ace
BLAKE2b-256 28493037c3679fb2aea18e7ba60fc4ca6b2fd372438c26783f22997748d636a8

See more details on using hashes here.

File details

Details for the file makora-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: makora-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for makora-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 793cf347d3b6ef08afb58acd918aeafa5a81686571391501ec149fc2489455c6
MD5 3ca5f5c8542a42301e6dc7cbeeb14413
BLAKE2b-256 bba5a97cf4992a50e5ea7d26be1780e03d8c066ec8e3834231d2e8c00837a236

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