{ "info": { "author": "Lakhya Jyoti Nath (ljnath)", "author_email": "ljnath@ljnath.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "# PyRandomString\n### Version : 0.0.5\n\nAuthor : Lakhya Jyoti Nath (ljnath)
\nDate : June 2019
\nEmail : ljnath@ljnath.com
\nWebsite : https://www.ljnath.com\n\n[![Build Status][travis-image]][travis-link]\n[![Code Coverage][codecov-image]][codecov-link]\n[![HitCount][hit-count-image]][hit-count-link]\n[![PyPI Version][pypi-image]][pypi-link]\n![License][license-image-mit]\n\n\n\n## Introduction\nPyRandomString is a python library to generate N random list of string of M length\nIt is parameterized to generate strings of random number and length which is returned as a list. It can be used to generate a large number of numbers, strings etc.\n\n## Parameters\n* **count** : *Integer - Total number of strings to be generated (default is 10). Not applicable for get_string() method*\n* **max_length** : *Integer - Maximum length of each generated string (default is 10)*\n* **random_length** : *Boolean choice - if the length of each word should be random or not. Incase of random length the maximum value is 'max_length'*\n* **symbols** : *String - Custom symbols which you want to use during random string generation. It should be a subset of the supported symbols and it is applicable only when the 'string_type' is of type 'SYMBOLS' or '_WITH_SYMBOLS'*\n* **string_type** : *PyRandomString.StringType - Type of characters to be used for generating random strings*\n * **NUMERIC** : *0123456789*\n * **SYMBOLS** : *\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHABET_LOWERCASE** : *abcdefghijklmnopqrstuvwxyz*\n * **ALPHABET_UPPERCASE** : *ABCDEFGHIJKLMNOPQRSTUVWXYZ*\n * **ALPHABET_ALL_CASE** : *abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ*\n * **ALPHA_NUMERIC_LOWERCASE** : *abcdefghijklmnopqrstuvwxyz0123456789*\n * **ALPHA_NUMERIC_UPPERCASE** : *ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*\n * **ALPHA_NUMERIC_ALL_CASE** : *abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*\n * **ALPHABET_LOWERCASE_WITH_SYMBOLS** : *abcdefghijklmnopqrstuvwxyz\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHABET_UPPERCASE_WITH_SYMBOLS** : *ABCDEFGHIJKLMNOPQRSTUVWXYZ\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHABET_ALL_CASE_WITH_SYMBOLS** : *abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHA_NUMERIC_LOWERCASE_WITH_SYMBOLS** : *abcdefghijklmnopqrstuvwxyz0123456789\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHA_NUMERIC_UPPERCASE_WITH_SYMBOLS** : *ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n * **ALPHA_NUMERIC_ALL_CASE_WITH_SYMBOLS** : *abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\" !#$%&'()\\*+,-./:;<=>?@[\\]^_`{|}~*\n\n\n## How to use\n\n```\nimport PyRandomString\n\npy_random_string = PyRandomString.RandomString()\n\n## calling method to get a single random string\nrandom_string = py_random_string.get_string(string_type=PyRandomString.StringType.ALPHA_NUMERIC_ALL_CASE, random_length=False, max_length=10)\nprint('Single random string is {}'.format(random_string))\n\n## calling method to get a single random string with custom symbols\nrandom_string = py_random_string.get_string(string_type=PyRandomString.StringType.ALPHA_NUMERIC_ALL_CASE_WITH_SYMBOLS, random_length=False, max_length=10, symbols='+-*#$%^&')\nprint('Single random string with custom symbol is {}'.format(random_string))\n\n## calling method to get a list of random string\nrandom_strings = py_random_string.get_strings(string_type=PyRandomString.StringType.ALPHA_NUMERIC_ALL_CASE_WITH_SYMBOLS, random_length=False, max_length=10, count=5)\nprint('Following are the generated random strings \\n{}'.format('\\n'.join(random_strings)))\n\n```\n\n\n[travis-image]: https://img.shields.io/travis/ljnath/PyRandomString/master.svg\n[travis-link]: https://travis-ci.org/ljnath/PyRandomString\n[pypi-image]: https://img.shields.io/pypi/v/pyrandomstring.svg\n[pypi-link]: https://pypi.org/project/pyrandomstring/\n[license-image-mit]: https://img.shields.io/badge/license-MIT-orange.svg\n[hit-count-image]: http://hits.dwyl.io/ljnath/pyrandomstring.svg\n[hit-count-link]: http://hits.dwyl.io/ljnath/pyrandomstring\n[snyk-image]: https://snyk.io//test/github/ljnath/PyRandomString/badge.svg?targetFile=requirements.txt\n[snyk-link]: https://snyk.io//test/github/ljnath/PyRandomString?targetFile=requirements.txt\n[codecov-image]: https://codecov.io/gh/ljnath/pyrandomstring/branch/master/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/ljnath/PyRandomString\n\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/ljnath/PyRandomString", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyrandomstring", "package_url": "https://pypi.org/project/pyrandomstring/", "platform": "", "project_url": "https://pypi.org/project/pyrandomstring/", "project_urls": { "Homepage": "https://github.com/ljnath/PyRandomString" }, "release_url": "https://pypi.org/project/pyrandomstring/0.0.5/", "requires_dist": null, "requires_python": ">=3.0", "summary": "PyRandomString is a python library to generate N random list of string of M length. Ofcourse you can configure N and M", "version": "0.0.5" }, "last_serial": 5447370, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "fbdc52e6673deafceb93365450f8a255", "sha256": "c976543fd910924539431225e344fe96643519bcd8b4e76971be08c4865aac6b" }, "downloads": -1, "filename": "pyrandomstring-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fbdc52e6673deafceb93365450f8a255", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3659, "upload_time": "2019-06-13T18:37:45", "url": "https://files.pythonhosted.org/packages/a6/1b/b26897d26e7662f983e97b20c62932d4fb04d424345b2a42f4283ea032d4/pyrandomstring-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa9d50031c2b38391ae04c79f20045a4", "sha256": "519f1e845d5ed63211cd14db179f8728482bd782bd927f78ec1cd448cc40c60d" }, "downloads": -1, "filename": "pyrandomstring-0.0.1.tar.gz", "has_sig": false, "md5_digest": "aa9d50031c2b38391ae04c79f20045a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2260, "upload_time": "2019-06-13T18:37:48", "url": "https://files.pythonhosted.org/packages/d8/db/33844a47fdefe2b6000a7f7c3a3e6dbc6f279ab39d035e68132061b81cfb/pyrandomstring-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "261585a9310fb72a3d838c46eb6dc557", "sha256": "f962e456b6e529f9d78cdbe5697331d62e1764d47ab7a74a74fc03878a271220" }, "downloads": -1, "filename": "pyrandomstring-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "261585a9310fb72a3d838c46eb6dc557", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3766, "upload_time": "2019-06-13T19:10:53", "url": "https://files.pythonhosted.org/packages/12/e1/2fe2dbc69774deee3aa37a5be3da77ba40412c5b495e42f2cf84229d0ae2/pyrandomstring-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7f78c9ff7b972a435d5aa25d94a60cb", "sha256": "a43664fa349d599cc3ecadf0734607ba6df5e17c0158260d8e04b7fcdb5dc1e8" }, "downloads": -1, "filename": "pyrandomstring-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e7f78c9ff7b972a435d5aa25d94a60cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2403, "upload_time": "2019-06-13T19:10:54", "url": "https://files.pythonhosted.org/packages/00/5d/648c38bcb85ae9e6add0d50662e3d9193c472bd0ec483ac872dd6b28d42d/pyrandomstring-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9c6459fdb73304ede2d37b3094c6a891", "sha256": "984e2e0dfc919c4e19d552ad09aadd7365fdeebefad80ca0e3b2d2cbc1520c39" }, "downloads": -1, "filename": "pyrandomstring-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9c6459fdb73304ede2d37b3094c6a891", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5534, "upload_time": "2019-06-21T17:22:40", "url": "https://files.pythonhosted.org/packages/39/de/0468280e3307a69fee4158a06ce5176289b232970374d1ea38fd4951dfd9/pyrandomstring-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8cfe548747f908ea00e5025439d4cee3", "sha256": "30017f890cf25956124fd50fdf543e679bd44042786b38a631f25a08ce649e78" }, "downloads": -1, "filename": "pyrandomstring-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8cfe548747f908ea00e5025439d4cee3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4196, "upload_time": "2019-06-21T17:22:42", "url": "https://files.pythonhosted.org/packages/c3/89/6826b2167b8eee7d0c2f0a5092122003831dba2c411eb9fb538d4f1b2ca3/pyrandomstring-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d341220461657da1a0095c839878063e", "sha256": "e8731e2839a3a64b836f9c8b05c8e3ab79d76d92753cd7cb6118e9e1eb245326" }, "downloads": -1, "filename": "pyrandomstring-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d341220461657da1a0095c839878063e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5555, "upload_time": "2019-06-21T17:41:18", "url": "https://files.pythonhosted.org/packages/ff/cb/5c83d91e17018a876853921bab2ddbad50085b7c4bb72048b9f4801235e8/pyrandomstring-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd528dec7e469e94e7100b5c3845b5de", "sha256": "2e04ccac45b7b0dbd913372a4a65c793718fac7f293e6ac75e2dccb08b81d6be" }, "downloads": -1, "filename": "pyrandomstring-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fd528dec7e469e94e7100b5c3845b5de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4170, "upload_time": "2019-06-21T17:41:19", "url": "https://files.pythonhosted.org/packages/76/fe/cf04bf9a8107cd352f24111fef601fb6686ab5b896c44da2ebfadffbe98d/pyrandomstring-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "91172733e167514ffe6ea8ddc71da652", "sha256": "09cd8f812b7561dffe295576187b99bb41d150acd34b8c1aa1b9fa97c6910366" }, "downloads": -1, "filename": "pyrandomstring-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "91172733e167514ffe6ea8ddc71da652", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 5953, "upload_time": "2019-06-25T17:15:37", "url": "https://files.pythonhosted.org/packages/1f/11/3ca35dd06af6b5e72a5264540b6cfc5f7e5165108c9fe80a053a4aae1bac/pyrandomstring-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe8949c8ca42b0afa820e3fa5a0c3e79", "sha256": "bb1b8e17b8e51354d69dceb2ff56af90faf69ed33862d8830f2ef40530c0a3a1" }, "downloads": -1, "filename": "pyrandomstring-0.0.5.tar.gz", "has_sig": false, "md5_digest": "fe8949c8ca42b0afa820e3fa5a0c3e79", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 4684, "upload_time": "2019-06-25T17:15:39", "url": "https://files.pythonhosted.org/packages/7e/ae/e958e2e0a82eeba94f80545f6a4c6367d45d952d576c0f4a7129c3df04a8/pyrandomstring-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91172733e167514ffe6ea8ddc71da652", "sha256": "09cd8f812b7561dffe295576187b99bb41d150acd34b8c1aa1b9fa97c6910366" }, "downloads": -1, "filename": "pyrandomstring-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "91172733e167514ffe6ea8ddc71da652", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 5953, "upload_time": "2019-06-25T17:15:37", "url": "https://files.pythonhosted.org/packages/1f/11/3ca35dd06af6b5e72a5264540b6cfc5f7e5165108c9fe80a053a4aae1bac/pyrandomstring-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe8949c8ca42b0afa820e3fa5a0c3e79", "sha256": "bb1b8e17b8e51354d69dceb2ff56af90faf69ed33862d8830f2ef40530c0a3a1" }, "downloads": -1, "filename": "pyrandomstring-0.0.5.tar.gz", "has_sig": false, "md5_digest": "fe8949c8ca42b0afa820e3fa5a0c3e79", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 4684, "upload_time": "2019-06-25T17:15:39", "url": "https://files.pythonhosted.org/packages/7e/ae/e958e2e0a82eeba94f80545f6a4c6367d45d952d576c0f4a7129c3df04a8/pyrandomstring-0.0.5.tar.gz" } ] }