{ "info": { "author": "Luca Cappelletti", "author_email": "cappelletti.luca94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "random_dict\n=========================================================================================\n|travis| |sonar_quality| |sonar_maintainability| |codacy| |code_climate_maintainability| |pip| |downloads|\n\nSimple python package to generate random dictionaries of given types.\n\nHow do I install this package?\n----------------------------------------------\nAs usual, just download it using pip:\n\n.. code:: shell\n\n pip install random_dict\n\nTests Coverage\n----------------------------------------------\nSince some software handling coverages sometime get slightly different results, here's three of them:\n\n|coveralls| |sonar_coverage| |code_climate_coverage|\n\nUsage examples\n----------------------------------------------\n\nrandom_string_dict\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThis function will generate a dictionary with given at most `max_depth` and `max_height` of type `string`.\n\n.. code:: python\n\n from random_dict import random_string_dict\n from random import randint\n\n random_string_dict(randint(1, 10), randint(1, 10))\n\nrandom_bool_dict\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThis function will generate a dictionary with given at most `max_depth` and `max_height` of type `bool`.\n\n.. code:: python\n\n from random_dict import random_bool_dict\n from random import randint\n\n random_bool_dict(randint(1, 10), randint(1, 10))\n\nrandom_float_dict\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThis function will generate a dictionary with given at most `max_depth` and `max_height` of type `float`.\n\n.. code:: python\n\n from random_dict import random_float_dict\n from random import randint\n\n random_float_dict(randint(1, 10), randint(1, 10))\n\nrandom_int_dict\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThis function will generate a dictionary with given at most `max_depth` and `max_height` of type `int`.\n\n.. code:: python\n\n from random_dict import random_int_dict\n from random import randint\n\n random_int_dict(randint(1, 10), randint(1, 10))\n\nrandom_dict\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThis function will generate a dictionary with given at most `max_depth` and `max_height` of mixed types.\n\n.. code:: python\n\n from random_dict import random_dict\n from random import randint\n\n random_dict(randint(1, 10), randint(1, 10))\n\nSome generated examples can be found within the examples folder.\n\n.. |travis| image:: https://travis-ci.org/LucaCappelletti94/random_dict.png\n :target: https://travis-ci.org/LucaCappelletti94/random_dict\n :alt: Travis CI build\n\n.. |sonar_quality| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_random_dict&metric=alert_status\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_random_dict\n :alt: SonarCloud Quality\n\n.. |sonar_maintainability| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_random_dict&metric=sqale_rating\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_random_dict\n :alt: SonarCloud Maintainability\n\n.. |sonar_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_random_dict&metric=coverage\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_random_dict\n :alt: SonarCloud Coverage\n\n.. |coveralls| image:: https://coveralls.io/repos/github/LucaCappelletti94/random_dict/badge.svg?branch=master\n :target: https://coveralls.io/github/LucaCappelletti94/random_dict?branch=master\n :alt: Coveralls Coverage\n\n.. |pip| image:: https://badge.fury.io/py/random-dict.svg\n :target: https://badge.fury.io/py/random-dict\n :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/random-dict\n :target: https://pepy.tech/badge/random-dict\n :alt: Pypi total project downloads \n\n.. |codacy| image:: https://api.codacy.com/project/badge/Grade/51be6aeee29e411994d34b6fc6063886\n :target: https://www.codacy.com/app/LucaCappelletti94/random_dict?utm_source=github.com&utm_medium=referral&utm_content=LucaCappelletti94/random_dict&utm_campaign=Badge_Grade\n :alt: Codacy Maintainability\n\n.. |code_climate_maintainability| image:: https://api.codeclimate.com/v1/badges/a04ccb96d15d8f47d3ec/maintainability\n :target: https://codeclimate.com/github/LucaCappelletti94/random_dict/maintainability\n :alt: Maintainability\n\n.. |code_climate_coverage| image:: https://api.codeclimate.com/v1/badges/a04ccb96d15d8f47d3ec/test_coverage\n :target: https://codeclimate.com/github/LucaCappelletti94/random_dict/test_coverage\n :alt: Code Climate Coverate", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LucaCappelletti94/random_dict", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "random-dict", "package_url": "https://pypi.org/project/random-dict/", "platform": "", "project_url": "https://pypi.org/project/random-dict/", "project_urls": { "Homepage": "https://github.com/LucaCappelletti94/random_dict" }, "release_url": "https://pypi.org/project/random-dict/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Simple python package to generate random dictionaries of given types.", "version": "1.0.2" }, "last_serial": 5934359, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6b41bcd50bd9af4881a38e65f6c1af43", "sha256": "ddfe0d95ed792028e281a2ce029422e57149ea473b370ee2197c375b5818eed0" }, "downloads": -1, "filename": "random_dict-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6b41bcd50bd9af4881a38e65f6c1af43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3052, "upload_time": "2019-05-31T14:09:59", "url": "https://files.pythonhosted.org/packages/2b/74/fe5cef75b575bec35e397148382687139540f529bb98947c576c78f4d97b/random_dict-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4832099861f83d65cc7e02573f889784", "sha256": "c59b2101fba13194ba79b559322fa500a08410e52233b58b4025b1ac453380f5" }, "downloads": -1, "filename": "random_dict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4832099861f83d65cc7e02573f889784", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3595, "upload_time": "2019-06-02T17:07:20", "url": "https://files.pythonhosted.org/packages/84/98/b59e308b3a6591a2344ea1963c7c47b16aff7df43304aa66c444cf5462e4/random_dict-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "107efbf8f22a4e679452a9139696e9c9", "sha256": "6fd86d107134b60db4b54eb96dd1964e3e6efbab616882158a6ccf3262d0b29c" }, "downloads": -1, "filename": "random_dict-1.0.2.tar.gz", "has_sig": false, "md5_digest": "107efbf8f22a4e679452a9139696e9c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3590, "upload_time": "2019-10-06T09:46:16", "url": "https://files.pythonhosted.org/packages/86/bf/d4bc84a4ebeb1c6692600f323bf5abd6a9d1acbd1c5f53f7184500923db3/random_dict-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "107efbf8f22a4e679452a9139696e9c9", "sha256": "6fd86d107134b60db4b54eb96dd1964e3e6efbab616882158a6ccf3262d0b29c" }, "downloads": -1, "filename": "random_dict-1.0.2.tar.gz", "has_sig": false, "md5_digest": "107efbf8f22a4e679452a9139696e9c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3590, "upload_time": "2019-10-06T09:46:16", "url": "https://files.pythonhosted.org/packages/86/bf/d4bc84a4ebeb1c6692600f323bf5abd6a9d1acbd1c5f53f7184500923db3/random_dict-1.0.2.tar.gz" } ] }