langfuse


Namelangfuse JSON
Version 2.59.1 PyPI version JSON
download
home_pageNone
SummaryA client library for accessing langfuse
upload_time2025-02-05 16:00:27
maintainerNone
docs_urlNone
authorlangfuse
requires_python<4.0,>=3.9
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.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "langfuse",
    "author_email": "developers@langfuse.com",
    "download_url": "https://files.pythonhosted.org/packages/a2/c7/7a971d00131a941a182a4295b36d9df1b03029b60a9aeb80425c1f9f68ca/langfuse-2.59.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.59.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5bae3b59b4a6dc6bf308a786cc910978cf6ae5c1e5e488cbeb637bc03a91d6bf",
                "md5": "b5232855a5c91032707358bdf64c8f2d",
                "sha256": "5cfa7b7fc243727bbab1f63e98fbf669387d29e9e38432a678164ddea9413afe"
            },
            "downloads": -1,
            "filename": "langfuse-2.59.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b5232855a5c91032707358bdf64c8f2d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 258052,
            "upload_time": "2025-02-05T16:00:24",
            "upload_time_iso_8601": "2025-02-05T16:00:24.685212Z",
            "url": "https://files.pythonhosted.org/packages/5b/ae/3b59b4a6dc6bf308a786cc910978cf6ae5c1e5e488cbeb637bc03a91d6bf/langfuse-2.59.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2c77a971d00131a941a182a4295b36d9df1b03029b60a9aeb80425c1f9f68ca",
                "md5": "ab6d876632e368c6a598113c74e94768",
                "sha256": "231470e37075ab44a89369085d8e639121b85650610c974b1ebb847f5b15ab6f"
            },
            "downloads": -1,
            "filename": "langfuse-2.59.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ab6d876632e368c6a598113c74e94768",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 144503,
            "upload_time": "2025-02-05T16:00:27",
            "upload_time_iso_8601": "2025-02-05T16:00:27.601319Z",
            "url": "https://files.pythonhosted.org/packages/a2/c7/7a971d00131a941a182a4295b36d9df1b03029b60a9aeb80425c1f9f68ca/langfuse-2.59.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-05 16:00:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "langfuse"
}
        
Elapsed time: 0.57229s