langfuse


Namelangfuse JSON
Version 2.54.1 PyPI version JSON
download
home_pageNone
SummaryA client library for accessing langfuse
upload_time2024-11-20 14:12:36
maintainerNone
docs_urlNone
authorlangfuse
requires_python<4.0,>=3.8.1
licenseMIT
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/low-level-sdk#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/9d/3e/e48d76f0e19df3640710427f48dde06e3271c0c012d774b8b4ee4f27561c/langfuse-2.54.1.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/low-level-sdk#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.54.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c08c530f6a4650cede4c8fd8b67a743218388820be3170f6b7b1999657739869",
                "md5": "dfacc92385db5050296d6c309d132b2c",
                "sha256": "1f1261cf763886758c70e192133340ff296169cc0930cde725eee52d467eb661"
            },
            "downloads": -1,
            "filename": "langfuse-2.54.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dfacc92385db5050296d6c309d132b2c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 247880,
            "upload_time": "2024-11-20T14:12:33",
            "upload_time_iso_8601": "2024-11-20T14:12:33.880405Z",
            "url": "https://files.pythonhosted.org/packages/c0/8c/530f6a4650cede4c8fd8b67a743218388820be3170f6b7b1999657739869/langfuse-2.54.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9d3ee48d76f0e19df3640710427f48dde06e3271c0c012d774b8b4ee4f27561c",
                "md5": "f7c7273e6dad75f968c18e079865e003",
                "sha256": "7efc70799740ffa0ac7e04066e0596fb6433e8e501fc850c6a4e7967de6de8a7"
            },
            "downloads": -1,
            "filename": "langfuse-2.54.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f7c7273e6dad75f968c18e079865e003",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 136706,
            "upload_time": "2024-11-20T14:12:36",
            "upload_time_iso_8601": "2024-11-20T14:12:36.194963Z",
            "url": "https://files.pythonhosted.org/packages/9d/3e/e48d76f0e19df3640710427f48dde06e3271c0c012d774b8b4ee4f27561c/langfuse-2.54.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-20 14:12:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "langfuse"
}
        
Elapsed time: 0.73700s