{"id":13486442,"url":"https://github.com/Atrox/haikunatorpy","last_synced_at":"2025-03-27T20:33:13.463Z","repository":{"id":28259313,"uuid":"31769366","full_name":"Atrox/haikunatorpy","owner":"Atrox","description":"Generate Heroku-like random names to use in your python applications","archived":false,"fork":false,"pushed_at":"2018-01-30T11:33:46.000Z","size":32,"stargazers_count":128,"open_issues_count":1,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-22T15:53:01.462Z","etag":null,"topics":["haikunator","heroku","python"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/haikunator","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atrox.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-03-06T12:59:25.000Z","updated_at":"2025-03-04T11:57:13.000Z","dependencies_parsed_at":"2022-08-27T15:12:42.117Z","dependency_job_id":null,"html_url":"https://github.com/Atrox/haikunatorpy","commit_stats":null,"previous_names":["atrox/haikunator"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fhaikunatorpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fhaikunatorpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fhaikunatorpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fhaikunatorpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atrox","download_url":"https://codeload.github.com/Atrox/haikunatorpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245920699,"owners_count":20694142,"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":["haikunator","heroku","python"],"created_at":"2024-07-31T18:00:45.969Z","updated_at":"2025-03-27T20:33:13.185Z","avatar_url":"https://github.com/Atrox.png","language":"Python","readme":"# HaikunatorPY\n\n[![Build Status](https://img.shields.io/travis/Atrox/haikunatorpy.svg?style=flat-square)](https://travis-ci.org/Atrox/haikunatorpy)\n[![Latest Version](https://img.shields.io/pypi/v/haikunator.svg?style=flat-square)](https://pypi.python.org/pypi/haikunator)\n[![Coverage Status](https://img.shields.io/coveralls/Atrox/haikunatorpy.svg?style=flat-square)](https://coveralls.io/r/Atrox/haikunatorpy)\n\n\nGenerate Heroku-like random names to use in your python applications.\n\n## Installation\n```\npip install haikunator\n```\n\n## Usage\n\nHaikunator is pretty simple. There is nothing to configure and it only has a single method, `haikunate`:\n\n```python\nfrom haikunator import Haikunator\n\nhaikunator = Haikunator()\n# haikunator = Haikunator(seed='random seed') # optional seed\n\n# default usage\nhaikunator.haikunate() # =\u003e \"wispy-dust-1337\"\n\n# custom length (default=4)\nhaikunator.haikunate(token_length=6) # =\u003e \"patient-king-887265\"\n\n# use hex instead of numbers\nhaikunator.haikunate(token_hex=True) # =\u003e \"purple-breeze-98e1\"\n\n# use custom chars instead of numbers/hex\nhaikunator.haikunate(token_chars='HAIKUNATE') # =\u003e \"summer-atom-IHEA\"\n\n# don't include a token\nhaikunator.haikunate(token_length=0) # =\u003e \"cold-wildflower\"\n\n# use a different delimiter\nhaikunator.haikunate(delimiter='.') # =\u003e \"restless.sea.7976\"\n\n# no token, space delimiter\nhaikunator.haikunate(token_length=0, delimiter=' ') # =\u003e \"delicate haze\"\n\n# no token, empty delimiter\nhaikunator.haikunate(token_length=0, delimiter='') # =\u003e \"billowingleaf\"\n```\n\n## Options\n\nThe following options are available:\n\n```python\nfrom haikunator import Haikunator\n\nhaikunator = Haikunator(\n    adjectives=['custom', 'adjectives'],\n    nouns=['custom', 'nouns'],\n    seed='random seed'\n)\n\nhaikunator.haikunate(\n  delimiter='-',\n  token_length=4,\n  token_hex=False,\n  token_chars='0123456789'\n)\n```\n*If `token_hex` is true, any tokens specified in `token_chars` are ignored*\n\n## Contributing\n\nEveryone is encouraged to help improve this project. Here are a few ways you can help:\n\n- [Report bugs](https://github.com/atrox/haikunatorpy/issues)\n- Fix bugs and [submit pull requests](https://github.com/atrox/haikunatorpy/pulls)\n- Write, clarify, or fix documentation\n- Suggest or add new features\n\n## Other Languages\n\nHaikunator is also available in other languages. Check them out:\n\n- Node: https://github.com/Atrox/haikunatorjs\n- PHP: https://github.com/Atrox/haikunatorphp\n- .NET: https://github.com/Atrox/haikunator.net\n- Java: https://github.com/Atrox/haikunatorjava\n- Go: https://github.com/Atrox/haikunatorgo\n- Perl: https://github.com/Atrox/haikunatorperl\n- Dart: https://github.com/Atrox/haikunatordart\n- Ruby: https://github.com/usmanbashir/haikunator","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAtrox%2Fhaikunatorpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAtrox%2Fhaikunatorpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAtrox%2Fhaikunatorpy/lists"}