Skip to main content

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

Reason this release was yanked:

Can't belive I called makora generate makora submit

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.1.tar.gz (48.9 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.1-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: makora-1.0.1.tar.gz
  • Upload date:
  • Size: 48.9 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.1.tar.gz
Algorithm Hash digest
SHA256 9a4a6f7740eb1165317513d306d07c57d27b03f7e2a2a0cf2fd62e04c4bb4b9a
MD5 3942e173346f4286c1927c24d7450731
BLAKE2b-256 7bdfdf7bc8bd0fe3664de5d466e7dd6e3c66b5433b54f6cdfa9b0961166fef50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: makora-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 996d337d7e5a264237bc8b1fd2f462ca35d6386849f1faffe4cf88c560de5df9
MD5 23e2c4896943edcbe8799d629993f870
BLAKE2b-256 41e7debea1c47b69a87d9529f12e8a2c52e6d7e3e3bc4b513bee1abded6212ff

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