You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ability to export generated profiles to multiple formats (JSON, CSV, Excel) #66
Is your feature request related to a problem? Please describe.
I'm always frustrated when I generate multiple random profiles for testing purposes (e.g., 100+ profiles for database seeding or API testing) and have no built-in way to save them to a file. Currently, I have to manually write my own export logic every time I need to persist the generated data, which leads to repetitive code and inconsistent formatting across different projects. This makes it difficult to:
Share generated test datasets with team members
Reuse the same test data across multiple test runs
Import profiles into databases or other systems
Create reproducible test scenarios with the same mock data
Describe the solution you'd like
I would like built-in export functionality that allows users to save generated profiles to common file formats directly from the library. The solution should include:
Manual export using standard libraries: Writing custom export functions using json, csv, and openpyxl libraries for each project. This works but requires repetitive boilerplate code and isn't user-friendly.
Third-party data export libraries: Using libraries like pandas to convert and export data. While powerful, this adds a heavy dependency just for simple export functionality.
Creating wrapper functions: Building a separate utility module that handles exports. This fragments the codebase and means maintaining export logic separately from profile generation.
Using pickle for serialization: While this saves Python objects, it's not human-readable or compatible with other tools/languages, limiting its usefulness for sharing or importing into databases.
Activity
codeperfectplus commentedon Mar 6, 2026
sounds interesting.