1- # Finto Python Library
1+ # Langfuse Python Library
22
3- [ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen )] ( https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Finto %2FPython )
4- [ ![ pypi] ( https://img.shields.io/pypi/v/finto )] ( https://pypi.python.org/pypi/finto )
3+ [ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen )] ( https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Langfuse %2FPython )
4+ [ ![ pypi] ( https://img.shields.io/pypi/v/langfuse )] ( https://pypi.python.org/pypi/langfuse )
55
6- The Finto Python library provides convenient access to the Finto API from Python.
6+ The Langfuse Python library provides convenient access to the Langfuse API from Python.
77
88## Installation
99
1010``` sh
11- pip install finto
11+ pip install langfuse
1212```
1313
1414## Usage
1515
1616Instantiate and use the client with the following:
1717
1818``` python
19- from langfuse.api import CreateCommentRequest
20- from langfuse.api. client import FernLangfuse
19+ from langfuse import CreateCommentRequest
20+ from langfuse.client import FernLangfuse
2121
2222client = FernLangfuse(
2323 x_langfuse_sdk_name = " YOUR_X_LANGFUSE_SDK_NAME" ,
@@ -45,8 +45,8 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
4545``` python
4646import asyncio
4747
48- from langfuse.api import CreateCommentRequest
49- from langfuse.api. client import AsyncFernLangfuse
48+ from langfuse import CreateCommentRequest
49+ from langfuse.client import AsyncFernLangfuse
5050
5151client = AsyncFernLangfuse(
5252 x_langfuse_sdk_name = " YOUR_X_LANGFUSE_SDK_NAME" ,
@@ -116,7 +116,7 @@ The SDK defaults to a 60 second timeout. You can configure this with a timeout o
116116
117117``` python
118118
119- from langfuse.api. client import FernLangfuse
119+ from langfuse.client import FernLangfuse
120120
121121client = FernLangfuse(... , { timeout=20.0 }, )
122122
@@ -131,10 +131,9 @@ client.comments.create(...,{
131131
132132You can override the ` httpx ` client to customize it for your use-case. Some common use-cases include support for proxies
133133and transports.
134-
135134``` python
136135import httpx
137- from langfuse.api. client import FernLangfuse
136+ from langfuse.client import FernLangfuse
138137
139138client = FernLangfuse(
140139 ... ,
0 commit comments