{ "info": { "author": "Fog Creek Software", "author_email": "customer-service@fogcreek.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development", "Topic :: Software Development :: Bug Tracking", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Version Control", "Topic :: Utilities" ], "description": ".. image:: https://img.shields.io/pypi/v/fogbugz_bis.svg\n :target: https://pypi.org/project/fogbugz_bis\n\n.. image:: https://img.shields.io/pypi/pyversions/fogbugz_bis.svg\n\n.. image:: https://img.shields.io/travis/yougov/FogBugzPy/master.svg\n :target: https://travis-ci.org/yougov/FogBugzPy\n\n.. .. image:: https://img.shields.io/appveyor/ci/yougov/FogBugzPy/master.svg\n.. :target: https://ci.appveyor.com/project/yougov/FogBugzPy/branch/master\n\n.. .. image:: https://readthedocs.org/projects/fogbugzpy/badge/?version=latest\n.. :target: https://fogbugzpy.readthedocs.io/en/latest/?badge=latest\n\nPython FogBugz API Wrapper\n--------------------------\n\nThis Python API is simply a wrapper around the FogBugz API, with some help from Leonard Richardson's BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) and the magic of Python's __getattr__().\n\nGetting Started:\n----------------\n\nTo use the FogBugz API, install the package by using pip\n\n $ pip install fogbugz\n\nA Quick Example:\n----------------\n\n::\n\n >>> from fogbugz import FogBugz\n >>> fb = FogBugz(\"http://example.fogbugz.com/\") # URL is to your FogBugz install\n >>> fb.logon(\"logon@example.com\", \"password\")\n >>> resp = fb.search(q=\"assignedto:tyler\") # All calls take named parameters, per the API\n >>> resp # Responses are BeautifulSoup objects of the response XML.\n \n >>> # You shouldn't need to know too much about BeautifulSoup, but the documentation can be found here:\n >>> # http://www.crummy.com/software/BeautifulSoup/documentation.html\n >>> for case in resp.cases.childGenerator(): # One way to access the cases\n ... print case['ixbug']\n ...\n 1\n 2\n >>> for case in resp.findAll('case'): # Another way to access the cases\n ... print case['operations']\n ...\n edit,assign,resolve,email,remind\n edit,spam,assign,resolve,reply,forward,remind\n >>> resp = fb.edit(ixbug=1, sEvent=\"Edit from the API\") # Note the named parameters\n >>> resp\n \n\nNote that, per API v5.0, all data between tags, such as the token, is now wrapped in CDATA. BeautifulSoup's implementation of CData generally allows for it to be treated as a string, except for one important case: CData.__str__() (a.k.a. str(CData)) returns the full text, including the CDATA wrapper (e.g. \"\"). To avoid accidentally including the CDATA tage, use CData.encode('utf-8')\n\nAdditional Details:\n-------------------\n\nIf your script requires a certain version of the FogBugz API, make sure to pass it as an argument to the constructor. This will protect you from unexpected differences should we make backwards-incompatible changes.\n\n >>> from fogbugz import FogBugz\n >>> fb = FogBugz(\"http://example.fogbugz.com\", api_version=5)\n\nFor more info on the API:\nhttp://help.fogcreek.com/the-fogbugz-api\n\nMuch of the API has not been thoroughly tested. Please report bugs to customer-service@fogcreek.com\n\n``fogbugz_bis`` is a fork of the FogCreek codebase to support Python 3 and\nBeautifulSoup 4. You should install/require only one of ``fogbugz`` or\n``fogbugz_bis`` as they both implement the same module.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yougov/FogBugzPy", "keywords": "", "license": "", "maintainer": "YouGov, Plc.", "maintainer_email": "open-source@yougov.com", "name": "fogbugz-bis", "package_url": "https://pypi.org/project/fogbugz-bis/", "platform": "", "project_url": "https://pypi.org/project/fogbugz-bis/", "project_urls": { "Homepage": "https://github.com/yougov/FogBugzPy" }, "release_url": "https://pypi.org/project/fogbugz-bis/1.1/", "requires_dist": [ "BeautifulSoup4", "lxml", "six", "sphinx ; extra == 'docs'", "jaraco.packaging (>=3.2) ; extra == 'docs'", "rst.linker (>=1.9) ; extra == 'docs'", "pytest (!=3.7.3,>=3.5) ; extra == 'testing'", "pytest-checkdocs ; extra == 'testing'", "pytest-flake8 ; extra == 'testing'" ], "requires_python": ">=2.7", "summary": "Python library for interacting with the FogBugz API", "version": "1.1" }, "last_serial": 5155315, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "8f1c02f3516f24c267685d9f2d99db4e", "sha256": "727a633d6614472bada426d8c2672ca9dac8849b29bb23eca33b601a154def5a" }, "downloads": -1, "filename": "fogbugz_bis-1.0.tar.gz", "has_sig": false, "md5_digest": "8f1c02f3516f24c267685d9f2d99db4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5123, "upload_time": "2015-10-14T16:22:20", "url": "https://files.pythonhosted.org/packages/87/29/9a72ae88270a76b732ed5f1c480ea480d8af04ee0303783ccbade405b287/fogbugz_bis-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d56313126c03f1f781a330a0b9f9b540", "sha256": "03f36a9a7efc8539e76be954b115e7c75f32fc18770fb04b666700af5c56ec6e" }, "downloads": -1, "filename": "fogbugz_bis-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d56313126c03f1f781a330a0b9f9b540", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7577, "upload_time": "2015-10-14T18:35:51", "url": "https://files.pythonhosted.org/packages/3a/b4/13e9cc5fda402932ad98875c1d4373074c34507002ce4bdbb8642717c0d6/fogbugz_bis-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2c9bda40100c2336f83ed3c478c61036", "sha256": "6f613feedef9be10df5d1d980656edba7145d3305319f6c99b1f74559aa3bda2" }, "downloads": -1, "filename": "fogbugz_bis-1.0.2.tar.gz", "has_sig": false, "md5_digest": "2c9bda40100c2336f83ed3c478c61036", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7608, "upload_time": "2015-10-14T18:39:44", "url": "https://files.pythonhosted.org/packages/9c/69/50c5d28fe16086509bac27ac01b7e6061285e1c2a8804388f4ad3782bb6e/fogbugz_bis-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "67ca3ab06a5e0b172520546d2520bc31", "sha256": "35d16a0df01cff0ff146904840b1bc6c45ca2a8eb13e7c1d5ba2e07e09132fec" }, "downloads": -1, "filename": "fogbugz_bis-1.0.3.tar.gz", "has_sig": false, "md5_digest": "67ca3ab06a5e0b172520546d2520bc31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7558, "upload_time": "2015-10-19T12:39:10", "url": "https://files.pythonhosted.org/packages/d8/48/485a3fda72d4144948fcc1972621106f9aac75ec8e5da650ec4a264f4072/fogbugz_bis-1.0.3.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "57eb8ef6196403cca8a118e438e8dece", "sha256": "8ede274f04bf729df4935671f5776e4dfa063b85d5e2b4be8d6a3d165891701c" }, "downloads": -1, "filename": "fogbugz_bis-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "57eb8ef6196403cca8a118e438e8dece", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8540, "upload_time": "2017-04-04T17:36:56", "url": "https://files.pythonhosted.org/packages/5c/55/d5f9694495bfad1ce5788b511058c09b97773adaf32e2a7dd9a82d652f72/fogbugz_bis-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c129d958eee8c0ec8a766f4d4e97ce1", "sha256": "12edf8f1ee3bd9254207d15ca93b0216ad53fbf52f8ce2eb9fb0c7f5d68a7781" }, "downloads": -1, "filename": "fogbugz_bis-1.0.6.tar.gz", "has_sig": false, "md5_digest": "6c129d958eee8c0ec8a766f4d4e97ce1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7589, "upload_time": "2017-04-04T17:36:35", "url": "https://files.pythonhosted.org/packages/89/37/a1a7904b7f0bb9573a12305bbb6e246d7f1a462e4c0e46cc7590614d5ac2/fogbugz_bis-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "0dc916e4745da02d2fbe1f2024fd54ee", "sha256": "9ff1ffbf46cf75ee87039d29fcd398c07ff6a2236bdfe770441babd560a7a75a" }, "downloads": -1, "filename": "fogbugz_bis-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "0dc916e4745da02d2fbe1f2024fd54ee", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 8583, "upload_time": "2018-05-02T15:09:07", "url": "https://files.pythonhosted.org/packages/8c/47/5a074b265997d925484da47f82ff59aff4b8c74b1eca1076f353e539912f/fogbugz_bis-1.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2224028b3e95a5cf41e98ced83ed4cd1", "sha256": "458d342445f050604ac320b7fe1b1b11fa8e93b0f3a3146a58fc6cfabed0508d" }, "downloads": -1, "filename": "fogbugz_bis-1.0.7.tar.gz", "has_sig": false, "md5_digest": "2224028b3e95a5cf41e98ced83ed4cd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6996, "upload_time": "2018-05-02T15:09:06", "url": "https://files.pythonhosted.org/packages/4e/69/5d4031b58ac27f34faf3025c8f0eb5ab0e93ed05278bde69f69572bbaf9c/fogbugz_bis-1.0.7.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "21c40c3a6b6b55a4ef673bf3a7dc3d6c", "sha256": "0488637e96a1e6231db8913b2265dc5d59a81c5e1e55ff93649d9f12aa78ddba" }, "downloads": -1, "filename": "fogbugz_bis-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c40c3a6b6b55a4ef673bf3a7dc3d6c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 5962, "upload_time": "2019-04-17T13:59:37", "url": "https://files.pythonhosted.org/packages/a6/21/1c8ba747db860933035fa067e7208e42f8026ae2f5fb6d48b49e6112c781/fogbugz_bis-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e09cc673949127ea915ed4f37a75468c", "sha256": "d753ee4c27b32d1631d9ada6920fdd44515fa17eadc68ae8d14795c1c393d545" }, "downloads": -1, "filename": "fogbugz_bis-1.1.tar.gz", "has_sig": false, "md5_digest": "e09cc673949127ea915ed4f37a75468c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 11392, "upload_time": "2019-04-17T13:59:38", "url": "https://files.pythonhosted.org/packages/10/c6/85af1b4a5d523e2a9c7bb868599493cd5dfe99eb01a4ffaf7d7217a1a23a/fogbugz_bis-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21c40c3a6b6b55a4ef673bf3a7dc3d6c", "sha256": "0488637e96a1e6231db8913b2265dc5d59a81c5e1e55ff93649d9f12aa78ddba" }, "downloads": -1, "filename": "fogbugz_bis-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c40c3a6b6b55a4ef673bf3a7dc3d6c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 5962, "upload_time": "2019-04-17T13:59:37", "url": "https://files.pythonhosted.org/packages/a6/21/1c8ba747db860933035fa067e7208e42f8026ae2f5fb6d48b49e6112c781/fogbugz_bis-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e09cc673949127ea915ed4f37a75468c", "sha256": "d753ee4c27b32d1631d9ada6920fdd44515fa17eadc68ae8d14795c1c393d545" }, "downloads": -1, "filename": "fogbugz_bis-1.1.tar.gz", "has_sig": false, "md5_digest": "e09cc673949127ea915ed4f37a75468c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 11392, "upload_time": "2019-04-17T13:59:38", "url": "https://files.pythonhosted.org/packages/10/c6/85af1b4a5d523e2a9c7bb868599493cd5dfe99eb01a4ffaf7d7217a1a23a/fogbugz_bis-1.1.tar.gz" } ] }