{ "info": { "author": "Carlos A. Planch\u00f3n", "author_email": "bubbledoloresuruguay2@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# plotilleresample\n*Python3 module to resample datasets before plotting with Plotille.*\n\n# Rationale\nI want to optimize plot and scatter function of plotille.\n\n## Installation\n### Install with pip\n```\npip3 install -U servusresample\n```\n\n## Usage\n```\n#!/usr/bin/env python3\n\nimport plotille\n\nimport plotilledimreduction\n\nimport math\n\nfrom shutil import get_terminal_size\n\nfrom vtclear import clear_screen\n\nimport numpy as np\n\n\nw = get_terminal_size().columns - 20\nh = get_terminal_size().lines - 7\n\nr = 10000\nres = np.random.normal(size=r)\n\n# Here I'm testing stuffs with histograms.\n# input(\"Histogram:\")\n# print(plotille.histogram(res, bins=w*2, width=w, height=h))\n\nX = [i for i in range(r)]\nY = [math.sin(i / 100) * 100 for i in range(r)]\n\nprint(\" \u00b7 Scatter...\")\nxs, ys = plotilledimreduction.dim_reduction_scatter(X, Y, w, h)\nprint(\" \u00b7 Plot...\")\nxp, yp = plotilledimreduction.dim_reduction_plot(X, Y, w, h)\nprint(\" --- READY ---\")\n\nprint(f\"Len plot.x {len(xp)}\")\n\nprint(f\"Len scatter.x {len(xs)}\")\n\ninput(\"Plot:\")\nclear_screen()\nprint(plotille.plot(xp, yp, w, h))\n\ninput(\"Scatter:\")\nclear_screen()\nprint(plotille.plot(xs, ys, w, h))\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/carlosplanchon/plotilleresample/archive/v0.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlosplanchon/plotilleresample", "keywords": "plotting,ascii,math,resample", "license": "GPL3", "maintainer": "", "maintainer_email": "", "name": "plotilleresample", "package_url": "https://pypi.org/project/plotilleresample/", "platform": "", "project_url": "https://pypi.org/project/plotilleresample/", "project_urls": { "Download": "https://github.com/carlosplanchon/plotilleresample/archive/v0.4.tar.gz", "Homepage": "https://github.com/carlosplanchon/plotilleresample" }, "release_url": "https://pypi.org/project/plotilleresample/0.4/", "requires_dist": null, "requires_python": "", "summary": "Python3 module to resample datasetsbefore plotting with Plotille.", "version": "0.4" }, "last_serial": 5120217, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "087a0daae920c35f6c5e1ef1395c1b81", "sha256": "77ddb4bc5972400f4b131c7f002233e4a4c683fc7dd58d856af2757b8700c122" }, "downloads": -1, "filename": "plotilleresample-0.1.tar.gz", "has_sig": false, "md5_digest": "087a0daae920c35f6c5e1ef1395c1b81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2204, "upload_time": "2019-04-08T02:11:05", "url": "https://files.pythonhosted.org/packages/aa/62/98e0e8716ec21a42fd357445ee182a2b7a449d5a4e48dd2c94dae379b04e/plotilleresample-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f51b86a72f4e8127f0c546f1c4fd7c79", "sha256": "aaa3d9748e72b300b3ffe6584157e4c1e6a64078e46252a3e0b98cad0a12e6be" }, "downloads": -1, "filename": "plotilleresample-0.2.tar.gz", "has_sig": false, "md5_digest": "f51b86a72f4e8127f0c546f1c4fd7c79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2206, "upload_time": "2019-04-08T02:15:56", "url": "https://files.pythonhosted.org/packages/a3/64/6b1ba2b232f85a664cad1eabeabf2b25c42d82bb0b9380beea7303410f1d/plotilleresample-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "3d15885fc164ca887fa6888cae45a2ec", "sha256": "a6cae0f23b192622bb6dbd78e741204537eee196557a9973ddfb52af623e9ef7" }, "downloads": -1, "filename": "plotilleresample-0.3.tar.gz", "has_sig": false, "md5_digest": "3d15885fc164ca887fa6888cae45a2ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2324, "upload_time": "2019-04-09T17:43:00", "url": "https://files.pythonhosted.org/packages/3a/81/66f9fe548e931af7e20887ed9710a56ce7e3e16bb84a8360ab837aa7576a/plotilleresample-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "316dc4ede3bbaae1b4624df9700a8f5a", "sha256": "a46cf7e0effa4f40ac49c27d6c54c982b589c3517f2155613be5a3472ec9cd78" }, "downloads": -1, "filename": "plotilleresample-0.4.tar.gz", "has_sig": false, "md5_digest": "316dc4ede3bbaae1b4624df9700a8f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2324, "upload_time": "2019-04-09T18:49:44", "url": "https://files.pythonhosted.org/packages/99/15/2ee1e1a8fdd664c3ad4c268a57ffde04957f102e50435805bb9f69e7a9ef/plotilleresample-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "316dc4ede3bbaae1b4624df9700a8f5a", "sha256": "a46cf7e0effa4f40ac49c27d6c54c982b589c3517f2155613be5a3472ec9cd78" }, "downloads": -1, "filename": "plotilleresample-0.4.tar.gz", "has_sig": false, "md5_digest": "316dc4ede3bbaae1b4624df9700a8f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2324, "upload_time": "2019-04-09T18:49:44", "url": "https://files.pythonhosted.org/packages/99/15/2ee1e1a8fdd664c3ad4c268a57ffde04957f102e50435805bb9f69e7a9ef/plotilleresample-0.4.tar.gz" } ] }