{ "info": { "author": "Pawel Suwala", "author_email": "pawel.suwala@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP" ], "description": "pywiki\n======\n\nThis is very simple terminal interface (TUI) for managing personal mediawiki installation.\n\nI have a mediawiki installation on personal server for storing various notes, ranging from family addresses to code \nsnippets, configuration files and commands I rarely use and can't remember.\n\nWhile standard web-interface is functional, you have to launch a browser and it takes numerous clicks to find anything. \nI find it much more convenient to use `$ wiki my_commands` or `$ wiki search IP` as shown below:\n\n# Installation\npywiki supports both python2 and python3. If you have a choice, use python3.\n\nRecommended way is to use PyPI:\n```shell\nsudo pip3 install pywiki # or sudo pip install pywiki\n```\n\nor, if you want to install from source:\n\n```shell\ngit clone git@github.com:sniku/pywiki.git\ncd pywiki\nsudo python3 setup.py install # or sudo python2 setup.py install\n```\n\n# Configuration\n\ncreate a config file in `~/.config/wiki_client.conf`\n\n```shell\ncat ~/.config/wiki_client.conf\n\n[defaults]\n# This is the only required config directive, all the others are optional.\nMEDIAWIKI_URL: http://mywiki.example.net/\n\n# force an editor. Otherwise your default editor will be used.\n# I use vim, but you can use gedit or \"gvim --nofork\" or whatever you like.\nFORCE_EDITOR: vim\n \n# This is only required if you want to edit articles as a logged in user. (You have to create an account first)\nMEDIAWIKI_USERNAME: wikiuser\nMEDIAWIKI_PASSWORD: wikipassword\n \n# This is only required if your wiki installation is behind an additional HTTP auth.\nHTTP_AUTH_USERNAME: httpauth_user\nHTTP_AUTH_PASSWORD: httpauth_password\n```\n#### VIM syntax coloring\nIf you happen to use `vim` as your editor, you may want to copy the vim \nsyntax coloring files for nicer editing experience.\n`cp -r pywiki/vim ~/.vim`\n\n### Most common use case\n\nMost common use case is to open specific article for editing or viewing\n`$ wiki my_article`\n\nAr this point article `my_article` will be opened in your text editor.\nIf article doesn't exist, it will be created.\n\n### Usage:\n```\nwiki\nwiki [go] \nwiki [go] < stdin_file.txt\nwiki append \nwiki log \nwiki cat \nwiki mv \nwiki upload []\nwiki --help\n```\n### Interactive mode\n \nThis goes to interactive mode:\n\n```\n$ wiki\n Wiki command: go my_commands \n Opening \"my_commands\" # at this point your default editor is opened with the content of \"my_commands\"\n Saving \"my_commands\"\n```\n#### Searching for a note\n```\n$ wiki\nWiki command: /IP # this is shortcut for \"search IP\"\nSearching for \"IP\"\n1: Sysadmin tools \n\t nmap -sT -PN -n -sV -p- 192.168.5.63 # scan the shit out of this IP == ip configuration ==\n2: Kzk notes \n\t select ip , count( ip ) as ile group by ip \n3: Network \n\t IP : 192.168.5.254\n4: Work notes \n\t Subnet mask Example IP \n \nSelect 1, 2, 3, 4 to open the article\n\nWiki command: 3\nOpening \"Network\" # opens content of \"Network\" in your default editor\n```\n\n#### Uploading a file\n\nBy default mediawiki requires you to log-in before you can upload a file so fill in your username and password in the \nconfig file first. \n \n`$ wiki upload ~/path/to/file.txt`\n\n#### Quick edits\n\nThis is the a quick way to append short text to the end of your article:\n\n`$ wiki append my_article \"some text here\"`\n \nIt's great for integrating with other programs. You can run this for example in cron.\n\nThere's alternative version if you want to append text from a text file:\n\n`$ wiki my_article < ~/path/to/some_file.txt`\n \nThere's also a logging function:\n\n`$ wiki log my_article \"I did a thing!\"`\n \nThis results in appending something like this to the end of the article:\n\n 2016-08-21 15:54 I did a thing!\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sniku/pywiki", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pywiki", "package_url": "https://pypi.org/project/pywiki/", "platform": "", "project_url": "https://pypi.org/project/pywiki/", "project_urls": { "Homepage": "https://github.com/sniku/pywiki" }, "release_url": "https://pypi.org/project/pywiki/0.3.4/", "requires_dist": null, "requires_python": "", "summary": "A command line mediawiki client.", "version": "0.3.4" }, "last_serial": 2642150, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "e0f7b3adeb77b4702e527d19ae703206", "sha256": "96ac31367bdfd5b54833b3b267213620d1608c7b13c51ac258880ef2010cb7bb" }, "downloads": -1, "filename": "pywiki-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e0f7b3adeb77b4702e527d19ae703206", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6738, "upload_time": "2016-08-21T14:15:16", "url": "https://files.pythonhosted.org/packages/5a/82/2248d27b99079eabff48715899fc28bb7cf07a3ccebb1638d846a4bf31b0/pywiki-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ee9777c63abe7fb08882a0d0c690e8b5", "sha256": "cf6d57584e5e588aef68774e7155a8ceb1ad3773e2852fa03e04a02f549c1f43" }, "downloads": -1, "filename": "pywiki-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ee9777c63abe7fb08882a0d0c690e8b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6763, "upload_time": "2016-08-21T14:22:45", "url": "https://files.pythonhosted.org/packages/83/df/962c26ae96e25477dd0f5f4d017e9409dc1b6f9aa0680f6592afe01bcdf3/pywiki-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "bad8c17eb26841c9396a21d2ebbb3fc0", "sha256": "56cbbd74203be15eedb51322013d71c0509cd1b2aa1fd4b9c1774c7576e93cb2" }, "downloads": -1, "filename": "pywiki-0.2.2.tar.gz", "has_sig": false, "md5_digest": "bad8c17eb26841c9396a21d2ebbb3fc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6787, "upload_time": "2016-08-21T18:34:08", "url": "https://files.pythonhosted.org/packages/c3/59/79685f1a54bf625da5fe09cb0a6a3b38d7025b2b5e89d5c4bb7dac2e70b8/pywiki-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "f277a9388828bfeda03c5c9949723339", "sha256": "491daca4f5170a7f59ea9151bad41011035f8f97bcd9b50db2b0037edd41331d" }, "downloads": -1, "filename": "pywiki-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f277a9388828bfeda03c5c9949723339", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7175, "upload_time": "2016-08-21T18:50:05", "url": "https://files.pythonhosted.org/packages/19/42/a016c328d54ff6a63018313c4184408bde5ef3aa5bf0edc06e0cde7bbc25/pywiki-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "4e6bdcbc53e2c20e008fb751875a0bf7", "sha256": "a7e56fa25cca9760134906bfa31e7a417565af3e462825ba4fc967f3c9bdf4f4" }, "downloads": -1, "filename": "pywiki-0.2.4.tar.gz", "has_sig": false, "md5_digest": "4e6bdcbc53e2c20e008fb751875a0bf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7301, "upload_time": "2016-08-21T18:52:40", "url": "https://files.pythonhosted.org/packages/70/13/959cfb08560f7b7750a6a82f6b8d1144912f159a2a53e7a58e4d9b2c214c/pywiki-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c3dafd5ee88b9726603c1787f85eda61", "sha256": "956dcca682f6286d189f7a0c9d3f4c71194e0bef565273c84373a84cb5309bc0" }, "downloads": -1, "filename": "pywiki-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c3dafd5ee88b9726603c1787f85eda61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7371, "upload_time": "2016-08-21T20:40:54", "url": "https://files.pythonhosted.org/packages/d2/62/bc235340834585eee07f478511af77dc1dcffa8058f2ec478754092e8129/pywiki-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "08eb7f194e8639e8acbb2403abd45959", "sha256": "9a8c31c486996d3039ae6965ba7a4756821ba9e54b79983b6c1b42fd5743eaa9" }, "downloads": -1, "filename": "pywiki-0.3.1.tar.gz", "has_sig": false, "md5_digest": "08eb7f194e8639e8acbb2403abd45959", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11309, "upload_time": "2016-08-31T21:30:54", "url": "https://files.pythonhosted.org/packages/1c/aa/a839f30c51250591e420db241aac8520175f9ceef59715697b8b8497df27/pywiki-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "702cd3a7acc74248b1c1190d18bd74af", "sha256": "7f860e4c9da825357f9accc545d36eaed14a94a50e40929b1568be9a5a8c31a2" }, "downloads": -1, "filename": "pywiki-0.3.2.tar.gz", "has_sig": false, "md5_digest": "702cd3a7acc74248b1c1190d18bd74af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11363, "upload_time": "2016-09-01T17:22:59", "url": "https://files.pythonhosted.org/packages/27/f5/90a36af3548e65d5e48b010d204bc25f178496d8d895ac3c7217ed2e535e/pywiki-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "40d769e83e64799186e7c674d3579100", "sha256": "2c8309d0fed4ee77cec7bb4a6dc399d209fa2600bd44288c2657dbc7348c7b69" }, "downloads": -1, "filename": "pywiki-0.3.3.tar.gz", "has_sig": false, "md5_digest": "40d769e83e64799186e7c674d3579100", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11515, "upload_time": "2016-09-17T20:57:31", "url": "https://files.pythonhosted.org/packages/23/89/f89f2df95041f27a4bf41b73f2bdcf67c96885553bfb36a7feb58e15862d/pywiki-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f77a645b0144018c34808dfd14f721b8", "sha256": "a92fba30a9a12861782a6c5f44f0ccdeb1033279df37769d918e3e036ed44392" }, "downloads": -1, "filename": "pywiki-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f77a645b0144018c34808dfd14f721b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11575, "upload_time": "2017-02-14T20:58:40", "url": "https://files.pythonhosted.org/packages/4f/68/cb016b7ddde9203f265ad083eb194fd7f70c7d59ff1b20c2893205b04402/pywiki-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f77a645b0144018c34808dfd14f721b8", "sha256": "a92fba30a9a12861782a6c5f44f0ccdeb1033279df37769d918e3e036ed44392" }, "downloads": -1, "filename": "pywiki-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f77a645b0144018c34808dfd14f721b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11575, "upload_time": "2017-02-14T20:58:40", "url": "https://files.pythonhosted.org/packages/4f/68/cb016b7ddde9203f265ad083eb194fd7f70c7d59ff1b20c2893205b04402/pywiki-0.3.4.tar.gz" } ] }