{ "info": { "author": "Bastian Venthur", "author_email": "venthur@debian.org", "bugtrack_url": null, "classifiers": [], "description": "# python-popcon\n\nGet Debian [popularity contest](https://popcon.debian.org/) values for given\npackages.\n\n\n## Installation\n\n```bash\n$ pip install popcon\n```\n\n\n## Usage\n\nThe usage of this module is easy:\n\n```python\n>>> import popcon\n>>> popcon.package('reportbug-ng')\n{'reportbug-ng': 323}\n>>> popcon.package('reportbug-ng', 'reportbug')\n{'reportbug-ng': 323, 'reportbug': 75065}\n```\n\nThe raw data (vote, old, recent, no-file) is also available, the sum of the raw\nnumbers is the number of installations as reported by `popcon.package`.\n\n```python\n>>> popcon.package_raw('reportbug-ng', 'reportbug')\n{'reportbug-ng': Package(vote=50, old=187, recent=86, no_files=0),\n 'reportbug': Package(vote=5279, old=59652, recent=10118, no_files=16)}\n```\n\nBehind the scene popcon will try to use cached information saved in a file in\nthe ~/.cache/popcon directory. If the relevant file is not available, or older\nthan `EXPIRY` seconds (default is 7 days) it will download fresh data and save\nthat.\n\nThe cached data will be kept in memory unless `KEEP_DATA` is set to False.\n\n\n## Command Line Interface\n\n```\n$ popcon reportbug\n{'reportbug': 177670}\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/venthur/python-popcon", "keywords": "debian", "license": "GPL2", "maintainer": "", "maintainer_email": "", "name": "python-popcon", "package_url": "https://pypi.org/project/python-popcon/", "platform": "", "project_url": "https://pypi.org/project/python-popcon/", "project_urls": { "Homepage": "http://github.com/venthur/python-popcon" }, "release_url": "https://pypi.org/project/python-popcon/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Python interface to Debian's popularity contest database", "version": "2.0.0" }, "last_serial": 4690708, "releases": { "1.3": [ { "comment_text": "", "digests": { "md5": "c48033c6ebc1b3797231694bdd1dc43b", "sha256": "6ffbf1c9d6d7564fbfdc49cd133db2ea95e370bc830d82170b9412b6ee62105f" }, "downloads": -1, "filename": "python-popcon-1.3.tar.gz", "has_sig": false, "md5_digest": "c48033c6ebc1b3797231694bdd1dc43b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3047, "upload_time": "2015-08-24T11:43:30", "url": "https://files.pythonhosted.org/packages/47/2a/d54f0ce6a8dd359d16f929e273c103d5f7d75101cfa4afb4249285d5959e/python-popcon-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "0ec6b3306c5baadf5977aafdddfa0dc1", "sha256": "bb2a0b966e84b6e2c4090c9a60bec502bb5abe69ee645e7f27800b22dbaea4e3" }, "downloads": -1, "filename": "python-popcon-1.4.tar.gz", "has_sig": false, "md5_digest": "0ec6b3306c5baadf5977aafdddfa0dc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3723, "upload_time": "2016-09-28T11:56:27", "url": "https://files.pythonhosted.org/packages/d5/df/0ea063d4742b057bda9c644d92b916d9a114d6ac41b313b467056c8dcde8/python-popcon-1.4.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "c68e4eb8f3be5cd48fa6a6622dd74879", "sha256": "0b63941a68850c3152432456f81efa42ddd32245a2af02d228f902befa0c9a1b" }, "downloads": -1, "filename": "python_popcon-1.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c68e4eb8f3be5cd48fa6a6622dd74879", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6539, "upload_time": "2017-11-04T15:53:05", "url": "https://files.pythonhosted.org/packages/54/52/1fcbafffa80a2e03f63622616b0c45aebe50dbfd8f9100b367f31e588f4f/python_popcon-1.5.0-py2.py3-none-any.whl" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "a3d0e43a6260cd9c965fc57885179a2a", "sha256": "2820ec278714483694a40e8487e41c5a1821dd8af26f8ddc7cb500a2d2bf9411" }, "downloads": -1, "filename": "python_popcon-1.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a3d0e43a6260cd9c965fc57885179a2a", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6551, "upload_time": "2018-02-17T14:34:26", "url": "https://files.pythonhosted.org/packages/8a/83/6c877ab3e3620be68fabcecd2ec2c9193e649dfa2a61fb1574c56a427ec1/python_popcon-1.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7db033de4aa99b0b0583d7277dccbe0", "sha256": "8b74cb0571fde1bcab81a926e4ff362244618c51c254648461c270b0ffdff59c" }, "downloads": -1, "filename": "python-popcon-1.5.1.tar.gz", "has_sig": false, "md5_digest": "e7db033de4aa99b0b0583d7277dccbe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4670, "upload_time": "2018-02-17T14:34:24", "url": "https://files.pythonhosted.org/packages/d1/ec/ac4356a23e9c0313481ed1b4ad90c47a326203e8e2ee88ce66fb49cafe73/python-popcon-1.5.1.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "5dab9e0a20ac3c84503e5a7c1c8eac03", "sha256": "c345ea9751cea36d2da44c2364db1b3d046765923ae0804a6fcb53ac270354ff" }, "downloads": -1, "filename": "python_popcon-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5dab9e0a20ac3c84503e5a7c1c8eac03", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 12570, "upload_time": "2019-01-13T13:19:03", "url": "https://files.pythonhosted.org/packages/a8/4a/d4010ec7a946f30e2295c39cef5f39121c76b63b9cf92dba7928fb400a78/python_popcon-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c97c76bc2658430adc35a5330218d09", "sha256": "86762bfed411109cc94e085d3363f7745d78479e33f037fb8ee64a724579c99a" }, "downloads": -1, "filename": "python-popcon-2.0.0.tar.gz", "has_sig": false, "md5_digest": "0c97c76bc2658430adc35a5330218d09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4434, "upload_time": "2019-01-13T13:18:59", "url": "https://files.pythonhosted.org/packages/c6/ba/04c930eea9556420324be9649a77ee90d5650af044c4178295a8ed5059d3/python-popcon-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5dab9e0a20ac3c84503e5a7c1c8eac03", "sha256": "c345ea9751cea36d2da44c2364db1b3d046765923ae0804a6fcb53ac270354ff" }, "downloads": -1, "filename": "python_popcon-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5dab9e0a20ac3c84503e5a7c1c8eac03", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 12570, "upload_time": "2019-01-13T13:19:03", "url": "https://files.pythonhosted.org/packages/a8/4a/d4010ec7a946f30e2295c39cef5f39121c76b63b9cf92dba7928fb400a78/python_popcon-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c97c76bc2658430adc35a5330218d09", "sha256": "86762bfed411109cc94e085d3363f7745d78479e33f037fb8ee64a724579c99a" }, "downloads": -1, "filename": "python-popcon-2.0.0.tar.gz", "has_sig": false, "md5_digest": "0c97c76bc2658430adc35a5330218d09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4434, "upload_time": "2019-01-13T13:18:59", "url": "https://files.pythonhosted.org/packages/c6/ba/04c930eea9556420324be9649a77ee90d5650af044c4178295a8ed5059d3/python-popcon-2.0.0.tar.gz" } ] }