Logo

Getting started

  • Installation
  • Quickstart
  • Curry in ten minutes
  • Examples
  • Curry Primer

User guide

  • The Python API
    • Using the API
    • The curry Package
  • Compilation Options
  • Search order and memory
  • The REPL
  • The Command-Line Interface

Reference

  • API Reference
  • Performance
  • Nightly history
  • The harness
  • The records
  • Status
  • Compatibility with PAKCS and KiCS2
  • Software Compatibility
  • Index

Project

  • Release Notes
  • Support
  • Contributing
  • Developer Setup
  • Developer Notes
  • The Curry Compilation Pipeline
  • Development Variables
  • Project Layout
  • Python package structure
  • License
  • Acknowledgements
Sprite User Guide
  • The Python API
  • View page source

The Python API

Using the API follows the Python-Curry boundary from a first call to streams. The curry Package lists the public names and interpreter flags.

  • Using the API
    • Import and evaluate one call
    • Consume results
    • Values and types
      • User data on either side
    • Logic: choices and variables
      • Variables and answers
    • Encapsulated search
    • Errors
      • Defaulting an ambiguous goal
    • Metadata and session control
    • I/O and streams
    • Curry packages
  • The curry Package
    • Interpreter flags
Previous Next

© Copyright 2026, Andrew Jost.

Built with Sphinx using a theme provided by Read the Docs.