{ "info": { "author": "Nicolas Crocfer", "author_email": "ncrocfer@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "clf - Command line tool to search snippets on Commandlinefu.com\n===============================================================\n\n.. image:: https://travis-ci.org/ncrocfer/clf.svg?branch=master\n :target: https://travis-ci.org/ncrocfer/clf\n\n\n`Commandlinefu.com `_ is the place to record awesome command-line snippets. This tool allows you to search and view the results into your terminal.\n\n**Example 1**\n\n.. code-block:: shell\n\n $ clf python server\n\n # python smtp server\n python -m smtpd -n -c DebuggingServer localhost:1025\n\n # Python version 3: Serve current directory tree at http://$HOSTNAME:8000/\n python -m http.server\n\n # Start a HTTP server which serves Python docs\n pydoc -p 8888 & gnome-open http://localhost:8888\n\n # put current directory in LAN quickly\n python -m SimpleHTTPServer\n\n # An alternative to: python -m SimpleHTTPServer for Arch Linux\n python3 -m http.server\n\n**Example 2**\n\n.. code-block:: shell\n\n $ clf recursive line count\n\n # Recursive Line Count\n find ./ -not -type d | xargs wc -l | cut -c 1-8 | awk '{total += $1} END {print total}'\n\n # Recursive Line Count\n find * -type f -not -name \".*\" | xargs wc -l\n\n # Get Total Line Count Of All Files In Subdirectory (Recursive)\n find . -type f -name \"*.*\" -exec cat {} > totalLines 2> /dev/null \\; && wc -l totalLines && rm totalLines\n\n # Recursive Line Count\n wc -l `find . -name *.php`\n\nInstallation\n------------\n\nThe tool works with Python 2 and Python 3. It can be installed with `Pip` :\n\n::\n\n pip install clf\n\nUsage\n-----\n\n::\n\n Command line tool to search snippets on Commandlinefu.com\n\n Usage:\n clf --browse [options]\n clf [options]\n clf ... [options]\n\n Options:\n -h, --help Show this help.\n -v, --version Show version.\n -c, --color Enable colorized output.\n -b, --browse Browse the Commandlinefu.com archive.\n --order=ORDER The order output (votes|date) [default: votes].\n --proxy=PROXY The proxy used to perform requests.\n\n Examples:\n clf tar\n clf python server\n clf tar --proxy=http://127.0.0.1:8080\n clf --browse --order=date\n\nNotes\n-----\n\n- You can set the CLF_COLOR environment variable to enable the colorized output by default.\n- You can import the :code:`clf` module and use it in your own scripts :\n\n::\n\n >>> from clf import Clf\n >>> c = Clf()\n >>> for cmd in c.browse():\n >>> print(cmd.summary)\n >>> print(cmd.command)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ncrocfer/clf", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "clf", "package_url": "https://pypi.org/project/clf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/clf/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ncrocfer/clf" }, "release_url": "https://pypi.org/project/clf/0.5.7/", "requires_dist": null, "requires_python": null, "summary": "Command line tool to search snippets on Commandlinefu.com", "version": "0.5.7" }, "last_serial": 1605480, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "79282f6eb237f899c027ebb5fdf59902", "sha256": "1096e5c2de18073b35ac9b002a82aa6c0620639e76aec489b207ace619883f16" }, "downloads": -1, "filename": "clf-0.1.tar.gz", "has_sig": false, "md5_digest": "79282f6eb237f899c027ebb5fdf59902", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4701, "upload_time": "2015-02-24T23:20:30", "url": "https://files.pythonhosted.org/packages/c7/8e/5f3a6486832032ed382cb1e5d30232b6ca1fd471af4a6a7bfd7710421fd3/clf-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "166a17598701599f9b47d99e1ea285e3", "sha256": "698a3772083666438ac11c8de1002cb15c5559f0c7bb43bcaaee867fb085a10b" }, "downloads": -1, "filename": "clf-0.2.tar.gz", "has_sig": false, "md5_digest": "166a17598701599f9b47d99e1ea285e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4809, "upload_time": "2015-02-26T07:54:20", "url": "https://files.pythonhosted.org/packages/db/ba/84ee084be58889a7f842d30685bb80be86005d2cbd2c6386e99069b905d7/clf-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "c0b5a6cf5584dc1eaa78a91457b8c1e4", "sha256": "4bd7e166085750850d4432e05b74c3ddc8d787ad3b99006a51720aa8677d8a9c" }, "downloads": -1, "filename": "clf-0.3.tar.gz", "has_sig": false, "md5_digest": "c0b5a6cf5584dc1eaa78a91457b8c1e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4812, "upload_time": "2015-02-27T20:10:28", "url": "https://files.pythonhosted.org/packages/a5/7b/4696c7a8de4bcf6e7f59bea684f86ec387fc089f2b82d808572cc51e795f/clf-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "60f6dca026c979190a4467f7647a30da", "sha256": "5a409ef5d0bba2d301b0433afe6ab54141169c473ff7bee13a1a32274a6ca628" }, "downloads": -1, "filename": "clf-0.4.tar.gz", "has_sig": false, "md5_digest": "60f6dca026c979190a4467f7647a30da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5022, "upload_time": "2015-03-07T10:30:01", "url": "https://files.pythonhosted.org/packages/74/57/56ab5856a1740d054875fe87344cdd5f71e9c9ae4f58fb133c4727f3963c/clf-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "a52c1e1265f8bbd2d86a7e529e14e140", "sha256": "c58e255fa0199b20cb48585fbc9eecde90dd3c7e0dc4461272e61ca6b0d8a4b3" }, "downloads": -1, "filename": "clf-0.5.tar.gz", "has_sig": false, "md5_digest": "a52c1e1265f8bbd2d86a7e529e14e140", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5243, "upload_time": "2015-03-13T23:21:44", "url": "https://files.pythonhosted.org/packages/39/6c/72bbc47003a380621371936d909a0d827fc1f02f44550ff0c85c6ceecfc4/clf-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "a92d36678efb24647590d41a3fb6599c", "sha256": "7a1badde23b1aa3e5a6042659a54c95a02ea1e261e0a338b62ee90dcf009004c" }, "downloads": -1, "filename": "clf-0.5.1.tar.gz", "has_sig": false, "md5_digest": "a92d36678efb24647590d41a3fb6599c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5252, "upload_time": "2015-03-13T23:24:57", "url": "https://files.pythonhosted.org/packages/f1/3d/e09a36cf821326df35f8f5e9116ce44295491530ea188772ee251ff4fc1c/clf-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "d6312401f4ce07182ad0c18774959255", "sha256": "c57bfc3704ea0324cd36f03a0dea3165ead953f4e5000c9601464b47a2689812" }, "downloads": -1, "filename": "clf-0.5.2.tar.gz", "has_sig": false, "md5_digest": "d6312401f4ce07182ad0c18774959255", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5258, "upload_time": "2015-03-17T22:18:09", "url": "https://files.pythonhosted.org/packages/b7/0e/1567bcf382f63b8e551fd6758b6e6105bea7374ab86b143c73ea20fa2f77/clf-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "bc34e741bbdf4c43deb0dbd9907e7df7", "sha256": "7b5f842cf9fa71e864dbb14daad42dc990cb94e1ce0689d4e9b86bf8ab8bb87d" }, "downloads": -1, "filename": "clf-0.5.3.tar.gz", "has_sig": false, "md5_digest": "bc34e741bbdf4c43deb0dbd9907e7df7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5259, "upload_time": "2015-03-20T22:39:51", "url": "https://files.pythonhosted.org/packages/58/83/e34465cc2b200b95c15452aed4d517d77ed371e732df504a3b1f40dd1d64/clf-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "41cf37d7d2331e097885a1733946b6c6", "sha256": "b939d2fc5c3456b3b11040c7ea4cb3f9a7b8ab0bc31a733a719c5b0a760746ce" }, "downloads": -1, "filename": "clf-0.5.4.tar.gz", "has_sig": false, "md5_digest": "41cf37d7d2331e097885a1733946b6c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5174, "upload_time": "2015-05-26T21:17:42", "url": "https://files.pythonhosted.org/packages/a8/a7/30f496e11e0ee9061f892d8b84a0db92aa51f579fc227968b10055844356/clf-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "10e814551d6d58fe0c54ef951f6ab83a", "sha256": "402b2ba9656556ec2dedc0454ab9fcc93a2cf7875b439bda9c9b5a06f681774d" }, "downloads": -1, "filename": "clf-0.5.5.tar.gz", "has_sig": false, "md5_digest": "10e814551d6d58fe0c54ef951f6ab83a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5186, "upload_time": "2015-05-30T10:59:59", "url": "https://files.pythonhosted.org/packages/f4/b0/aeb7b4cec4183af77861726e8c347a4e9e047ef9a3c53f76cbddc0049188/clf-0.5.5.tar.gz" } ], "0.5.6": [ { "comment_text": "", "digests": { "md5": "e74865ae732c19c55d06ca05014183e4", "sha256": "9daa8d48a0b3dfd91605be1b5f027ba2762111ac4cb89ec5930740389d779895" }, "downloads": -1, "filename": "clf-0.5.6.tar.gz", "has_sig": false, "md5_digest": "e74865ae732c19c55d06ca05014183e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5200, "upload_time": "2015-06-22T22:18:34", "url": "https://files.pythonhosted.org/packages/a5/4f/6e17a2db8fddedda866bcc6b14857d7a1c968731f094ded62f881bd41863/clf-0.5.6.tar.gz" } ], "0.5.7": [ { "comment_text": "", "digests": { "md5": "67404e4923efc737a6fdbb91d9146927", "sha256": "abc919a1e99667f32fdde15dfb4bc527dbe22cf86a17acb78a449d7f2dfe937e" }, "downloads": -1, "filename": "clf-0.5.7.tar.gz", "has_sig": false, "md5_digest": "67404e4923efc737a6fdbb91d9146927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5159, "upload_time": "2015-06-24T21:55:00", "url": "https://files.pythonhosted.org/packages/74/42/448e0b36b6424835edda52e1e3139a045cccb963e5c6a302081bcd12522c/clf-0.5.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67404e4923efc737a6fdbb91d9146927", "sha256": "abc919a1e99667f32fdde15dfb4bc527dbe22cf86a17acb78a449d7f2dfe937e" }, "downloads": -1, "filename": "clf-0.5.7.tar.gz", "has_sig": false, "md5_digest": "67404e4923efc737a6fdbb91d9146927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5159, "upload_time": "2015-06-24T21:55:00", "url": "https://files.pythonhosted.org/packages/74/42/448e0b36b6424835edda52e1e3139a045cccb963e5c6a302081bcd12522c/clf-0.5.7.tar.gz" } ] }