{ "info": { "author": "Kenichiro SHII", "author_email": "shii4c@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python AutoData\n================\n\nOverview\n----------\n\nThis is auto allocate dict and list like Perl.\n\n.. code-block:: python\n\n import autodata\n\n d = autodata.autodict()\n d[\"key1\"][\"key2\"] = \"val\" # => d[\"key1\"] == {\"key2\": \"val\"}\n d[\"key2\"] += 1 # => d[\"key2\"] == 1\n d[\"key3\"][2] = 1 # => d[\"key3\"] == [None, None, 1]\n\n\nRestriction\n-------------\n\n- The type of dict key is only strings.\n- Dict item is not allocated by dict.get method.\n- None value is not returned by autolist[number]. Instead, an emptyitem object is returned.\n\nKnown issues\n--------------\n\n.. code-block:: python\n\n d = autodata.autodict()\n a = d[\"key\"]\n a += 1 # => d == {\"key\" : 1}\n a += 1 # => d == {\"key\" : 1}", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shii4c/PythonAutoData", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "autodata", "package_url": "https://pypi.org/project/autodata/", "platform": "", "project_url": "https://pypi.org/project/autodata/", "project_urls": { "Homepage": "https://github.com/shii4c/PythonAutoData" }, "release_url": "https://pypi.org/project/autodata/0.11/", "requires_dist": null, "requires_python": "", "summary": "Auto allocation dict and list", "version": "0.11" }, "last_serial": 4801446, "releases": { "0.11": [ { "comment_text": "", "digests": { "md5": "bebbb5b379900b007f93f8aa1818f748", "sha256": "d5f0b26e925e982408c3c255609a852ebdd25277b6ba2074ff85cb2a6ecb2193" }, "downloads": -1, "filename": "autodata-0.11.tar.gz", "has_sig": false, "md5_digest": "bebbb5b379900b007f93f8aa1818f748", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2322, "upload_time": "2019-02-10T07:08:24", "url": "https://files.pythonhosted.org/packages/d4/26/dca10b0ffa5341c136d1362c6da45d558f910c08cf8039b03d84ba58bb3a/autodata-0.11.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bebbb5b379900b007f93f8aa1818f748", "sha256": "d5f0b26e925e982408c3c255609a852ebdd25277b6ba2074ff85cb2a6ecb2193" }, "downloads": -1, "filename": "autodata-0.11.tar.gz", "has_sig": false, "md5_digest": "bebbb5b379900b007f93f8aa1818f748", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2322, "upload_time": "2019-02-10T07:08:24", "url": "https://files.pythonhosted.org/packages/d4/26/dca10b0ffa5341c136d1362c6da45d558f910c08cf8039b03d84ba58bb3a/autodata-0.11.tar.gz" } ] }