{
"info": {
"author": "Vanessa Barreiros",
"author_email": "vanessa.barreiros@citi.org.br",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Utilities"
],
"description": "CITi's Wikibot\n==============\n\n\n.. image:: https://codecov.io/gh/CITi-UFPE/citi-wikibot/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/CITi-UFPE/citi-wikibot\n :alt: codecov\n \n.. image:: https://circleci.com/gh/CITi-UFPE/citi-wikibot.svg?style=svg\n :target: https://circleci.com/gh/CITi-UFPE/citi-wikibot\n :alt: CircleCI\n \n.. image:: https://badge.fury.io/py/citi-wikibot.svg\n :target: https://badge.fury.io/py/citi-wikibot\n :alt: PyPI version\n\n\nPython script to easily edit pages on `CITi's Wiki `_ directly from shell or using a Markdown (.md) file. Currently, our Wiki is made using `MediaWiki `_.\n\nInstallation\n------------\n\n.. code-block:: shell\n\n $ pip install citi-wikibot\n\nUsage\n-----\n\nNote: Keep in mind that every command will overwrite the current page content with the one you provide.\n\nQuickstart\n^^^^^^^^^^\n\n\n#. Just initialize your Wikibot\n#. Use one of the commands, it's that simple :sparkles: \n\nEditing a page directly from the shell\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: shell\n\n $ python\n >>> from wikibot import Wikibot\n >>> bot = Wikibot('username', 'password', 'page_title')\n >>> bot.edit_page('== My title ==\\nHello world!')\n\nEditing a page from a Markdown file\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n..\n\n Important: It's recommended that you run the script in the folder your file is located\n\n\n.. code-block:: shell\n\n $ ls\n notes.md\n $ python\n >>> from wikibot import Wikibot\n >>> bot = Wikibot('username', 'password', 'page_title')\n >>> bot.edit_page_from_file('notes.md')\n\nGets the Homepage from GitHub wiki of your repository\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nAutomatically gets your GitHub wiki homepage (\\ `example `_\\ ), parses it and edits the page on CITi Wiki (\\ `result `_\\ ).\n\nYou must declare your `personal access token from GitHub `_ in a variable called ``GITHUB_TOKEN`` in order to use this command.\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: shell\n\n $ GITHUB_TOKEN=\"mypersonalaccesstoken123\"\n $ python\n >>> from wikibot import Wikibot\n >>> bot = Wikibot('username', 'password', 'page_title')\n >>> bot.edit_page_from_github('my_repository')\n GitHub's wiki homepage from my_repository successfully loaded and edited!\n Check it here: http://wiki.citi.org.br/index.php?title=insert_page\n\nReference\n---------\n\n``edit_page(content)``\n^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n\n* \n ``content`` (string): The content you want to put in the page. Note that it will overwrite the current one! **It accepts Wikicode (Wikipedia and MediaWiki format).**\n\n Example:\n\n .. code-block:: python\n\n from wikibot import Wikibot\n\n bot = Wikibot('myusername', '123', 'My_Page')\n bot.edit_page('*Hello* world!')\n\n``edit_page_from_file(file)``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n\n* \n ``file`` (string): The file name you want to load. It must be in Markdown format!\n\n Example:\n\n .. code-block:: python\n\n from wikibot import Wikibot\n\n bot = Wikibot('myusername', '123', 'My_Page')\n bot.edit_page_from_file('notes.md')\n\n``edit_page_from_github(repo)``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n\n* \n ``repo`` (string): The name of your repository. It needs to have a Wiki. The script will automatically search in **citi-ufpe's organization**.\n\n ..\n\n Remember to declare your ``GITHUB_TOKEN`` environment variable! Instructions above in **Usage**.\n\n\n Example:\n\n .. code-block:: python\n\n from wikibot import Wikibot\n\n bot = Wikibot('myusername', '123', 'My_Page')\n bot.edit_page_from_github('my-repo')",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/citi-ufpe/citi-wikibot",
"keywords": "wiki,bot,wikibot,citi",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "citi-wikibot",
"package_url": "https://pypi.org/project/citi-wikibot/",
"platform": "",
"project_url": "https://pypi.org/project/citi-wikibot/",
"project_urls": {
"Homepage": "https://github.com/citi-ufpe/citi-wikibot"
},
"release_url": "https://pypi.org/project/citi-wikibot/0.4.14/",
"requires_dist": null,
"requires_python": "",
"summary": "CITi Wiki pages editing with Python made easy.",
"version": "0.4.14"
},
"last_serial": 3918907,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "9c1f68bdf2cc0d9462833d3eba540075",
"sha256": "e3df43b49cec031fc5844f3593b0586ca82368c6d7e80da994501a20d1f91cd6"
},
"downloads": -1,
"filename": "citi-wikibot-0.1.tar.gz",
"has_sig": false,
"md5_digest": "9c1f68bdf2cc0d9462833d3eba540075",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1392,
"upload_time": "2018-05-30T03:40:14",
"url": "https://files.pythonhosted.org/packages/58/01/28c1a89d1fd10d51292ab89050febdc8e53d10530d801507b41ba222a7ec/citi-wikibot-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "2176b6d63932180aec732848b61bf37a",
"sha256": "3088f7dcb5dde9077db5d11d2a7036129a67e21e25e31b8a41295af223ca4f09"
},
"downloads": -1,
"filename": "citi-wikibot-0.2.tar.gz",
"has_sig": false,
"md5_digest": "2176b6d63932180aec732848b61bf37a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1335,
"upload_time": "2018-05-30T04:00:52",
"url": "https://files.pythonhosted.org/packages/3c/70/46a0d32ffcdd9d4901c8c848e2b04b21dff411fc966cb92dda13175fa2dc/citi-wikibot-0.2.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "79f3a7bc137d202ece3bf90cf5cb1312",
"sha256": "a2473e68de893cb3a20aa043526a04146f998b71d1039694b0823436b5f67a6c"
},
"downloads": -1,
"filename": "citi-wikibot-0.3.tar.gz",
"has_sig": false,
"md5_digest": "79f3a7bc137d202ece3bf90cf5cb1312",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1334,
"upload_time": "2018-05-30T04:06:45",
"url": "https://files.pythonhosted.org/packages/a9/9d/9b51b45add24b1477c028265c35d776ba69770cad213c1c6fefb52966ec1/citi-wikibot-0.3.tar.gz"
}
],
"0.4.1": [
{
"comment_text": "",
"digests": {
"md5": "7e31b8c774a16f9718d33429fb96075a",
"sha256": "de5ca3f174df350beb801d0c79dc31e165313ab2a88e2a88157cdc823c43aacc"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "7e31b8c774a16f9718d33429fb96075a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2401,
"upload_time": "2018-05-30T04:21:08",
"url": "https://files.pythonhosted.org/packages/97/11/b942440e83c99a8bd1935d527e7ca81c5dc7b2bdcc87a90ca275200a8502/citi-wikibot-0.4.1.tar.gz"
}
],
"0.4.10": [
{
"comment_text": "",
"digests": {
"md5": "4ce1bd86ecf294aea91e01f5853f360a",
"sha256": "fef8df123686cda33efd4832eece11102fe67a7f65b765c8ac3af5d42bb17bba"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.10.tar.gz",
"has_sig": false,
"md5_digest": "4ce1bd86ecf294aea91e01f5853f360a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2288,
"upload_time": "2018-05-30T06:36:54",
"url": "https://files.pythonhosted.org/packages/d0/2a/978526ac59fc92e4f36145cd1eb0d3cf0d1524b7fc0fa8788a1340acf267/citi-wikibot-0.4.10.tar.gz"
}
],
"0.4.11": [
{
"comment_text": "",
"digests": {
"md5": "8e71248bd5ee82a4dd1a96a71bdc8a22",
"sha256": "ca29435bf514e8f4357baa037b81915ada7e6c7ed57e262f0c3cba1f5fdfb90b"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.11.tar.gz",
"has_sig": false,
"md5_digest": "8e71248bd5ee82a4dd1a96a71bdc8a22",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4518,
"upload_time": "2018-05-31T22:32:48",
"url": "https://files.pythonhosted.org/packages/5f/3c/1c4392df3adb3c03d8b8c73332d0f7ba3e73cc86aa124a96b9860d8ac78f/citi-wikibot-0.4.11.tar.gz"
}
],
"0.4.12": [
{
"comment_text": "",
"digests": {
"md5": "5e7b1aa556181ead8e49ee835c8bc6f9",
"sha256": "feb1d1af9ffad385609f139a4e13363e1d8e5db81fec9714374ed6189c92d0be"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.12.tar.gz",
"has_sig": false,
"md5_digest": "5e7b1aa556181ead8e49ee835c8bc6f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4668,
"upload_time": "2018-05-31T22:38:39",
"url": "https://files.pythonhosted.org/packages/df/40/060cd8c02ec6fc5de47954652b7cbfe78975c7a3d664da1975e396800d5c/citi-wikibot-0.4.12.tar.gz"
}
],
"0.4.13": [
{
"comment_text": "",
"digests": {
"md5": "a4768136f8ee4f7df99d95038601d81a",
"sha256": "7e3bedab382b28d7a75b5378532efbf13e8ca26158f14294d931ef184b8ed6f4"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.13.tar.gz",
"has_sig": false,
"md5_digest": "a4768136f8ee4f7df99d95038601d81a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4336,
"upload_time": "2018-05-31T23:07:07",
"url": "https://files.pythonhosted.org/packages/ae/b3/4517ad26209103366ffbcab961de0233f053f9be20fecbf0c4f3491ecb4b/citi-wikibot-0.4.13.tar.gz"
}
],
"0.4.14": [
{
"comment_text": "",
"digests": {
"md5": "06844be5830fbb02a6f90faa4e1c082d",
"sha256": "33b191a4de831b04100250c39e70caa63e79d4233cda3ab8fd701110bc1d684e"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.14.tar.gz",
"has_sig": false,
"md5_digest": "06844be5830fbb02a6f90faa4e1c082d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4332,
"upload_time": "2018-05-31T23:15:06",
"url": "https://files.pythonhosted.org/packages/a7/5b/dea457daabf0ad78fd4feecc73858dc826911070a1102134b17cc8f8ace3/citi-wikibot-0.4.14.tar.gz"
}
],
"0.4.2": [
{
"comment_text": "",
"digests": {
"md5": "5023ef6db6032ecf4ec60706ab0e2a1b",
"sha256": "a6d8bca70b23c63a31e3e657980dad3a6020af4ef70d6f1bc0c3647daa9fcfe5"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "5023ef6db6032ecf4ec60706ab0e2a1b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2402,
"upload_time": "2018-05-30T04:25:19",
"url": "https://files.pythonhosted.org/packages/d0/2a/72122940667aa217c700dbd7467d0d840a3b1dc108d0634dbb62c872d189/citi-wikibot-0.4.2.tar.gz"
}
],
"0.4.3": [
{
"comment_text": "",
"digests": {
"md5": "a19bc803fd7be5024990232a23db2e75",
"sha256": "3a8ae112c40af6e18e9140349500a931dec1ecfcd6f5b15228e86929abedadf6"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "a19bc803fd7be5024990232a23db2e75",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2409,
"upload_time": "2018-05-30T04:30:26",
"url": "https://files.pythonhosted.org/packages/68/e4/ca5d40f776ab5cc7b1f2613b9f0026ebdbfe1eb96a0a6b00408c80f9a0b4/citi-wikibot-0.4.3.tar.gz"
}
],
"0.4.4": [
{
"comment_text": "",
"digests": {
"md5": "9c020b629c98b6d6e944fe5eb72f499e",
"sha256": "c23f9ef6bee8566ceb706786967c6a09af068811f48228a4eda5a5bf3660943f"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.4.tar.gz",
"has_sig": false,
"md5_digest": "9c020b629c98b6d6e944fe5eb72f499e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2448,
"upload_time": "2018-05-30T04:33:18",
"url": "https://files.pythonhosted.org/packages/43/bb/d8e124757b7823618b67c7f0a77efd32920e8bae2a80365af83ce86fa8ba/citi-wikibot-0.4.4.tar.gz"
}
],
"0.4.5": [
{
"comment_text": "",
"digests": {
"md5": "b75d4d4769745330cb92c889660770ea",
"sha256": "c5c84e2d23e57affb0bd4287c89ba28d2bd599c59d42408b1288781c6d403ca9"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.5.tar.gz",
"has_sig": false,
"md5_digest": "b75d4d4769745330cb92c889660770ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1756,
"upload_time": "2018-05-30T04:33:47",
"url": "https://files.pythonhosted.org/packages/c2/4d/43cfcd368379ca7396d99b92fe98ec37753f387c010e533c19aa960c5fce/citi-wikibot-0.4.5.tar.gz"
}
],
"0.4.6": [
{
"comment_text": "",
"digests": {
"md5": "b30183bdd83cba234fbf7b88d0633943",
"sha256": "869ed0d2c8cd5f2961d24c4aa0bb72bd8d3b8a1965831861d4db3748bb6a9cfc"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.6.tar.gz",
"has_sig": false,
"md5_digest": "b30183bdd83cba234fbf7b88d0633943",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2089,
"upload_time": "2018-05-30T04:37:34",
"url": "https://files.pythonhosted.org/packages/e2/03/b88cb756e356beb919ede21e4efe18182b581691dff3408e23ee62c4fd27/citi-wikibot-0.4.6.tar.gz"
}
],
"0.4.7": [
{
"comment_text": "",
"digests": {
"md5": "f4388f5c22786ed46e1d51289ad87c83",
"sha256": "df01d13c8ae56d87165121382f5d602295c887453ce4ded41e3bcdd347e701f4"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.7.tar.gz",
"has_sig": false,
"md5_digest": "f4388f5c22786ed46e1d51289ad87c83",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2055,
"upload_time": "2018-05-30T04:38:12",
"url": "https://files.pythonhosted.org/packages/b6/e2/23b9c0a61b3c112e1ce7c6fd9e2564880efa9f39ddd909c3f0d6cdccb62b/citi-wikibot-0.4.7.tar.gz"
}
],
"0.4.8": [
{
"comment_text": "",
"digests": {
"md5": "b0efa4c83f7f4a608adc25830a54851e",
"sha256": "11d5bab95832be44166d7d97228e297137c6734a59be069b8dc6357569427c2d"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.8.tar.gz",
"has_sig": false,
"md5_digest": "b0efa4c83f7f4a608adc25830a54851e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2063,
"upload_time": "2018-05-30T04:42:36",
"url": "https://files.pythonhosted.org/packages/a8/1d/142128f6e7346069ea68d1175e99f0e66c270c67847d150f76325688040d/citi-wikibot-0.4.8.tar.gz"
}
],
"0.4.9": [
{
"comment_text": "",
"digests": {
"md5": "54b103355f7453d86a9b9697a19c367f",
"sha256": "fbe693046358a46507f08bd768d1b69dd95bb1abf102a91af280b7b4672ef20d"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.9.tar.gz",
"has_sig": false,
"md5_digest": "54b103355f7453d86a9b9697a19c367f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2053,
"upload_time": "2018-05-30T04:44:31",
"url": "https://files.pythonhosted.org/packages/1c/65/70b76196ada2ff87820096d51faa76df07a77cc19a135048057a28b098d6/citi-wikibot-0.4.9.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "06844be5830fbb02a6f90faa4e1c082d",
"sha256": "33b191a4de831b04100250c39e70caa63e79d4233cda3ab8fd701110bc1d684e"
},
"downloads": -1,
"filename": "citi-wikibot-0.4.14.tar.gz",
"has_sig": false,
"md5_digest": "06844be5830fbb02a6f90faa4e1c082d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4332,
"upload_time": "2018-05-31T23:15:06",
"url": "https://files.pythonhosted.org/packages/a7/5b/dea457daabf0ad78fd4feecc73858dc826911070a1102134b17cc8f8ace3/citi-wikibot-0.4.14.tar.gz"
}
]
}