{ "info": { "author": "ton1517", "author_email": "tonton1517@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Utilities" ], "description": "randfilter\n===========\nThis tool reads files or stdin and outputs random lines.\n\nrandfilter is tested with Python 2.6, 2.7, 3.2, 3.3.\n\nRequirements\n============\n- Python 2.6 / 2.7 / 3.2 / 3.3 or higher\n- docopt==0.6.1\n- schema==0.2.0\n\nInstallation\n============\n\nInstall from pypi\n-----------------\n::\n\n easy_install randfilter\n\nor\n\n::\n\n pip install randfilter\n\nInstall from github\n-------------------\n::\n\n git clone https://github.com/ton1517/randfilter.git\n cd randfilter\n python setup.py install\n\n\nUsage\n------\n::\n\n randfilter\n\n Usage:\n randfilter (-n | -p ) [-u | --unorder] [-i | --ignore-empty] [...]\n randfilter -h | --help\n randfilter -v | --version\n\n Options:\n ... Choose and output lines at random in files. If omitted, use stdin.\n -n The choise number of lines.\n -p The choise probability of lines. The value is 0.0 to 1.0.\n -u --unorder Output lines are unordered.\n -i --ignore-empty Ignore empty line.\n -h --help Show this screen.\n -v --version Show version.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ton1517/randfilter", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "randfilter", "package_url": "https://pypi.org/project/randfilter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/randfilter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ton1517/randfilter" }, "release_url": "https://pypi.org/project/randfilter/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "This tool reads files or stdin and outputs random lines.", "version": "1.0.0" }, "last_serial": 921290, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8fad371b0da8c9c059c1d9830308e0ab", "sha256": "86ffb81df58dfd6a95f77173679f692cd97956904e17e685f6b403849180f0c3" }, "downloads": -1, "filename": "randfilter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8fad371b0da8c9c059c1d9830308e0ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3763, "upload_time": "2013-11-16T15:46:25", "url": "https://files.pythonhosted.org/packages/71/26/660cca3f29ade21f06c49401742d3d5291083337eb52ae14b38e8430bd02/randfilter-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8fad371b0da8c9c059c1d9830308e0ab", "sha256": "86ffb81df58dfd6a95f77173679f692cd97956904e17e685f6b403849180f0c3" }, "downloads": -1, "filename": "randfilter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8fad371b0da8c9c059c1d9830308e0ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3763, "upload_time": "2013-11-16T15:46:25", "url": "https://files.pythonhosted.org/packages/71/26/660cca3f29ade21f06c49401742d3d5291083337eb52ae14b38e8430bd02/randfilter-1.0.0.tar.gz" } ] }