[](https://www.metisdata.io/)
# [Metis FastAPI SQLAlchemy collector](https://docs.metisdata.io/metis/sdk-integration/python-sqlalchemy)
## Demo Project
### [Flask. SQLAlchemy(psycopg) and PostgreSQL](https://github.com/metis-data/python-flask-postgresql-sqlalchemy)
### 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": "sqlalchemycollector",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Metis dev",
"author_email": "devops@metisdata.io",
"download_url": "https://files.pythonhosted.org/packages/6f/6f/c54e14d3f537f774aecdb95d973c09014921b0be9798e16e9c88ad9ebe89/sqlalchemycollector-1.4.5.tar.gz",
"platform": null,
"description": "\n[](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### [Flask. SQLAlchemy(psycopg) and PostgreSQL](https://github.com/metis-data/python-flask-postgresql-sqlalchemy)\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 Flask and SQLAlchemy",
"version": "1.4.5",
"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": "6f6fc54e14d3f537f774aecdb95d973c09014921b0be9798e16e9c88ad9ebe89",
"md5": "223303718eda8b20ef5c4905f1948221",
"sha256": "d754fc439ed4f2529ee9290d6d2b617697d82b408977abf51de009c897441242"
},
"downloads": -1,
"filename": "sqlalchemycollector-1.4.5.tar.gz",
"has_sig": false,
"md5_digest": "223303718eda8b20ef5c4905f1948221",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15138,
"upload_time": "2023-11-15T13:35:48",
"upload_time_iso_8601": "2023-11-15T13:35:48.660416Z",
"url": "https://files.pythonhosted.org/packages/6f/6f/c54e14d3f537f774aecdb95d973c09014921b0be9798e16e9c88ad9ebe89/sqlalchemycollector-1.4.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-15 13:35:48",
"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": "sqlalchemycollector"
}