{ "info": { "author": "Mikhail Korobov", "author_email": "kmike84@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========\nfunny-codes\n===========\n\nThis is a small module for generating randoms strings of a given pattern.\nIt is also capable of estimating various metrics for this pattern\n(probability of collision, estimated collision count and total variants count).\n\nInstallation\n============\n\n::\n\n $ pip install funny-codes\n\nUsage\n=====\n\n::\n\n >>> from funny_codes import FunnyCodes\n >>> my_codes = FunnyCodes('TATAN-76')\n >>> my_codes.next() # the following is a random code matching the pattern\n HIPAS-12\n\n >>> my_codes.next()\n MOVER-87\n\n >>> my_codes.variants_count()\n 20000844\n\n >>> my_codes.collision_prob(1000)\n 0.024664677603280283\n\n >>> my_codes.expected_collisions(10000)\n 2.499235797673464", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/kmike/funny-codes/", "keywords": null, "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "funny-codes", "package_url": "https://pypi.org/project/funny-codes/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/funny-codes/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/kmike/funny-codes/" }, "release_url": "https://pypi.org/project/funny-codes/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Generate randoms strings of a given pattern", "version": "1.0.1" }, "last_serial": 654837, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a65b75064094c40d3fee218edf52867e", "sha256": "44cf92ab3e34f375b04656621463e50216ff1fe7e75afa816af3a556ecd93be3" }, "downloads": -1, "filename": "funny-codes-1.0.tar.gz", "has_sig": false, "md5_digest": "a65b75064094c40d3fee218edf52867e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2723, "upload_time": "2012-03-22T12:08:18", "url": "https://files.pythonhosted.org/packages/9b/eb/7308a643728b5fc30546f4f77c74fc1b54207ba6277e0b64339cba818dd2/funny-codes-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3c9a3f690df122e5d04ced24880d6ce9", "sha256": "ca38d0dba35b7e67504a5fe9bcd614fd8d9e529ebc72b97c1d1d47fd3e439502" }, "downloads": -1, "filename": "funny-codes-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3c9a3f690df122e5d04ced24880d6ce9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2731, "upload_time": "2012-03-22T13:39:27", "url": "https://files.pythonhosted.org/packages/1b/cc/f9b055e9d701573e0918a4e1ce60d9e243b540532f83e997cfe022ce0e12/funny-codes-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3c9a3f690df122e5d04ced24880d6ce9", "sha256": "ca38d0dba35b7e67504a5fe9bcd614fd8d9e529ebc72b97c1d1d47fd3e439502" }, "downloads": -1, "filename": "funny-codes-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3c9a3f690df122e5d04ced24880d6ce9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2731, "upload_time": "2012-03-22T13:39:27", "url": "https://files.pythonhosted.org/packages/1b/cc/f9b055e9d701573e0918a4e1ce60d9e243b540532f83e997cfe022ce0e12/funny-codes-1.0.1.tar.gz" } ] }