joke2k/faker ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library that generates fake data for testing and demos, like names, addresses, phone numbers, text, and random profiles. I want it to be easy to use from code with something like creating a generator and calling simple methods for different kinds of data, and I want the values to look realistic, not just totally random. It should support different locales so the same type of data can be generated for different countries and languages, and it should let me add my own custom data providers too.

Please also include a command line tool so I can quickly generate fake values from the terminal, repeat them, choose a locale, and write output to a file if needed. If it makes sense, add a small testing helper for pytest so fake data can be used in tests easily. Keep it well documented, with examples for basic use, custom providers, and localization. If you need current implementation details, look up the latest docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab