{"library":"pytest-mysql","type":"library","category":null,"description":"pytest-mysql is a pytest plugin, version 4.0.0, that facilitates testing code reliant on a running MySQL/MariaDB database. It provides pytest fixtures for managing MySQL process lifecycle (`mysql_proc`) and client connections (`mysql`, `mysql_noproc`), ensuring isolated and repeatable database environments for tests. It automatically handles starting and stopping MySQL instances for test sessions and can clean up test databases per function. The project is actively maintained, with the latest version released in December 2024.","language":"python","status":"active","version":"4.0.0","tags":["pytest","mysql","mariadb","testing","fixtures","database","integration-testing"],"install":[{"cmd":"pip install pytest-mysql","imports":["from pytest_mysql import factories"]},{"cmd":"pip install pymysql pytest","imports":[]}],"homepage":null,"github":"https://github.com/dbfixtures/pytest-mysql","docs":null,"changelog":"https://github.com/dbfixtures/pytest-mysql/blob/v4.0.0/CHANGES.rst","pypi":"https://pypi.org/project/pytest-mysql/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.9,"avg_import_s":0.59,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-mysql/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}