{"id":21566056,"url":"https://github.com/kulgan/pytest-psqlgraph","last_synced_at":"2025-04-10T13:14:48.820Z","repository":{"id":46629906,"uuid":"219669276","full_name":"kulgan/pytest-psqlgraph","owner":"kulgan","description":"psqlgraph pytest plugin","archived":false,"fork":false,"pushed_at":"2024-06-01T12:42:14.000Z","size":79,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T11:56:55.954Z","etag":null,"topics":["gdcdictionary","psqlgraph","pytest","pytest-plugin","testing"],"latest_commit_sha":null,"homepage":"https://pytest-psqlgraph.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kulgan.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-05T06:01:20.000Z","updated_at":"2022-03-18T20:25:44.000Z","dependencies_parsed_at":"2024-11-24T10:34:17.156Z","dependency_job_id":null,"html_url":"https://github.com/kulgan/pytest-psqlgraph","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"53170fa0ac7a6f7ca37fa5a8637211f6e95456e2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulgan%2Fpytest-psqlgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulgan%2Fpytest-psqlgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulgan%2Fpytest-psqlgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulgan%2Fpytest-psqlgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kulgan","download_url":"https://codeload.github.com/kulgan/pytest-psqlgraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838419,"owners_count":21004575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gdcdictionary","psqlgraph","pytest","pytest-plugin","testing"],"created_at":"2024-11-24T10:23:26.403Z","updated_at":"2025-04-10T13:14:48.482Z","avatar_url":"https://github.com/kulgan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"================\npytest-psqlgraph\n================\n\n|Pypi version| |ci| |Documentation Status| |Python versions|\n\nAn extension for `pytest \u003chttps://pytest.org\u003e`_ provide useful tools for testing applications that use `psqlgraph \u003chttps://github.com/NCI-GDC/psqlgraph\u003e`_\n\n------------\nHow to Start\n------------\n\nInstall dependency ::\n\n    pip install pytest-psqlgraph\n\nDefine a session scoped ``psqlgraph_config`` fixture in ``conftest.py``:\n\n.. code-block:: python\n\n    import pytest\n\n    @pytest.fixture(scope=\"session\")\n    def psqlgraph_config() -\u003e Dict[str, DatabaseDriverConfig]:\n        return {\n            \"pg_driver\": DatabaseDriverConfig(\n                host=\"localhost\",\n                user=\"username\",\n                password=\"pword\",\n                database=\"db_name\",\n                model=active_model,\n                dictionary=active_dictionary\n            )\n        }\n\nAll set to start using the fixture ``pg_driver`` or whatever key was defined in the dictionary above\n\n.. code-block:: python\n\n    def test_something(pg_driver):\n        with pg_driver.session_scoped() as s:\n            s.add(Node(..))\n\nContributing\n------------\nDon't hesitate to create a `Github issue \u003chttps://github.com/kulgan/pytest-psqlgraph/issues\u003e`__ for any bugs or suggestions or submit a PR.\n\n\n.. |PyPI version| image:: https://img.shields.io/pypi/v/pytest-psqlgraph.svg\n   :target: https://pypi.python.org/pypi/pytest-psqlgraph\n   :alt: PyPi version\n\n.. |conda-forge version| image:: https://img.shields.io/conda/vn/conda-forge/pytest-psqlgraph.svg\n   :target: https://anaconda.org/conda-forge/pytest-psqlgraph\n   :alt: conda-forge version\n\n.. |ci| image:: https://github.com/kulgan/pytest-psqlgraph/workflows/ci/badge.svg\n   :target: https://github.com/kulgan/pytest-psqlgraph/actions\n   :alt: CI status\n\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/pytest-psqlgraph.svg\n   :target: https://pypi.org/project/pytest-psqlgraph\n   :alt: PyPi downloads\n\n.. |Documentation status| image:: https://readthedocs.org/projects/pytest-psqlgraph/badge/?version=latest\n   :target: https://pytest-psqlgraph.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulgan%2Fpytest-psqlgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkulgan%2Fpytest-psqlgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulgan%2Fpytest-psqlgraph/lists"}