otlp-psqlpy


Nameotlp-psqlpy JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/psqlpy-python
SummaryNone
upload_time2025-08-14 18:30:39
maintainerNone
docs_urlNone
authorchandr-andr (Kiselev Aleksandr)
requires_python<4.0,>=3.9
licenseLICENSE
keywords psqlpy postgres async
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OTLP-PSQLPy

This library allows tracing PostgreSQL queries made by the psqlpy library.

## Usage

```python
import psqlpy
from otlp_psqlpy import PSQLPyPGInstrumentor

# You can optionally pass a custom TracerProvider to PSQLPyPGInstrumentor.instrument()
PSQLPyPGInstrumentor().instrument()

async def main():
    pool = psqlpy.ConnectionPool()
    conn = await pool.connection()

    await conn.execute("SELECT * FROM psqlpy")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/psqlpy-python",
    "name": "otlp-psqlpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "psqlpy, postgres, async",
    "author": "chandr-andr (Kiselev Aleksandr)",
    "author_email": "chandr@chandr.net",
    "download_url": "https://files.pythonhosted.org/packages/fc/90/93a1f439cf3e1853b77e36b9c76c31d08213cd37d34e8ef919e1586dfae6/otlp_psqlpy-0.2.0.tar.gz",
    "platform": null,
    "description": "# OTLP-PSQLPy\n\nThis library allows tracing PostgreSQL queries made by the psqlpy library.\n\n## Usage\n\n```python\nimport psqlpy\nfrom otlp_psqlpy import PSQLPyPGInstrumentor\n\n# You can optionally pass a custom TracerProvider to PSQLPyPGInstrumentor.instrument()\nPSQLPyPGInstrumentor().instrument()\n\nasync def main():\n    pool = psqlpy.ConnectionPool()\n    conn = await pool.connection()\n\n    await conn.execute(\"SELECT * FROM psqlpy\")\n```\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": null,
    "version": "0.2.0",
    "project_urls": {
        "Documentation": "https://psqlpy-python.github.io/",
        "Homepage": "https://github.com/psqlpy-python",
        "Repository": "https://github.com/psqlpy-python/otlp-psqlpy"
    },
    "split_keywords": [
        "psqlpy",
        " postgres",
        " async"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3209b3b7315c6f13106fef918937eac858fb4be7c055cc3caa860553a221ea7e",
                "md5": "914ccaf7978404b66c6eca03ac49de66",
                "sha256": "db1151b07a77f121be0b64b1d2e7ae41c5ee4ed5a7dcfb37cac9f7765a0af4d9"
            },
            "downloads": -1,
            "filename": "otlp_psqlpy-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "914ccaf7978404b66c6eca03ac49de66",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 5711,
            "upload_time": "2025-08-14T18:30:37",
            "upload_time_iso_8601": "2025-08-14T18:30:37.784789Z",
            "url": "https://files.pythonhosted.org/packages/32/09/b3b7315c6f13106fef918937eac858fb4be7c055cc3caa860553a221ea7e/otlp_psqlpy-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc9093a1f439cf3e1853b77e36b9c76c31d08213cd37d34e8ef919e1586dfae6",
                "md5": "8a52cc4153258df80e0a7a237fae2409",
                "sha256": "2573b427823e83f43c4149bccbbdc62c951d00d138014ed88e33d21c54b764ff"
            },
            "downloads": -1,
            "filename": "otlp_psqlpy-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8a52cc4153258df80e0a7a237fae2409",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 5288,
            "upload_time": "2025-08-14T18:30:39",
            "upload_time_iso_8601": "2025-08-14T18:30:39.658526Z",
            "url": "https://files.pythonhosted.org/packages/fc/90/93a1f439cf3e1853b77e36b9c76c31d08213cd37d34e8ef919e1586dfae6/otlp_psqlpy-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-14 18:30:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "psqlpy-python",
    "github_project": "otlp-psqlpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "otlp-psqlpy"
}
        
Elapsed time: 4.29312s