langchain-timbr


Namelangchain-timbr JSON
Version 1.5.1 PyPI version JSON
download
home_pageNone
SummaryLangChain & LangGraph extensions that parse LLM prompts into Timbr semantic SQL and execute them.
upload_time2025-08-25 06:22:31
maintainerNone
docs_urlNone
authorNone
requires_python<3.13,>=3.9
licenseMIT
keywords agents knowledge graph llm langchain langgraph sql semantic layer timbr
VCS
bugtrack_url
requirements anthropic cryptography google-generativeai langchain langchain-anthropic langchain_community langchain-core langchain-google-genai langchain-openai langchain-tests langgraph openai pyarrow pydantic pytest pytimbr-api snowflake snowflake-snowpark-python tiktoken transformers uvicorn
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Timbr logo description](https://timbr.ai/wp-content/uploads/2025/01/logotimbrai230125.png)

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr?ref=badge_shield&issueType=security)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr?ref=badge_shield&issueType=license)

[![Python 3.9](https://img.shields.io/badge/python-3.9-blue)](https://www.python.org/downloads/release/python-3921/)
[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-31017/)
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-31112/)
[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3129/)

# Timbr Langchain LLM SDK

Timbr langchain LLM SDK is a Python SDK that extends LangChain and LangGraph with custom agents, chains, and nodes for seamless integration with the Timbr semantic layer. It enables converting natural language prompts into optimized semantic-SQL queries and executing them directly against your data.

## Dependencies
- Access to a timbr-server
- Python from 3.9.13 or newer

## Installation

### Using pip
```bash
python -m pip install langchain-timbr
```

### Using pip from github
```bash
pip install git+https://github.com/WPSemantix/langchain-timbr
```

## Documentation

For comprehensive documentation and usage examples, please visit:

- [Timbr LangChain Documentation](https://docs.timbr.ai/doc/docs/integration/langchain-sdk)
- [Timbr LangGraph Documentation](https://docs.timbr.ai/doc/docs/integration/langgraph-sdk)

## Configuration

The SDK requires several environment variables to be configured. See [`src/langchain_timbr/config.py`](src/langchain_timbr/config.py) for all available configuration options.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "langchain-timbr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": "Agents, Knowledge Graph, LLM, LangChain, LangGraph, SQL, Semantic Layer, Timbr",
    "author": null,
    "author_email": "Bar Cohen <barco@timbr.ai>",
    "download_url": "https://files.pythonhosted.org/packages/7c/9e/43a424bbea0cf00370288693ba5d9a7d27b4648872c33b59c4ef4e975e0f/langchain_timbr-1.5.1.tar.gz",
    "platform": null,
    "description": "![Timbr logo description](https://timbr.ai/wp-content/uploads/2025/01/logotimbrai230125.png)\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr?ref=badge_shield&issueType=security)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FWPSemantix%2Flangchain-timbr?ref=badge_shield&issueType=license)\n\n[![Python 3.9](https://img.shields.io/badge/python-3.9-blue)](https://www.python.org/downloads/release/python-3921/)\n[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-31017/)\n[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-31112/)\n[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3129/)\n\n# Timbr Langchain LLM SDK\n\nTimbr langchain LLM SDK is a Python SDK that extends LangChain and LangGraph with custom agents, chains, and nodes for seamless integration with the Timbr semantic layer. It enables converting natural language prompts into optimized semantic-SQL queries and executing them directly against your data.\n\n## Dependencies\n- Access to a timbr-server\n- Python from 3.9.13 or newer\n\n## Installation\n\n### Using pip\n```bash\npython -m pip install langchain-timbr\n```\n\n### Using pip from github\n```bash\npip install git+https://github.com/WPSemantix/langchain-timbr\n```\n\n## Documentation\n\nFor comprehensive documentation and usage examples, please visit:\n\n- [Timbr LangChain Documentation](https://docs.timbr.ai/doc/docs/integration/langchain-sdk)\n- [Timbr LangGraph Documentation](https://docs.timbr.ai/doc/docs/integration/langgraph-sdk)\n\n## Configuration\n\nThe SDK requires several environment variables to be configured. See [`src/langchain_timbr/config.py`](src/langchain_timbr/config.py) for all available configuration options.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "LangChain & LangGraph extensions that parse LLM prompts into Timbr semantic SQL and execute them.",
    "version": "1.5.1",
    "project_urls": {
        "Documentation": "https://docs.timbr.ai/doc/docs/integration/langchain-sdk/",
        "Homepage": "https://github.com/WPSemantix/langchain-timbr",
        "Issues": "https://github.com/WPSemantix/langchain-timbr/issues",
        "Source": "https://github.com/WPSemantix/langchain-timbr"
    },
    "split_keywords": [
        "agents",
        " knowledge graph",
        " llm",
        " langchain",
        " langgraph",
        " sql",
        " semantic layer",
        " timbr"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d1d424d630d501d7c4a034fb5694047bfb27b2654812661cba512bd9e2659a27",
                "md5": "b4991b7ef3f9027e57def6f7a3db3c38",
                "sha256": "9da6d783ca487c7d0ac7438fced071e187246868094949274675fb685cd69568"
            },
            "downloads": -1,
            "filename": "langchain_timbr-1.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b4991b7ef3f9027e57def6f7a3db3c38",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 49618,
            "upload_time": "2025-08-25T06:22:29",
            "upload_time_iso_8601": "2025-08-25T06:22:29.690566Z",
            "url": "https://files.pythonhosted.org/packages/d1/d4/24d630d501d7c4a034fb5694047bfb27b2654812661cba512bd9e2659a27/langchain_timbr-1.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7c9e43a424bbea0cf00370288693ba5d9a7d27b4648872c33b59c4ef4e975e0f",
                "md5": "7b6b714372cebf3bb80fe80c3ed93f1a",
                "sha256": "f636a613893876da0042bc6caddd8f2ee8237d9fc7208734279a7e89bcc9f049"
            },
            "downloads": -1,
            "filename": "langchain_timbr-1.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7b6b714372cebf3bb80fe80c3ed93f1a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 44810,
            "upload_time": "2025-08-25T06:22:31",
            "upload_time_iso_8601": "2025-08-25T06:22:31.066723Z",
            "url": "https://files.pythonhosted.org/packages/7c/9e/43a424bbea0cf00370288693ba5d9a7d27b4648872c33b59c4ef4e975e0f/langchain_timbr-1.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-25 06:22:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "WPSemantix",
    "github_project": "langchain-timbr",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "anthropic",
            "specs": [
                [
                    "==",
                    "0.42.0"
                ]
            ]
        },
        {
            "name": "cryptography",
            "specs": [
                [
                    ">=",
                    "44.0.3"
                ]
            ]
        },
        {
            "name": "google-generativeai",
            "specs": [
                [
                    "==",
                    "0.8.4"
                ]
            ]
        },
        {
            "name": "langchain",
            "specs": [
                [
                    ">=",
                    "0.3.25"
                ]
            ]
        },
        {
            "name": "langchain-anthropic",
            "specs": [
                [
                    ">=",
                    "0.3.1"
                ]
            ]
        },
        {
            "name": "langchain_community",
            "specs": [
                [
                    ">=",
                    "0.3.20"
                ]
            ]
        },
        {
            "name": "langchain-core",
            "specs": [
                [
                    ">=",
                    "0.3.58"
                ]
            ]
        },
        {
            "name": "langchain-google-genai",
            "specs": [
                [
                    ">=",
                    "2.0.9"
                ]
            ]
        },
        {
            "name": "langchain-openai",
            "specs": [
                [
                    ">=",
                    "0.3.16"
                ]
            ]
        },
        {
            "name": "langchain-tests",
            "specs": [
                [
                    ">=",
                    "0.3.20"
                ]
            ]
        },
        {
            "name": "langgraph",
            "specs": [
                [
                    ">=",
                    "0.3.20"
                ]
            ]
        },
        {
            "name": "openai",
            "specs": [
                [
                    "==",
                    "1.77.0"
                ]
            ]
        },
        {
            "name": "pyarrow",
            "specs": [
                [
                    "<",
                    "19.0.0"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    "==",
                    "2.10.4"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "8.3.4"
                ]
            ]
        },
        {
            "name": "pytimbr-api",
            "specs": [
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "snowflake",
            "specs": [
                [
                    ">=",
                    "0.8.0"
                ]
            ]
        },
        {
            "name": "snowflake-snowpark-python",
            "specs": [
                [
                    ">=",
                    "1.6.0"
                ]
            ]
        },
        {
            "name": "tiktoken",
            "specs": [
                [
                    "==",
                    "0.8.0"
                ]
            ]
        },
        {
            "name": "transformers",
            "specs": [
                [
                    ">=",
                    "4.51.3"
                ]
            ]
        },
        {
            "name": "uvicorn",
            "specs": [
                [
                    "==",
                    "0.34.0"
                ]
            ]
        }
    ],
    "lcname": "langchain-timbr"
}
        
Elapsed time: 0.95559s