Skip to main content

Welcome to Gears

Gears is a lightweight tool for writing control flow with LLMs with full control over your prompts. It allows you to build complex chains of actions and conditions, and execute them in a single call.

Why Gears?

Gears is so minimal; it is simply a wrapper around an LLM API call that:

But the real selling point is that we are committed to not growing the codebase beyond what is necessary to support the above features. (We are not venture-backed and do not intend to be.)

Installation

Gears is available on PyPI, and can be installed with pip:

pip install gearsllm

Dependencies

Gears has the following dependencies:

  • python>=3.9
  • pydantic
  • jinja2
  • tenacity
  • openai

ToDos

  • Add pre-commit hooks with black & isort

Metadata

Release files for gearsllm 0.1.28

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

Source distribution (sdist)

Source distribution for gearsllm 0.1.28
File Size Uploaded
gearsllm-0.1.28.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gearsllm 0.1.28
File Interpreter ABI Platform
gearsllm-0.1.28-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / gearsllm-0.1.28.tar.gz

Download URL gearsllm-0.1.28.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0e9621e729a20d9b7a861c7e9c8d08d6a100caaf3f7bfc9f96c1cb6e47281c1e
BLAKE2b-256 checksum
How to use checksums
191208ef29888413bc2b66bb1c323da23d7caf25e674046b1b4226b46cf7d34c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.16 Darwin/23.2.0

Release files / gearsllm-0.1.28-py3-none-any.whl

Download URL gearsllm-0.1.28-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2916464ea0c3496433ec7e42e83c06a32bd58a475f2e012b559bc0b189e2ce7
BLAKE2b-256 checksum
How to use checksums
f37619c6f2074568ef3a5af60cf224dbcbd4ede6d6cf8f76d8e5e8fa6a5ddf34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.16 Darwin/23.2.0

Release history Release notifications | RSS feed

This release

0.1.28 This release

2 release files

0.1.27

2 release files

0.1.26

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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