The `getname` library, currently at version 0.1.1, provides simple functions to retrieve popular names for categories such as cats, dogs, superheroes, and supervillains. It is designed for straightforward use cases requiring quick access to lists of themed names. The library has an infrequent release cadence, with the last update in January 2023.
pip install getnameVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import the `getname` library and call its main functions to retrieve a single random name from each category.
To get multiple names, iterate and call the function repeatedly: `[getname.cat() for _ in range(3)]`
If you require updated or more extensive name lists, consider contributing to the project or using a different library that offers dynamic data sourcing.
The library is designed for simplicity. For advanced name generation or filtering, you would need to implement custom logic around the returned names or choose a more feature-rich library.
Use the exact function names provided by the library: `getname.cat()`, `getname.dog()`, `getname.superhero()`, `getname.supervillain()`.
Call the functions without any arguments: `getname.cat()`. To get multiple names, call the function multiple times in a loop or list comprehension.
No dependency data recorded yet.