Skip to main content

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) -> CompiledGraph
  • crush(api_key, prompt, base_url=None, fallback_to_input=False) -> dict

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

tokencrush_langraph-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokencrush_langraph-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for tokencrush_langraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 391208b2e4d93a4c2b2e50ad21eea74a6e9358389943e85142b216e380428f8b
MD5 239b3b861d32b90cbef4bd1de0e9ae49
BLAKE2b-256 c2f0c72cd34b7548c3b75f782d932fd7bd8b137c8d07560f14c2afa0f7d9d235

See more details on using hashes here.

File details

Details for the file tokencrush_langraph-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tokencrush_langraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f457d413cc644757adf594981fe0d245649cabbcb1a1372bbab595b4010268b
MD5 f39d823fb49d678d050f4df23e92504b
BLAKE2b-256 8724754f2201ae3bdc4f8f6c4f24f6c2fcd0c0e3c213f4c0cb846a786c710320

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