LangGraph module wrapping TokenCrush /v1/crush
Project description
tokencrush-langraph
LangGraph module that wraps the TokenCrush /v1/crush API.
Install (dev)
python -m venv .venv && source .venv/bin/activate
pip install -U pip build
pip install -e .
Usage
export TOKENCRUSH_API_KEY="your-tokencrush-api-key"
python examples/simple_crush.py
API
build_tokencrush_graph(api_key, base_url=None, fallback_to_input=False) -> CompiledGraphcrush(api_key, prompt, base_url=None, fallback_to_input=False) -> dict
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tokencrush_langraph-0.1.0.tar.gz.
File metadata
- Download URL: tokencrush_langraph-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
391208b2e4d93a4c2b2e50ad21eea74a6e9358389943e85142b216e380428f8b
|
|
| MD5 |
239b3b861d32b90cbef4bd1de0e9ae49
|
|
| BLAKE2b-256 |
c2f0c72cd34b7548c3b75f782d932fd7bd8b137c8d07560f14c2afa0f7d9d235
|
File details
Details for the file tokencrush_langraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tokencrush_langraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f457d413cc644757adf594981fe0d245649cabbcb1a1372bbab595b4010268b
|
|
| MD5 |
f39d823fb49d678d050f4df23e92504b
|
|
| BLAKE2b-256 |
8724754f2201ae3bdc4f8f6c4f24f6c2fcd0c0e3c213f4c0cb846a786c710320
|