Name | langfuse JSON |
Version |
2.32.0
JSON |
| download |
home_page | None |
Summary | A client library for accessing langfuse |
upload_time | 2024-05-17 09:15:02 |
maintainer | None |
docs_url | None |
author | langfuse |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![GitHub Banner](https://github.com/langfuse/langfuse-python/assets/2834609/3c36488e-6fe6-4a82-b0f5-5419250ddf86)
# Langfuse Python SDK
[![MIT License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://opensource.org/licenses/MIT)
[![CI test status](https://img.shields.io/github/actions/workflow/status/langfuse/langfuse-python/ci.yml?style=flat-square&label=All%20tests)](https://github.com/langfuse/langfuse-python/actions/workflows/ci.yml?query=branch%3Amain)
[![PyPI Version](https://img.shields.io/pypi/v/langfuse.svg?style=flat-square&label=pypi+langfuse)](https://pypi.python.org/pypi/langfuse)
[![GitHub Repo stars](https://img.shields.io/github/stars/langfuse/langfuse?style=flat-square&logo=GitHub&label=langfuse%2Flangfuse)](https://github.com/langfuse/langfuse)
[![Discord](https://img.shields.io/discord/1111061815649124414?style=flat-square&logo=Discord&logoColor=white&label=Discord&color=%23434EE4)](https://discord.gg/7NXusRtqYU)
[![YC W23](https://img.shields.io/badge/Y%20Combinator-W23-orange?style=flat-square)](https://www.ycombinator.com/companies/langfuse)
## Installation
> [!IMPORTANT]
> The SDK was rewritten in v2 and released on December 17, 2023. Refer to the [v2 migration guide](https://langfuse.com/docs/sdk/python#upgrading-from-v1xx-to-v2xx) for instructions on updating your code.
```
pip install langfuse
```
## Docs
- Decorators: https://langfuse.com/docs/sdk/python/decorators
- Low-level SDK: https://langfuse.com/docs/sdk/python/low-level-sdk
- Langchain integration: https://langfuse.com/docs/integrations/langchain/tracing
## Interfaces
Interfaces:
- `@observe()` decorator ([docs](https://langfuse.com/docs/sdk/python/decorators))
- Low-level tracing SDK ([docs](https://langfuse.com/docs/sdk/python/low-level-sdk))
- Wrapper of Langfuse public API
Integrations
- OpenAI SDK ([docs](https://langfuse.com/docs/integrations/openai))
- LlamaIndex ([docs](https://langfuse.com/docs/integrations/llama-index))
- LangChain ([docs](https://langfuse.com/docs/integrations/langchain))
Raw data
{
"_id": null,
"home_page": null,
"name": "langfuse",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "langfuse",
"author_email": "developers@langfuse.com",
"download_url": "https://files.pythonhosted.org/packages/bc/35/5c65c1252ec7a4e8858d53d4aefebf976d1208cac4851ebaf3e187fa863f/langfuse-2.32.0.tar.gz",
"platform": null,
"description": "![GitHub Banner](https://github.com/langfuse/langfuse-python/assets/2834609/3c36488e-6fe6-4a82-b0f5-5419250ddf86)\n\n# Langfuse Python SDK\n\n[![MIT License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![CI test status](https://img.shields.io/github/actions/workflow/status/langfuse/langfuse-python/ci.yml?style=flat-square&label=All%20tests)](https://github.com/langfuse/langfuse-python/actions/workflows/ci.yml?query=branch%3Amain)\n[![PyPI Version](https://img.shields.io/pypi/v/langfuse.svg?style=flat-square&label=pypi+langfuse)](https://pypi.python.org/pypi/langfuse)\n[![GitHub Repo stars](https://img.shields.io/github/stars/langfuse/langfuse?style=flat-square&logo=GitHub&label=langfuse%2Flangfuse)](https://github.com/langfuse/langfuse)\n[![Discord](https://img.shields.io/discord/1111061815649124414?style=flat-square&logo=Discord&logoColor=white&label=Discord&color=%23434EE4)](https://discord.gg/7NXusRtqYU)\n[![YC W23](https://img.shields.io/badge/Y%20Combinator-W23-orange?style=flat-square)](https://www.ycombinator.com/companies/langfuse)\n\n## Installation\n\n> [!IMPORTANT]\n> The SDK was rewritten in v2 and released on December 17, 2023. Refer to the [v2 migration guide](https://langfuse.com/docs/sdk/python#upgrading-from-v1xx-to-v2xx) for instructions on updating your code.\n\n```\npip install langfuse\n```\n\n## Docs\n\n- Decorators: https://langfuse.com/docs/sdk/python/decorators\n- Low-level SDK: https://langfuse.com/docs/sdk/python/low-level-sdk\n- Langchain integration: https://langfuse.com/docs/integrations/langchain/tracing\n\n## Interfaces\n\nInterfaces:\n\n- `@observe()` decorator ([docs](https://langfuse.com/docs/sdk/python/decorators))\n- Low-level tracing SDK ([docs](https://langfuse.com/docs/sdk/python/low-level-sdk))\n- Wrapper of Langfuse public API\n\nIntegrations\n\n- OpenAI SDK ([docs](https://langfuse.com/docs/integrations/openai))\n- LlamaIndex ([docs](https://langfuse.com/docs/integrations/llama-index))\n- LangChain ([docs](https://langfuse.com/docs/integrations/langchain))\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A client library for accessing langfuse",
"version": "2.32.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5d5cdf1a8e92a9fd428ffb099b850b834ce7cd2ca2c7c2a9bcb2bd1ac2b08441",
"md5": "6a949ed294cf19bba2bd1ac6cc682538",
"sha256": "ecdd06fae46637d635249dfaf8f0564ac8e8769519712b11e777d2905309e5d7"
},
"downloads": -1,
"filename": "langfuse-2.32.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a949ed294cf19bba2bd1ac6cc682538",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 161919,
"upload_time": "2024-05-17T09:14:21",
"upload_time_iso_8601": "2024-05-17T09:14:21.371025Z",
"url": "https://files.pythonhosted.org/packages/5d/5c/df1a8e92a9fd428ffb099b850b834ce7cd2ca2c7c2a9bcb2bd1ac2b08441/langfuse-2.32.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc355c65c1252ec7a4e8858d53d4aefebf976d1208cac4851ebaf3e187fa863f",
"md5": "b62768e47a431ffada21725f0223b4bb",
"sha256": "07dcbb8fa9f754928d6af377dbea530d591680e3f50340d687018d8bcb83ba34"
},
"downloads": -1,
"filename": "langfuse-2.32.0.tar.gz",
"has_sig": false,
"md5_digest": "b62768e47a431ffada21725f0223b4bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 86923,
"upload_time": "2024-05-17T09:15:02",
"upload_time_iso_8601": "2024-05-17T09:15:02.483490Z",
"url": "https://files.pythonhosted.org/packages/bc/35/5c65c1252ec7a4e8858d53d4aefebf976d1208cac4851ebaf3e187fa863f/langfuse-2.32.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-17 09:15:02",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "langfuse"
}