{ "info": { "author": "TuoX", "author_email": "120549827@qq.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n## aiomysql-core\n\n### Simple framework for aiomysql\n\n# introduce\n\nsimple package, easy to use\n\n[aiomysql](https://github.com/aio-libs/aiomysql)\n\n## Installation\n```linux\npip install aiomysql-core\n```\n\n## Simple uses\n```python\nimport asyncio\nimport aiomysql\nfrom aiomysql_core import AioMysqlCore\n\n\nasync def test_example(loop):\n pool = await aiomysql.create_pool(host='', port=3308,\n user='', password='',\n db='', loop=loop)\n core = AioMysqlCore(pool=pool)\n rows = await core.query('select * from users where uid=%s', 113)\n print(rows)\n row = await core.get('select * from users where uid=%(uid)s', {'uid': 113})\n print(row)\n rowcount = await core.execute_rowcount('select * from users where uid=%(uid)s', {'uid': 113})\n print(rowcount)\n pool.close()\n await pool.wait_closed()\n\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(test_example(loop))\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/linzhiming0826/aiomysql-core", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aiomysql-core", "package_url": "https://pypi.org/project/aiomysql-core/", "platform": "any", "project_url": "https://pypi.org/project/aiomysql-core/", "project_urls": { "Homepage": "https://github.com/linzhiming0826/aiomysql-core" }, "release_url": "https://pypi.org/project/aiomysql-core/0.0.2/", "requires_dist": [ "aiomysql (>=0.0.20)" ], "requires_python": "", "summary": "Simple framework for aiomysql", "version": "0.0.2" }, "last_serial": 5888678, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "aafa5e8489524a5dd474f78afd5fabba", "sha256": "85a94055f7f31a25657d8eabd3fc1af59d5ccded8a38a733d9eb178b268ba8d6" }, "downloads": -1, "filename": "aiomysql_core-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aafa5e8489524a5dd474f78afd5fabba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4126, "upload_time": "2019-09-26T04:28:35", "url": "https://files.pythonhosted.org/packages/e4/2a/8dc18aca44756cf1d6a37c81bea0487e34c5b04797b2953b2dfb488ff64a/aiomysql_core-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "638a2f46eebb3fe68977d9dfc22d45d3", "sha256": "0dc3e514a9a445a3bb21cc6cffb08f11b14b176ac11d6cb103f1c6c4b329b476" }, "downloads": -1, "filename": "aiomysql-core-0.0.1.tar.gz", "has_sig": false, "md5_digest": "638a2f46eebb3fe68977d9dfc22d45d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3222, "upload_time": "2019-09-26T04:28:38", "url": "https://files.pythonhosted.org/packages/a4/e0/55371f51a2df0d497b8734ba04e2102b4c415dc5214773fb77b690611458/aiomysql-core-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b4f611c88dc2812040efc4fa292937fb", "sha256": "380d4c4a137b76c000cf669d4c7b14c8c3d329fa91872d9e9990d3e89775789a" }, "downloads": -1, "filename": "aiomysql_core-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4f611c88dc2812040efc4fa292937fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3760, "upload_time": "2019-09-26T05:39:43", "url": "https://files.pythonhosted.org/packages/69/bb/ad32200cdda2191a470e7596adab8049388d9fcaf5083468cd58ba58c839/aiomysql_core-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "efddb7933baae30316650f17bc93f493", "sha256": "7e1bc8b1e2d6d4ba974b8ffa440c865b052fa226bdcde82e36df0d4e0d25b219" }, "downloads": -1, "filename": "aiomysql-core-0.0.2.tar.gz", "has_sig": false, "md5_digest": "efddb7933baae30316650f17bc93f493", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2019-09-26T05:39:44", "url": "https://files.pythonhosted.org/packages/17/90/1d1df9685cf49f60d276cffa77ce986645ff5a4cbf36949f640c22bb159f/aiomysql-core-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4f611c88dc2812040efc4fa292937fb", "sha256": "380d4c4a137b76c000cf669d4c7b14c8c3d329fa91872d9e9990d3e89775789a" }, "downloads": -1, "filename": "aiomysql_core-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4f611c88dc2812040efc4fa292937fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3760, "upload_time": "2019-09-26T05:39:43", "url": "https://files.pythonhosted.org/packages/69/bb/ad32200cdda2191a470e7596adab8049388d9fcaf5083468cd58ba58c839/aiomysql_core-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "efddb7933baae30316650f17bc93f493", "sha256": "7e1bc8b1e2d6d4ba974b8ffa440c865b052fa226bdcde82e36df0d4e0d25b219" }, "downloads": -1, "filename": "aiomysql-core-0.0.2.tar.gz", "has_sig": false, "md5_digest": "efddb7933baae30316650f17bc93f493", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2019-09-26T05:39:44", "url": "https://files.pythonhosted.org/packages/17/90/1d1df9685cf49f60d276cffa77ce986645ff5a4cbf36949f640c22bb159f/aiomysql-core-0.0.2.tar.gz" } ] }