{ "info": { "author": "Daniel Rodriguez", "author_email": "df.rodriguez143@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# dbplot\n\ndbplot allows you to make calculations for plots inside databases.\n\ndbplot is powered by [ibis](https://github.com/ibis-project/ibis) so its possible to target multiple databases that include:\nPostgres, MySQL, Apache Impala, Apache Kudu, BigQuery [and more](https://docs.ibis-project.org/), also everything that ibis will support\nin the future such as Apache Spark.\n\n## Install\n\n```\npip install dbplot\n```\n\nDevelopment version:\n\n```\npip install git+git://github.com/danielfrg/dbplot.git\n```\n\n## Usage\n\nSee [notebooks]() for examples.\n\n```python\nimport os\nimport ibis\nimport dbplot\n\n# Connect to DB\nhost = os.environ.get(\"DBPLOT_TEST_POSTGRES_HOST\", \"localhost\")\nuser = os.environ.get(\"DBPLOT_TEST_POSTGRES_USER\", \"postgres\")\npassword = os.environ.get(\"DBPLOT_TEST_POSTGRES_PASSWORD\")\ndatabase = os.environ.get(\"DBPLOT_TEST_POSTGRES_DATABASE\", \"nycflights13\")\ncon = ibis.postgres.connect(host=host, database=database, user=user, password=password)\n\n# Get a table\nflights = con.table(\"flights\")\n\n# Plot stuff\ndbplot.hist(flights, flights.dep_time, nbins=20)\n```\n\n## Roadmap\n\n- Automated tests\n- More plots such as raster plots, line charts and more :)\n\n## Notes\n\nBased on [dbplot for R](https://github.com/edgararuiz/dbplot).\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/danielfrg/dbplot", "keywords": "", "license": "Apache-2.0", "maintainer": "Daniel Rodriguez", "maintainer_email": "df.rodriguez143@gmail.com", "name": "dbplot", "package_url": "https://pypi.org/project/dbplot/", "platform": "", "project_url": "https://pypi.org/project/dbplot/", "project_urls": { "Homepage": "https://github.com/danielfrg/dbplot", "Repository": "https://github.com/danielfrg/dbplot" }, "release_url": "https://pypi.org/project/dbplot/0.1.0/", "requires_dist": [ "ibis-framework (>=0.14,<0.15)", "matplotlib (>=3.0,<4.0)" ], "requires_python": ">=3.5,<4.0", "summary": "dbplot allows you to make calculations of plots inside databases", "version": "0.1.0" }, "last_serial": 4779620, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fa4d37f51ec645b10b7f059dc5e0dbe2", "sha256": "3c5a7b141b7fdd2f16cd81cfb454faf8a3cd87b0dc9d7e51f1f9007dd203e1ba" }, "downloads": -1, "filename": "dbplot-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fa4d37f51ec645b10b7f059dc5e0dbe2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 31483, "upload_time": "2019-02-04T21:29:08", "url": "https://files.pythonhosted.org/packages/fc/ad/ec0eac4b9066421e2aff507962ce858959896892dc2acb3347ccc86b2c51/dbplot-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae295dd54afffcc16758cecadd109035", "sha256": "22a79fdafe6ea0b65917fe53ed3abd3662b5c546d7317a37aa9041e51c8548aa" }, "downloads": -1, "filename": "dbplot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ae295dd54afffcc16758cecadd109035", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 10983, "upload_time": "2019-02-04T21:29:10", "url": "https://files.pythonhosted.org/packages/1d/7c/d7c8617cb11b6e56129f4a7f226aaaecdbde2389c11c6403bda1ae79e647/dbplot-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fa4d37f51ec645b10b7f059dc5e0dbe2", "sha256": "3c5a7b141b7fdd2f16cd81cfb454faf8a3cd87b0dc9d7e51f1f9007dd203e1ba" }, "downloads": -1, "filename": "dbplot-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fa4d37f51ec645b10b7f059dc5e0dbe2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 31483, "upload_time": "2019-02-04T21:29:08", "url": "https://files.pythonhosted.org/packages/fc/ad/ec0eac4b9066421e2aff507962ce858959896892dc2acb3347ccc86b2c51/dbplot-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae295dd54afffcc16758cecadd109035", "sha256": "22a79fdafe6ea0b65917fe53ed3abd3662b5c546d7317a37aa9041e51c8548aa" }, "downloads": -1, "filename": "dbplot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ae295dd54afffcc16758cecadd109035", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 10983, "upload_time": "2019-02-04T21:29:10", "url": "https://files.pythonhosted.org/packages/1d/7c/d7c8617cb11b6e56129f4a7f226aaaecdbde2389c11c6403bda1ae79e647/dbplot-0.1.0.tar.gz" } ] }