traceloop-sdk


Nametraceloop-sdk JSON
Version 0.44.1 PyPI version JSON
download
home_pageNone
SummaryTraceloop Software Development Kit (SDK) for Python
upload_time2025-08-04 08:41:26
maintainerNone
docs_urlNone
authorGal Kleinman
requires_python<4,>=3.10
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # traceloop-sdk

Traceloop’s Python SDK allows you to easily start monitoring and debugging your LLM execution. Tracing is done in a non-intrusive way, built on top of OpenTelemetry. You can choose to export the traces to Traceloop, or to your existing observability stack.

```python
Traceloop.init(app_name="joke_generation_service")

@workflow(name="joke_creation")
def create_joke():
    completion = openai.ChatCompletion.create(
        model="gpt-3.5-turbo",
        messages=[{"role": "user", "content": "Tell me a joke about opentelemetry"}],
    )

    return completion.choices[0].message.content
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "traceloop-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Gal Kleinman",
    "author_email": "gal@traceloop.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/37/9d1512dfaa6db5704f9ed3fd1d0682cedf95c96560ddc0c2c7e30582a961/traceloop_sdk-0.44.1.tar.gz",
    "platform": null,
    "description": "# traceloop-sdk\n\nTraceloop\u2019s Python SDK allows you to easily start monitoring and debugging your LLM execution. Tracing is done in a non-intrusive way, built on top of OpenTelemetry. You can choose to export the traces to Traceloop, or to your existing observability stack.\n\n```python\nTraceloop.init(app_name=\"joke_generation_service\")\n\n@workflow(name=\"joke_creation\")\ndef create_joke():\n    completion = openai.ChatCompletion.create(\n        model=\"gpt-3.5-turbo\",\n        messages=[{\"role\": \"user\", \"content\": \"Tell me a joke about opentelemetry\"}],\n    )\n\n    return completion.choices[0].message.content\n```\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Traceloop Software Development Kit (SDK) for Python",
    "version": "0.44.1",
    "project_urls": {
        "Documentation": "https://traceloop.com/docs/openllmetry",
        "Repository": "https://github.com/traceloop/openllmetry"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "932a8f0c6e188a16844728070a249e0e370866af0b1f58a4e46faaa6382ebf47",
                "md5": "aec8045722f1a3cd25b1d77f31c8b65a",
                "sha256": "20f57e3e828615f41cc1f1ccc031eaead071c3950176c88b6903e47a79a919e7"
            },
            "downloads": -1,
            "filename": "traceloop_sdk-0.44.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aec8045722f1a3cd25b1d77f31c8b65a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.10",
            "size": 33173,
            "upload_time": "2025-08-04T08:41:24",
            "upload_time_iso_8601": "2025-08-04T08:41:24.778951Z",
            "url": "https://files.pythonhosted.org/packages/93/2a/8f0c6e188a16844728070a249e0e370866af0b1f58a4e46faaa6382ebf47/traceloop_sdk-0.44.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b2379d1512dfaa6db5704f9ed3fd1d0682cedf95c96560ddc0c2c7e30582a961",
                "md5": "586b48bd3ac1e7a2da795d02524b9cb1",
                "sha256": "e087e6c81023082d95f5083a2a6d7cba5c506585c44f379cdb8a0b634137b41a"
            },
            "downloads": -1,
            "filename": "traceloop_sdk-0.44.1.tar.gz",
            "has_sig": false,
            "md5_digest": "586b48bd3ac1e7a2da795d02524b9cb1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.10",
            "size": 23864,
            "upload_time": "2025-08-04T08:41:26",
            "upload_time_iso_8601": "2025-08-04T08:41:26.090695Z",
            "url": "https://files.pythonhosted.org/packages/b2/37/9d1512dfaa6db5704f9ed3fd1d0682cedf95c96560ddc0c2c7e30582a961/traceloop_sdk-0.44.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-04 08:41:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "traceloop",
    "github_project": "openllmetry",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "traceloop-sdk"
}
        
Elapsed time: 1.29259s