{"id":20784961,"url":"https://github.com/brennerm/randompy","last_synced_at":"2025-08-25T08:12:45.698Z","repository":{"id":57459900,"uuid":"45208508","full_name":"brennerm/randompy","owner":"brennerm","description":"Collection of functions to generate pseudo random values for emails, IP addresses, ...","archived":false,"fork":false,"pushed_at":"2017-06-14T06:26:43.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T00:21:02.641Z","etag":null,"topics":["generator","python","random"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brennerm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-29T20:24:41.000Z","updated_at":"2024-03-28T11:50:55.000Z","dependencies_parsed_at":"2022-08-30T10:00:33.198Z","dependency_job_id":null,"html_url":"https://github.com/brennerm/randompy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Frandompy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Frandompy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Frandompy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Frandompy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brennerm","download_url":"https://codeload.github.com/brennerm/randompy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252430979,"owners_count":21746753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generator","python","random"],"created_at":"2024-11-17T14:39:53.887Z","updated_at":"2025-05-05T03:24:29.748Z","avatar_url":"https://github.com/brennerm.png","language":"Python","readme":"# randompy\n### Installation\n- From source\n```\ngit clone https://github.com/brennerm/randompy\ncd randompy\nsudo python3 setup.py install\n```\n- With pip\n```\npip install randompy\n```\n### Example use\n\n#### String\n```\n\u003e\u003e\u003e randompy.string(10)\n'iDa7FZl7rW'\n```\n#### Integer\n```\n\u003e\u003e\u003e randompy.integer(0, 100)\n15\n```\n#### Array\n```\n\u003e\u003e\u003e randompy.array('123456789', 5)\n['7', '5', '9', '3', '2']\n```\n#### Datetime\n```\ndatetime.datetime(2016, 5, 24, 16, 34, 2, 726892)\n\u003e\u003e\u003e randompy.datetime(\n... start=datetime.datetime(year=2016, month=1, day=1),\n... end=datetime.datetime(year=2016, month=12, day=31))\ndatetime.datetime(2016, 2, 13, 21, 34, 58, 268978)\n```\n\n#### Mail Address\n```\n\u003e\u003e\u003e randompy.mail()\n'iYpZpde@jslx4.com'\n```\n\n#### MAC Address\n```\n\u003e\u003e\u003e randompy.mac_address()\n'fe:23:1d:1d:ec:be'\n```\nIt's also possible to define an own prefix.\n```\n\u003e\u003e\u003e randompy.mac_address('02:00:00')\n'02:00:00:84:62:3e'\n\n\u003e\u003e\u003e mac_address('02:00:00:00:00')\n'02:00:00:00:00:63'\n```\n\n#### IPv4 Address\n```\n\u003e\u003e\u003e randompy.ipv4address()\n'108.146.211.120'\n```\n\n#### IPv6 Address\n```\n\u003e\u003e\u003e randompy.ipv6address()\n'7dd7:c3ee:b1b6:ba15:6bb6:c908:541a:efe4'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Frandompy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrennerm%2Frandompy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Frandompy/lists"}