{ "info": { "author": "kamuiroeru", "author_email": "e1371@ob.akashi.ac.jp", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# Sekigae Program\nFor Sekigae Program\n\n## Requirements\n- python >= 3.6 ( Use f-strings )\n\n## Install\nshell\n```shell script\npip install sekigae\n```\n\n## Shell Command Usage\n### Simple usage\n\nshell\n```shell script\n# 45 Students to 6 rows.\nsekigae 45 6\n```\n\noutput\n```text\n FRONT\n-------------------------------\n| 23 | 21 | 25 | 1 | 8 | 45 |\n-------------------------------\n| 18 | 29 | 44 | 4 | 20 | 42 |\n-------------------------------\n| 2 | 10 | 35 | 30 | 15 | 31 |\n-------------------------------\n| 37 | 6 | 27 | 40 | 36 | 11 |\n-------------------------------\n| 16 | 39 | 5 | 14 | 3 | 17 |\n-------------------------------\n| 28 | 34 | 9 | 13 | 19 | 43 |\n-------------------------------\n| 32 | 26 | 7 | 12 | 41 | 22 |\n-------------------------------\n| 38 | 33 | 24 |\n```\n\n### Edit top label\nshell\n```shell script\n# set tag as \"WhiteBoard\"\nsekigae 25 6 -t WhiteBoard\n```\n\noutput\n```text\n WhiteBoard\n-------------------------------\n| 24 | 21 | 7 | 17 | 13 | 15 |\n-------------------------------\n| 9 | 5 | 10 | 25 | 22 | 16 |\n-------------------------------\n| 19 | 18 | 20 | 4 | 1 | 6 |\n-------------------------------\n| 11 | 8 | 3 | 23 | 12 | 2 |\n-------------------------------\n| 14 |\n```\n\n### Read CSV\nout.csv\n```csv\n9,12,6,10,8\n5,11,2,4,7\n3,1\n```\n\nshell\n```shell script\n# choose csv (ignore simple use options)\nsekigae 45 6 --csv out.csv\n```\n\noutput\n```text\n FRONT\n--------------------------\n| 9 | 12 | 6 | 10 | 8 |\n--------------------------\n| 5 | 11 | 2 | 4 | 7 |\n--------------------------\n| 3 | 1 |\n```\n\n### Write CSV\nshell\n```shell script\n# write table to \"test.csv\"\nsekigae 11 4 -o test.csv\n```\n\noutput\n```text\n FRONT\n---------------------\n| 11 | 6 | 10 | 1 |\n---------------------\n| 8 | 5 | 2 | 4 |\n---------------------\n| 9 | 3 | 7 |\ncsv wrote\n```\n\ntest.csv\n```csv\n11,6,10,1\n8,5,2,4\n9,3,7\n```\n\n### fix student specific place\nshell\n```shell script\n# format is \"row:col:number\"\n# fix '7' to 1st row 2nd col and fix '9' 1st row 4th col\nsekigae 11 4 -s 1:2:7,1:4:9\n```\n\noutput\n```text\n FRONT\n---------------------\n| 6 | 7 | 1 | 9 |\n---------------------\n| 3 | 8 | 2 | 10 |\n---------------------\n| 4 | 11 | 5 |\n\n FRONT \n---------------------\n| 5 | 7 | 8 | 9 |\n---------------------\n| 6 | 11 | 10 | 2 |\n---------------------\n| 1 | 3 | 4 |\n\n FRONT \n---------------------\n| 8 | 7 | 11 | 9 |\n---------------------\n| 10 | 6 | 2 | 4 |\n---------------------\n| 3 | 5 | 1 |\n```\n\n`7` is fixed 1st row 2nd col.\n`9` is fixed 1st row 4th col.\n\n### Pipeline\n#### Pipeline input\nout.csv\n```text\n10,12,3,5,6\n11,4,9,1,13\n7,8,2\n```\n```shell script\ncat out.csv | sekigae\n```\noutput\n```text\n FRONT\n--------------------------\n| 10 | 12 | 3 | 5 | 6 |\n--------------------------\n| 11 | 4 | 9 | 1 | 13 |\n--------------------------\n| 7 | 8 | 2 |\n```\n\n#### Pipeline output\n```shell script\nsekigae 13 5 -f | awk '{ if (gsub(/,/, \" \")) print }'\n```\noutput\n```text\n8 5 7 10 12\n11 6 3 4 1\n13 2 9\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/kamuiroeru/sekigae.git", "keywords": "", "license": "MIT", "maintainer": "kamuiroeru", "maintainer_email": "e1371@ob.akashi.ac.jp", "name": "sekigae", "package_url": "https://pypi.org/project/sekigae/", "platform": "", "project_url": "https://pypi.org/project/sekigae/", "project_urls": { "Homepage": "https://github.com/kamuiroeru/sekigae.git" }, "release_url": "https://pypi.org/project/sekigae/0.0.5/", "requires_dist": null, "requires_python": ">=3.6", "summary": "sekigae program", "version": "0.0.5" }, "last_serial": 5824883, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "9dcf8435da8d9cc7202a5eb46c2f1adf", "sha256": "683a0c0ac2164c614834c65370fa54ec6abac828449c3f7b5f5f7b212d003ab5" }, "downloads": -1, "filename": "sekigae-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9dcf8435da8d9cc7202a5eb46c2f1adf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4185, "upload_time": "2019-09-12T18:28:20", "url": "https://files.pythonhosted.org/packages/3b/b9/0989ddcc7174f8bf3e65469411fb5a642a1dc655ce72e08e283e1770f899/sekigae-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef32e35559ee99664effc99b8179661e", "sha256": "98e4ccfab8b425c10862d80c46112bf417bc9deac5c28c1efc115b00d0607663" }, "downloads": -1, "filename": "sekigae-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ef32e35559ee99664effc99b8179661e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3745, "upload_time": "2019-09-12T18:28:23", "url": "https://files.pythonhosted.org/packages/3d/ba/a5ee061d0623f1e70c2dd9169a87f40967ff2bbe564feaa8e2376ead63b7/sekigae-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "2c734b859a7be20045ed883cd24844af", "sha256": "782eace9c24fb02f6f746da1e0647907c4386afb20cf924292176769d600a189" }, "downloads": -1, "filename": "sekigae-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "2c734b859a7be20045ed883cd24844af", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4931, "upload_time": "2019-09-13T09:17:49", "url": "https://files.pythonhosted.org/packages/6e/2a/3cef2ee4f284d10ec02ea38035c2f2e2c8e075345c3c0c31f7c39b85e8b9/sekigae-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fda83df9384090b21b6a0f3e3137a113", "sha256": "82eef85880bc935d321e394cb4581d9c1073b89f40b3f55ce0f9efd79288b775" }, "downloads": -1, "filename": "sekigae-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fda83df9384090b21b6a0f3e3137a113", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4863, "upload_time": "2019-09-13T09:17:51", "url": "https://files.pythonhosted.org/packages/b4/ab/3ebfa7aa60425333e0e290a03f5360e164e0762f611381855f241e705e89/sekigae-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "23ef05fa0fab4479862649ce84694f6a", "sha256": "55b95254de93f87eebf9147b126e70aa7803e0ef55ba02fbd0c6d8fbb89469bf" }, "downloads": -1, "filename": "sekigae-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "23ef05fa0fab4479862649ce84694f6a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5666, "upload_time": "2019-09-13T10:30:37", "url": "https://files.pythonhosted.org/packages/63/b9/aad4d1f8d1395d49dc5a6a3934139bd9897ce109ffb6894a0a73c81e0ada/sekigae-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "12a1cf1eb1f60385e699087712a6847a", "sha256": "7ee55f2111c58211df4d946d4e1d9d97e6740d4fc0323ddd70b8a6c904164c0f" }, "downloads": -1, "filename": "sekigae-0.0.5.tar.gz", "has_sig": false, "md5_digest": "12a1cf1eb1f60385e699087712a6847a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5447, "upload_time": "2019-09-13T10:30:39", "url": "https://files.pythonhosted.org/packages/0e/e9/9fdc9d01b7998d114386c346904b63a9ee25e3bb1f85a378562ac84899ca/sekigae-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23ef05fa0fab4479862649ce84694f6a", "sha256": "55b95254de93f87eebf9147b126e70aa7803e0ef55ba02fbd0c6d8fbb89469bf" }, "downloads": -1, "filename": "sekigae-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "23ef05fa0fab4479862649ce84694f6a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5666, "upload_time": "2019-09-13T10:30:37", "url": "https://files.pythonhosted.org/packages/63/b9/aad4d1f8d1395d49dc5a6a3934139bd9897ce109ffb6894a0a73c81e0ada/sekigae-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "12a1cf1eb1f60385e699087712a6847a", "sha256": "7ee55f2111c58211df4d946d4e1d9d97e6740d4fc0323ddd70b8a6c904164c0f" }, "downloads": -1, "filename": "sekigae-0.0.5.tar.gz", "has_sig": false, "md5_digest": "12a1cf1eb1f60385e699087712a6847a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5447, "upload_time": "2019-09-13T10:30:39", "url": "https://files.pythonhosted.org/packages/0e/e9/9fdc9d01b7998d114386c346904b63a9ee25e3bb1f85a378562ac84899ca/sekigae-0.0.5.tar.gz" } ] }