{ "info": { "author": "Jake Strouse", "author_email": "jakestrouse00@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# MyPasteBot\nA simple https://pastebin.com Python package to create guest pastes, find new public pastes and more!\n\n## prerequisites\nrequests==2.22.0\n\n## Installation\n```cmd\npython -m pip install mypastebot\n```\n### Methods\n\n#### Create a New Guest Paste\n```python\nfrom mypastebot import Create\n\ntoken = Create.getToken()\npaste = Create.makePaste(text='This is the text of our new paste', title='This is the title of the paste', format='1', token=token)\nprint(\"Link: \" + paste['link'])\nprint(\"Raw Link: \" + paste['raw'])\n```\n\n #### Find Pastes Using Keyword\n ```python\nfrom mypastebot import Search\n\n# max limit is 15\npastes = Search.find(term='Python', limit=10)\n\nprint(pastes['results'])\n\n# find most recent pastes\n\npastes = Search.find(term='Python', limit=10, sortType='date')\n\nprint(pastes['results'])\n```\n\n#### Find Newest Public Pastes\n```python\nfrom mypastebot import Search\n\n\npastes = Search.new()\nprint(pastes['results'])\n\n# get new public pastes as links\npastes = Search.new(linkType='link')\nprint(pastes['results'])\n\n# get new public pastes as raw links\npastes = Search.new(linkType='raw')\nprint(pastes['results'])\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jakestrouse00/mypastebot", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mypastebot", "package_url": "https://pypi.org/project/mypastebot/", "platform": "", "project_url": "https://pypi.org/project/mypastebot/", "project_urls": { "Homepage": "https://github.com/jakestrouse00/mypastebot" }, "release_url": "https://pypi.org/project/mypastebot/0.2/", "requires_dist": [ "requests (==2.22.0)" ], "requires_python": ">=3.6", "summary": "A Python solution to creating pastes as a guest, listing new public pastes and more", "version": "0.2" }, "last_serial": 5915568, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8ea8332e02aaa63f152ffe20dc4dfada", "sha256": "8e8db5747533a8593995178147504ce18edc29039fa82f8020cd8a8d14a80aba" }, "downloads": -1, "filename": "mypastebot-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8ea8332e02aaa63f152ffe20dc4dfada", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 1629, "upload_time": "2019-10-02T00:29:36", "url": "https://files.pythonhosted.org/packages/56/ba/52ff6f01be09b13cecab50235441870428247471bcda3eb6a24bce17ad23/mypastebot-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce108ea466b973af763dcd43393866a0", "sha256": "0077b72e451cdd4a0953ff4f46fa53390ad03d37187e2eb08e2f3d125cbd8ad1" }, "downloads": -1, "filename": "mypastebot-0.1.tar.gz", "has_sig": false, "md5_digest": "ce108ea466b973af763dcd43393866a0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1622, "upload_time": "2019-10-02T00:29:39", "url": "https://files.pythonhosted.org/packages/12/10/327e0604865101aa2dda01defe9540daf676dbb936868bab15215fe5e7c0/mypastebot-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c2f81f6fdaba62adcdecd7f18442eefd", "sha256": "37533701e25d6e802743f88e387d3986817357dd116016e793eddf31dc21bbff" }, "downloads": -1, "filename": "mypastebot-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c2f81f6fdaba62adcdecd7f18442eefd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 1634, "upload_time": "2019-10-02T00:44:56", "url": "https://files.pythonhosted.org/packages/59/e0/a76d9ddde7e819dd656c2a56a7a00a1902aa1e63edddfbf19522f848083c/mypastebot-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa1f6faad967693224741314201f2eac", "sha256": "9e905a4bcdce89a787d5f552ee50fb68a6f33e13e3162e576e354d2eea3d921d" }, "downloads": -1, "filename": "mypastebot-0.2.tar.gz", "has_sig": false, "md5_digest": "aa1f6faad967693224741314201f2eac", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1622, "upload_time": "2019-10-02T00:44:57", "url": "https://files.pythonhosted.org/packages/8f/77/221b53e3621074acba522d6221248f1a1282493405a8f701a08107647dd9/mypastebot-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c2f81f6fdaba62adcdecd7f18442eefd", "sha256": "37533701e25d6e802743f88e387d3986817357dd116016e793eddf31dc21bbff" }, "downloads": -1, "filename": "mypastebot-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c2f81f6fdaba62adcdecd7f18442eefd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 1634, "upload_time": "2019-10-02T00:44:56", "url": "https://files.pythonhosted.org/packages/59/e0/a76d9ddde7e819dd656c2a56a7a00a1902aa1e63edddfbf19522f848083c/mypastebot-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa1f6faad967693224741314201f2eac", "sha256": "9e905a4bcdce89a787d5f552ee50fb68a6f33e13e3162e576e354d2eea3d921d" }, "downloads": -1, "filename": "mypastebot-0.2.tar.gz", "has_sig": false, "md5_digest": "aa1f6faad967693224741314201f2eac", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1622, "upload_time": "2019-10-02T00:44:57", "url": "https://files.pythonhosted.org/packages/8f/77/221b53e3621074acba522d6221248f1a1282493405a8f701a08107647dd9/mypastebot-0.2.tar.gz" } ] }