mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-05 23:20:19 +00:00
1 line
4.9 KiB
JSON
1 line
4.9 KiB
JSON
[{"user_id": 21184, "stars": [], "topic_id": 35664, "date_created": 1305648926.6281409, "message": "I want to build a cli client for a web-based API and I'm looking for apps that serve as a good example and maybe some lobs that support a good, extensible \"architecture\" of the cli app", "group_id": 292, "id": 1084605}, {"user_id": 21184, "stars": [], "topic_id": 35664, "date_created": 1305648953.921706, "message": "lobs = libs", "group_id": 292, "id": 1084611}, {"user_id": 9229, "stars": [], "topic_id": 35664, "date_created": 1305678221.8817339, "message": "You might find plac interesting: http://pypi.python.org/pypi/plac", "group_id": 292, "id": 1090329}, {"user_id": 8391, "stars": [], "topic_id": 35664, "date_created": 1305696113.0479579, "message": "https://github.com/kennethreitz/clint", "group_id": 292, "id": 1092881}, {"user_id": 8391, "stars": [], "topic_id": 35664, "date_created": 1305696098.75264, "message": "I wrote a (fairly undocumented but extremely useful) cli module", "group_id": 292, "id": 1092878}, {"user_id": 15162, "stars": [], "topic_id": 35664, "date_created": 1305703047.1140649, "message": "+1 for plac, you might be able to generate the CLI commands directly from some of your API code (assuming it's your API, that is)", "group_id": 292, "id": 1094011}, {"user_id": 5436, "stars": [], "topic_id": 35664, "date_created": 1305703354.0381701, "message": "+1 for plac FOR PYTHON 3.", "group_id": 292, "id": 1094058}, {"user_id": 5436, "stars": [], "topic_id": 35664, "date_created": 1305703369.5575559, "message": "For Python 2, http://www.doughellmann.com/projects/CommandLineApp/ has been very good to me.", "group_id": 292, "id": 1094061}, {"user_id": 5593, "stars": [{"date_created": 1305714194.382205, "user_id": 21184}], "topic_id": 35664, "date_created": 1305704928.1177449, "message": "There is also cement (http://pypi.python.org/pypi/cement), which is quite complete. It is a whole framework for creating CLI oriented apps.", "group_id": 292, "id": 1094356}, {"user_id": 21923, "stars": [], "topic_id": 35664, "date_created": 1305711958.422332, "message": "The cmd module from the standard library provides support for line-oriented command interpreters. See http://docs.python.org/library/cmd.html and http://wiki.python.org/moin/CmdModule", "group_id": 292, "id": 1095585}, {"user_id": 22625, "stars": [{"date_created": 1305713512.419471, "user_id": 17897}], "topic_id": 35664, "date_created": 1305712246.335443, "message": "wow - so many libraries. I always just use optparse (I want to use argparse - but settling for the lower version requirement of optparse).\nOn best practices: Good error messages (please please!) e.g. is a file is missing - tell me which file you were trying to open.", "group_id": 292, "id": 1095614}, {"user_id": 21923, "stars": [], "topic_id": 35664, "date_created": 1305714659.4542789, "message": "I have written a program that uses cmd to provide the commands fronting an API, and optparse to parse input arguments. From http://wiki.python.org/moin/CmdModule : cmd is different than OptParse, in that OptParse is a tool for making command line tools. cmd, on the other hand, makes it so you can embed a command line within your program.", "group_id": 292, "id": 1095871}, {"user_id": 21184, "stars": [], "topic_id": 35664, "date_created": 1305714576.476315, "message": "Plac looks not like an advanced arg parser. Or am I missing something?", "group_id": 292, "id": 1095865}, {"user_id": 21184, "stars": [], "topic_id": 35664, "date_created": 1305714553.6870201, "message": "Thanks for the tips. Actually I was looking for something along te lines f what cement is providing although it seems a little 'heavyweight'. Any other libs maybe in that direction?", "group_id": 292, "id": 1095863}, {"user_id": 21184, "stars": [], "topic_id": 35664, "date_created": 1305714614.8157871, "message": "Looks not like = looks a lot like ... #damnyouautocorrect", "group_id": 292, "id": 1095870}, {"user_id": 21184, "stars": [{"date_created": 1307600579.3642001, "user_id": 31790}], "topic_id": 35664, "date_created": 1307122733.2791381, "message": "I just found http://jimmyg.org/blog/2009/python-command-line-interface-(cli)-with-sub-commands.html which explains exactly what I'm trying to do in very great detail", "group_id": 292, "id": 1279205}, {"user_id": 35286, "stars": [], "topic_id": 35664, "date_created": 1307324136.9733739, "message": "I have a question", "group_id": 292, "id": 1299162}, {"user_id": 35286, "stars": [], "topic_id": 35664, "date_created": 1307324148.292228, "message": "how do u change ur pic\ue403", "group_id": 292, "id": 1299165}, {"user_id": 3354, "stars": [], "topic_id": 35664, "date_created": 1307368732.7996681, "message": "@jsacco Look for your username at top right - it's a pull-down menu from which you should select \"Settings\". You should be good from there.", "group_id": 292, "id": 1303397}, {"user_id": 35260, "stars": [], "topic_id": 35664, "date_created": 1307406598.2392731, "message": "@holdenweb how", "group_id": 292, "id": 1314860}] |