{ "info": { "author": "sosei", "author_email": "fss.sosei@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 3.6" ], "description": "# count_dict\n\n![PyPI](https://img.shields.io/pypi/v/count-dict?color=red)\n![PyPI - Status](https://img.shields.io/pypi/status/count-dict)\n![GitHub Release Date](https://img.shields.io/github/release-date/fsssosei/count_dict)\n[![Build Status](https://scrutinizer-ci.com/g/fsssosei/count_dict/badges/build.png?b=master)](https://scrutinizer-ci.com/g/fsssosei/count_dict/build-status/master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/fsssosei/count_dict/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/fsssosei/count_dict.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fsssosei/count_dict/context:python)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bf34f8d12be84b4492a5a3709df0aae5)](https://www.codacy.com/manual/fsssosei/count_dict?utm_source=github.com&utm_medium=referral&utm_content=fsssosei/count_dict&utm_campaign=Badge_Grade)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/fsssosei/count_dict/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/fsssosei/count_dict/?branch=master)\n![PyPI - Downloads](https://img.shields.io/pypi/dw/count-dict?label=PyPI%20-%20Downloads)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/count-dict)\n![PyPI - License](https://img.shields.io/pypi/l/count-dict)\n\n*This is a Python package for count dictionaries.*\n\n*Welcome to complete the documentation.*\n\n## Installation\n\nInstallation can be done through pip. You must have python version >= 3.6.\n\n\tpip install count-dict\n\n## Usage\n\nThe statement to import the package:\n\n\tfrom count_dict_package import count_dict\n\nor\n\n\tfrom count_dict_package import *\n\nExample:\n\n\t>>> accumulated = count_dict()\n\t>>> accumulated['x'] += 9\n\t>>> accumulated.items()\n\tdict_items([('x', 9)])\n\n\n\t>>> accumulated = count_dict(10)\n\t>>> accumulated['x'] += 9\n\t>>> accumulated.items()\n\tdict_items([('x', 19)])\n\n\n\t>>> accumulated = defaultdict(count_dict)\n\t>>> accumulated['x']['y'] += 9\n\t>>> {'x': dict(accumulated['x'])}\n\t{'x': {'y': 9}}\n\n\n\t>>> accumulated = defaultdict(count_dict(10))\n\t>>> accumulated['x']['y'] += 9\n\t>>> {'x': dict(accumulated['x'])}\n\t{'x': {'y': 19}}\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/fsssosei/count_dict", "keywords": "count,dictionary", "license": "GNU Affero General Public License v3", "maintainer": "", "maintainer_email": "", "name": "count-dict", "package_url": "https://pypi.org/project/count-dict/", "platform": "", "project_url": "https://pypi.org/project/count-dict/", "project_urls": { "Homepage": "https://github.com/fsssosei/count_dict" }, "release_url": "https://pypi.org/project/count-dict/1.0.1/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Count dictionary package in python.", "version": "1.0.1" }, "last_serial": 5999940, "releases": { "0.9.9": [ { "comment_text": "", "digests": { "md5": "26775c7482f7943a9f412135be1264ef", "sha256": "9513c7970db1ae2f89fd91893ad027ab84a54aced0976c93afe6a450d65c3130" }, "downloads": -1, "filename": "count_dict-0.9.9-py3-none-any.whl", "has_sig": false, "md5_digest": "26775c7482f7943a9f412135be1264ef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15149, "upload_time": "2019-10-18T18:39:19", "url": "https://files.pythonhosted.org/packages/30/69/094660c5638c907f2c1f9a6cf1b5f860b45c4fc2bdb14f2506d16c6c97bc/count_dict-0.9.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eab686de40384640a36b55209329401a", "sha256": "7734e261809e5669337141ce14464ea55dd7afef1428e37f55f830a58680379e" }, "downloads": -1, "filename": "count_dict-0.9.9.tar.gz", "has_sig": false, "md5_digest": "eab686de40384640a36b55209329401a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2322, "upload_time": "2019-10-18T18:39:21", "url": "https://files.pythonhosted.org/packages/b6/04/8eaeb994a7a1e259057321a1d0ce229cbb7e6fd2da10bb80e38e2d2626d0/count_dict-0.9.9.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "c5156c2232d66ccce6c19f15220bd7cc", "sha256": "77faf0a5966038cc26460ed28a1bd57b2cb7878bbca7162e26d2c84f1c11b306" }, "downloads": -1, "filename": "count_dict-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c5156c2232d66ccce6c19f15220bd7cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15601, "upload_time": "2019-10-19T11:04:15", "url": "https://files.pythonhosted.org/packages/95/51/5424c687cacb1dfc7c7fb78ec59693ec44be1415f9b4772440c51e7c58b9/count_dict-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8437adb094f62239a796853773bb5965", "sha256": "9145afc7acf838351646024073ceda585546a26d65b6c10047b7c2a444bf5ee5" }, "downloads": -1, "filename": "count_dict-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8437adb094f62239a796853773bb5965", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2840, "upload_time": "2019-10-19T11:04:18", "url": "https://files.pythonhosted.org/packages/bf/51/b008b9fec5c2efc57d81a6f289ca808548c3af708d4f03335ccfd2d26f1b/count_dict-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1e1593acfc7197851d4a436e30b9b87f", "sha256": "0dcfad4553e87302b11a9953e1be29dad37bbed379a3f3e6950d59c0f04f1a46" }, "downloads": -1, "filename": "count_dict-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1e1593acfc7197851d4a436e30b9b87f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15597, "upload_time": "2019-10-19T14:10:46", "url": "https://files.pythonhosted.org/packages/23/a3/34702eb3c9e82ecbabe305908460b32c8804ad90497252db66aa497409e9/count_dict-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7616f26fc81bfa3488455dca0f69919f", "sha256": "1cc302cfe7e8a01061c7f9f56e1bfcf7d5ce353fa634002b4009039b46b23f87" }, "downloads": -1, "filename": "count_dict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7616f26fc81bfa3488455dca0f69919f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2835, "upload_time": "2019-10-19T14:10:49", "url": "https://files.pythonhosted.org/packages/72/11/fbb9449173bcc425d5171ab105445e508005b8596ffffe521003b620f6fa/count_dict-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e1593acfc7197851d4a436e30b9b87f", "sha256": "0dcfad4553e87302b11a9953e1be29dad37bbed379a3f3e6950d59c0f04f1a46" }, "downloads": -1, "filename": "count_dict-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1e1593acfc7197851d4a436e30b9b87f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15597, "upload_time": "2019-10-19T14:10:46", "url": "https://files.pythonhosted.org/packages/23/a3/34702eb3c9e82ecbabe305908460b32c8804ad90497252db66aa497409e9/count_dict-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7616f26fc81bfa3488455dca0f69919f", "sha256": "1cc302cfe7e8a01061c7f9f56e1bfcf7d5ce353fa634002b4009039b46b23f87" }, "downloads": -1, "filename": "count_dict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7616f26fc81bfa3488455dca0f69919f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2835, "upload_time": "2019-10-19T14:10:49", "url": "https://files.pythonhosted.org/packages/72/11/fbb9449173bcc425d5171ab105445e508005b8596ffffe521003b620f6fa/count_dict-1.0.1.tar.gz" } ] }