{ "info": { "author": "Thiago Melo", "author_email": "thiago.lc.melo@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "shrincols\n=========\n\nCLI for making a text to fit in a max number of columns. It is possible to\nespecify the max number of columns as well as to juntify it.\n\nIt is possible to write output to a file and to pipe a text for the script's \nstandard input.\n\nPreparing for Development\n-------------------------\n\n1. Ensure ``pip`` and ``pipenv`` are installed.\n2. Clone repository: ``https://github.com/thiagolcmelo/desafio-idwall``\n3. Fetch development dependencies: ``make install``\n\nUsage\n-----\n\nThe input might be a filename:\n\n::\n\n $ shrincols filename.txt -c 80\n\nor a string:\n\n::\n\n $ shrincols \"some text goes here ...\" -c 80\n\nThe option ``-j`` forces the text to be justified:\n\n::\n\n $ shrincols filename.txt -c 80 -j\n\nAltough the result will always be printed on the standard output, the option\n``-o`` might be used for writing the result to a file.\n\n::\n\n $ shrincols filename.txt -c 40 -o output.txt\n\nIt is also possible to pipe standard output into the script's standard input:\n\n::\n\n $ cat filename.txt | shrincols -c 40\n\nRunning Tests\n-------------\n\nRun tests locally using ``make`` if virtualenv is active:\n\n::\n\n $ make\n\nIf virtualenv isn't active then use\n\n::\n\n $ pipenv run make\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/thiagolcmelo/shrincols/archive/0.1.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thiagolcmelo/shrincols", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "shrincols", "package_url": "https://pypi.org/project/shrincols/", "platform": "", "project_url": "https://pypi.org/project/shrincols/", "project_urls": { "Download": "https://github.com/thiagolcmelo/shrincols/archive/0.1.1.tar.gz", "Homepage": "https://github.com/thiagolcmelo/shrincols" }, "release_url": "https://pypi.org/project/shrincols/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Tool for fit string to a fixed number of cols.", "version": "0.1.2" }, "last_serial": 3874515, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ea05810b3e4bb98deaff25ed59be402d", "sha256": "fce1fca062b5402ae6079bb23ab0d0825c8ab38e70a05bc89e67d8fce23c8684" }, "downloads": -1, "filename": "shrincols-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ea05810b3e4bb98deaff25ed59be402d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3663, "upload_time": "2018-05-14T01:28:08", "url": "https://files.pythonhosted.org/packages/a8/a1/7dad8a2baf82c8a117e72efc0f35a509ed3e7e2cedfa0ede53ab3a34673c/shrincols-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ab354c0bcc9e7ff5c298eb47d3edf227", "sha256": "c7c0b455fed75c5a15fa3569bb113e1f36f1cc1462f9bc8f62f73969ee2da154" }, "downloads": -1, "filename": "shrincols-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ab354c0bcc9e7ff5c298eb47d3edf227", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3661, "upload_time": "2018-05-14T01:32:18", "url": "https://files.pythonhosted.org/packages/5a/6a/11c62b483aab2b294a29faceec434c3463daf1ce7c59b549c1f9f18eaa5a/shrincols-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6e0315e5154254a91d6d4002643a47d6", "sha256": "788ec63f3444a4788a47b0ab6010bda3399f2d97e86495c3bc8b26b3c98499d3" }, "downloads": -1, "filename": "shrincols-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6e0315e5154254a91d6d4002643a47d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3912, "upload_time": "2018-05-18T03:21:49", "url": "https://files.pythonhosted.org/packages/ba/dc/74218672ae0714ee0621812b46686196e796cd9d05d8eb8fcff1381964dc/shrincols-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6e0315e5154254a91d6d4002643a47d6", "sha256": "788ec63f3444a4788a47b0ab6010bda3399f2d97e86495c3bc8b26b3c98499d3" }, "downloads": -1, "filename": "shrincols-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6e0315e5154254a91d6d4002643a47d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3912, "upload_time": "2018-05-18T03:21:49", "url": "https://files.pythonhosted.org/packages/ba/dc/74218672ae0714ee0621812b46686196e796cd9d05d8eb8fcff1381964dc/shrincols-0.1.2.tar.gz" } ] }