[](https://www.metisdata.io/)
# [Metis FastAPI SQLAlchemy collector](https://docs.metisdata.io/metis/sdk-integration/python-sqlalchemy)
## Demo Project
### [FastAPI (Sync). SQLAlchemy(sync) and PostgreSQL](https://github.com/metis-data/python-fastapi-postgresql-sqlalchemy)
### [FastAPI (Sync). SQLAlchemy(asyncpg) and PostgreSQL](https://github.com/metis-data/python-fastapi-postgresql-sqlalchemy-asyncpg)
## About
This library logs the HTTP requests created by FastAPI and SQLAlchemy with the SQL commands they generate. The library
can also collect the execution plan for deeper analysis using [Metis](https://metisdata.io).
Read more in our: [Documentation](https://docs.metisdata.io)
## Technical
This library uses [OpenTelemetry](https://pypi.org/project/opentelemetry-sdk/) to instrument both FastAPI and
SQLAlchemy.
Tested on python 3.8.9, FastAPI 0.78.0, SQLAlchemy 1.4.33, PostgreSQL 12 or higher.
Raw data
{
"_id": null,
"home_page": "https://github.com/metis-data/metis-python-collectors",
"name": "fastapialchemycollector",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Metis dev",
"author_email": "devops@metisdata.io",
"download_url": "https://files.pythonhosted.org/packages/17/31/79c5548bb1ea5ff28bbca350930da458145007d9c644178bd88e8505085a/fastapialchemycollector-1.0.2.tar.gz",
"platform": null,
"description": "[](https://www.metisdata.io/)\n\n# [Metis FastAPI SQLAlchemy collector](https://docs.metisdata.io/metis/sdk-integration/python-sqlalchemy) \n\n## Demo Project\n\n### [FastAPI (Sync). SQLAlchemy(sync) and PostgreSQL](https://github.com/metis-data/python-fastapi-postgresql-sqlalchemy)\n\n### [FastAPI (Sync). SQLAlchemy(asyncpg) and PostgreSQL](https://github.com/metis-data/python-fastapi-postgresql-sqlalchemy-asyncpg)\n\n## About\n\nThis library logs the HTTP requests created by FastAPI and SQLAlchemy with the SQL commands they generate. The library\ncan also collect the execution plan for deeper analysis using [Metis](https://metisdata.io).\nRead more in our: [Documentation](https://docs.metisdata.io)\n\n## Technical\n\nThis library uses [OpenTelemetry](https://pypi.org/project/opentelemetry-sdk/) to instrument both FastAPI and\nSQLAlchemy.\n\nTested on python 3.8.9, FastAPI 0.78.0, SQLAlchemy 1.4.33, PostgreSQL 12 or higher.\n\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Metis log collector for FastAPI and SQLAlchemy",
"version": "1.0.2",
"project_urls": {
"Bug Tracker": "https://github.com/metis-data/metis-python-collectors/issues",
"Homepage": "https://github.com/metis-data/metis-python-collectors"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "173179c5548bb1ea5ff28bbca350930da458145007d9c644178bd88e8505085a",
"md5": "8022e361bce7e5fdcd4c56becbdc3d13",
"sha256": "a9807fdab29fb5a1e3b9ccf8fa69c86a3004ca79c18d20979a68067b0340156a"
},
"downloads": -1,
"filename": "fastapialchemycollector-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "8022e361bce7e5fdcd4c56becbdc3d13",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15028,
"upload_time": "2023-11-15T12:16:09",
"upload_time_iso_8601": "2023-11-15T12:16:09.879373Z",
"url": "https://files.pythonhosted.org/packages/17/31/79c5548bb1ea5ff28bbca350930da458145007d9c644178bd88e8505085a/fastapialchemycollector-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-15 12:16:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "metis-data",
"github_project": "metis-python-collectors",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "sqlalchemy",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "opentelemetry-instrumentation",
"specs": [
[
">=",
"0.30b1"
]
]
},
{
"name": "opentelemetry-instrumentation-sqlalchemy",
"specs": [
[
">=",
"0.30b1"
]
]
},
{
"name": "opentelemetry-sdk",
"specs": [
[
">=",
"1.11.1"
]
]
},
{
"name": "opentelemetry-api",
"specs": [
[
">=",
"1.11.1"
]
]
},
{
"name": "opentelemetry-semantic-conventions",
"specs": [
[
">=",
"0.30b1"
]
]
},
{
"name": "opentelemetry-util-http",
"specs": [
[
">=",
"0.30b1"
]
]
},
{
"name": "sentry_sdk",
"specs": [
[
"~=",
"1.9"
]
]
}
],
"lcname": "fastapialchemycollector"
}