{ "info": { "author": "Rakan Alhneiti", "author_email": "rakan.alhneiti@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Pocket CLI\n==========\n\nPocket-CLI is an application for reading / listing and managing your GetPocket.com articles from the terminal.\n\nNote: This app is based on my [Pocket-API](https://github.com/rakanalh/pocket-api) package.\n\nFeatures\n--------\n\n* Retrieves and indexes all of your articles and saves them into a CSV file in your home directory for quicker response.\n* Enables you to specify your reading speed to calculate the amount of time each article requires. You can estimate your reading speed from online tests such as [Speed Reading Online Test](http://www.readingsoft.com/)\n* Able to sort articles by reading time (default) and Article ID\n* Enables you to search articles by keywords, tags and sort by [GetPocket's sorting params](https://getpocket.com/developer/docs/v3/retrieve). This will perform a request to Pocket.\n* Automated app configuration through `pocket-cli configure` command.\n* Uses LESS to list article for easy navigation.\n* Multiple `fetch` command calls will retrieve articles since last fetch.\n\n\nNote: This application has been tested on Python 2.7.10 and 3.5.0.\n\nInstallation\n------------\n\n pip install pocket-cli\n\nConfiguration\n-------------\n\n If you already have a Pocket API consumer key, skip to step 2.\n\n 1. Generate a Pocket API consumer key at https://getpocket.com/developer/apps/new. Here's an example:\n\n ![](/docs/create_consumer_key.png?raw=true)\n\n 2. Run `pocket-cli configure` and enter the consumer key generated in step 1 when prompted.\n 3. Next, you will be prompted for a sort order and your estimated reading speed. You may visit http://www.readingsoft.com/ to estimate your reading speed.\n 4. After you have finished selecting configurations for `pocket-cli`, a browser window will open requesting access to your Pocket account. Log in to Pocket (if you are not already logged in) and click **Authorize** to accept and complete the configuration of `pocket-cli`.\n\n\nUsage\n-----\n\n Usage: pocket-cli [OPTIONS] COMMAND [ARGS]...\n\n Options:\n --help Show this message and exit.\n\n Commands:\n add\n archive\n configure\n fetch\n list\n random\n read\n search\n\n\nCommands\n--------\n\nTo configure the app (for first time use)\n\n pocket-cli configure\n\nTo add a new article URL with additional params.\n\n pocket-cli add --url --title --tags <tag1> --tags <tag2>\n\n\nMark a specific article as read.\n\n pocket-cli archive <ID>\n\n\nTo fetch all articles / or articles added since last fetch\n\n pocket-cli fetch\n\nTo list your articles\n\n pocket-cli list --limit 10 --order [asc|desc]\n\nTo select a random article for you to read\n\n pocket-cli random --archive --browser\n\n --archive will mark this article as read\n --browser will open the article in your default browser\n\nTo read an article\n\n pocket-cli random --open-origin --archive\n\n --archive will mark this article as read\n --open-origin will open the article's original URL rather than Pocket's.\n\nTo search for specific articles\n\n pocket-cli --state [unread|archive|all] --sort [newest|oldest|title|site] --tag <search_by_tag> <Search Term>\n\n\nCronjob\n-------\n\nYou can add `/path/to/pocket-cli fetch` to your crontab to let the app fetch new articles every once and a while. For example, to fetch every 3 hours, execute crontab -e and add the following line:\n\n * */3 * * * /usr/local/bin/pocket-cli fetch\n\nContribution\n------------\n\nContributions are welcome! Fork the repository, create a branch, implement your changes and create a pull request and i'll be happy to review and merge your features / changes.\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Rakan Alhneiti\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "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/rakanalh/pocket-api", "keywords": null, "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "pocket-cli", "package_url": "https://pypi.org/project/pocket-cli/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pocket-cli/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rakanalh/pocket-api" }, "release_url": "https://pypi.org/project/pocket-cli/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "A terminal application for Pocket", "version": "0.1.6" }, "last_serial": 2855850, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0407dd946f9c937ad14ac9acfc71976d", "sha256": "fed680aa9585d08987bd365a972b6c73c5f21b96e7692ad9d5a8df133277aa30" }, "downloads": -1, "filename": "pocket-cli-0.1.tar.gz", "has_sig": false, "md5_digest": "0407dd946f9c937ad14ac9acfc71976d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7311, "upload_time": "2016-02-16T20:31:47", "url": "https://files.pythonhosted.org/packages/22/b4/3907bca19d1ab2b50b696b51c25e3e8f33dca98643fa46ea473831454394/pocket-cli-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "96253a1fdbbefa0cec81d19161b61a28", "sha256": "f829062a9156a043f5ee0418a37e7346305fc0c613b57f901864b9fd43d75482" }, "downloads": -1, "filename": "pocket-cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "96253a1fdbbefa0cec81d19161b61a28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7318, "upload_time": "2016-02-16T20:36:32", "url": "https://files.pythonhosted.org/packages/1f/f1/c71f59338be9d067455c91a5707766ff1eead38e162eb8322dff86fa5bd3/pocket-cli-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5ba32f80a848b984cea6b4337f8b7833", "sha256": "8605fd07d02892bf5b9d412a2cd407b76d472f7ab2b7181cb93d959830949620" }, "downloads": -1, "filename": "pocket-cli-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5ba32f80a848b984cea6b4337f8b7833", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7831, "upload_time": "2016-02-17T22:17:05", "url": "https://files.pythonhosted.org/packages/5c/88/014862b8e5092596f92ed53e5b8207b0b1f64419cc8f5b15d11d22ce3fda/pocket-cli-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "8e9c1a2c74041bdbe47cc198987dab94", "sha256": "06728c2326752998626b99c9983cf5f13be5e30a1ee35cb7b7283fad363cb852" }, "downloads": -1, "filename": "pocket-cli-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8e9c1a2c74041bdbe47cc198987dab94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7899, "upload_time": "2016-02-19T19:30:34", "url": "https://files.pythonhosted.org/packages/0d/18/039474b2647d2c8380a28a270f86d123ee7d926187db6bf7100073ba6574/pocket-cli-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "a46080564314a1724266a039d274f3ea", "sha256": "aaa61c86125c03a753936c6cd1d93fcf1b761bf6867cd09db4ac6f6d05070ce2" }, "downloads": -1, "filename": "pocket-cli-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a46080564314a1724266a039d274f3ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7977, "upload_time": "2016-02-20T14:56:22", "url": "https://files.pythonhosted.org/packages/e3/d5/6951f5cf99d05f05d9029f418ddc35506049e0543a76a93a75d363ad62b8/pocket-cli-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "afed7d9e5a2220fc28f0940f5e5a7961", "sha256": "e000e85851e0d3f1d770bbd2f4c6f9c83dd4d1a9bd5447e63e27da9575284c22" }, "downloads": -1, "filename": "pocket-cli-0.1.5.tar.gz", "has_sig": false, "md5_digest": "afed7d9e5a2220fc28f0940f5e5a7961", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8402, "upload_time": "2016-09-30T05:55:07", "url": "https://files.pythonhosted.org/packages/6c/5e/945a27f27c7cbdd48d4be56547a60076ae40f42986e6e2bb23f554ff7a41/pocket-cli-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "7e8cdc5c6da242ec180c82672e786d14", "sha256": "2b1bb53a9d5bed67dea644c38a905702ff00cfd538b627864573b87a62864f1b" }, "downloads": -1, "filename": "pocket-cli-0.1.6.tar.gz", "has_sig": false, "md5_digest": "7e8cdc5c6da242ec180c82672e786d14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8458, "upload_time": "2017-05-06T14:23:30", "url": "https://files.pythonhosted.org/packages/89/19/1ef5a7f41f0716dcad8582abb859792f3ab0218f3aec16d45588d9201dd3/pocket-cli-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e8cdc5c6da242ec180c82672e786d14", "sha256": "2b1bb53a9d5bed67dea644c38a905702ff00cfd538b627864573b87a62864f1b" }, "downloads": -1, "filename": "pocket-cli-0.1.6.tar.gz", "has_sig": false, "md5_digest": "7e8cdc5c6da242ec180c82672e786d14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8458, "upload_time": "2017-05-06T14:23:30", "url": "https://files.pythonhosted.org/packages/89/19/1ef5a7f41f0716dcad8582abb859792f3ab0218f3aec16d45588d9201dd3/pocket-cli-0.1.6.tar.gz" } ] }