https://github.com/toshihikoyanase/mong
A Python port of the Moby name generator, which creates random but readable names like those used for Docker containers.
https://github.com/toshihikoyanase/mong
moby name-generation name-generator python
Last synced: about 1 year ago
JSON representation
A Python port of the Moby name generator, which creates random but readable names like those used for Docker containers.
- Host: GitHub
- URL: https://github.com/toshihikoyanase/mong
- Owner: toshihikoyanase
- License: mit
- Created: 2019-12-21T08:42:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T15:02:23.000Z (over 1 year ago)
- Last Synced: 2025-04-11T16:25:13.680Z (about 1 year ago)
- Topics: moby, name-generation, name-generator, python
- Language: Python
- Homepage: https://pypi.org/project/mong/
- Size: 72.3 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mong
[](https://www.python.org)
[](https://pypi.python.org/pypi/mong)

[](https://codecov.io/gh/toshihikoyanase/mong)
A Python port of [moby](https://github.com/moby/moby) name generator.
The original code in [moby](https://github.com/moby/moby) can be found [here](https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go).
## Installation
Install mong via pip:
```console
pip install mong
```
## Usage
You can generate a random name with just two lines of code:
```python
import mong
print(mong.get_random_name())
```
Example usage:
```python
>>> import mong
>>> mong.get_random_name()
'goofy_robinson'
>>> mong.get_random_name()
'stoic_feynman'
```
Try mong in Google Colab:
[](https://colab.research.google.com/drive/16iw3njq06R32-0dHiRn2efUvvZmYHeRL)
## References
- [Moby Project](https://mobyproject.org/)
- [moby/moby@GitHub](https://github.com/moby/moby)
## License
This project is licensed under the MIT License (see [LICENSE](./LICENSE)).
Mong includes code from the [Moby](https://github.com/moby/moby) project (see [THIRD_PARTY_LICENSES](./THIRD_PARTY_LICENSES)).