Skip to main content

Slick

Turn Jinja prompts into ordinary Python functions that return typed results. Slick renders the prompt, calls a provider, and validates the response. Your application supplies the data and decides what to do next.

Requires Python 3.10 or newer:

pip install 'slick-ai[openai]'

Documentation

The docs use mdBook. Install mdBook if needed, then run from this checkout:

mdbook serve --open

Preview at http://localhost:3000; edits to docs/src/ rebuild automatically. To generate a static site:

mdbook build

Publish the contents of book/ to your static host. This generated directory is ignored by Git; edit the Markdown in docs/src/ and chapter order in docs/src/SUMMARY.md.

Development

poetry install --with dev
poetry run pytest
poetry run ruff check slick tests examples

Metadata

Release files for slick-ai 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slick-ai 0.4.0
File Size Uploaded
slick_ai-0.4.0.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slick-ai 0.4.0
File Interpreter ABI Platform
slick_ai-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.7 kB

Release files / slick_ai-0.4.0.tar.gz

Download URL slick_ai-0.4.0.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9b5072cfa13a13378f1ccb3ba87c618328a2a8d13cb2645f54d255bdeca6aec1
BLAKE2b-256 checksum
How to use checksums
fdf911c1ca1f78ef08cc1df30c80aa8b3c2cf0d3296cf03d5542a6d7d8fcd93d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / slick_ai-0.4.0-py3-none-any.whl

Download URL slick_ai-0.4.0-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4785c046a69fac8800c8a55b6faa8dfd32fdd18b6cb7c1c748a578e3055d2b64
BLAKE2b-256 checksum
How to use checksums
c44cc72710d092f3b921da8d35e11f2ce2bdf523fcd53cd1fa5aa2780135ca3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page