πŸ“Š

Data Faker VN

Generate realistic fake Vietnamese data for testing (names, addresses, phone numbers).

Excel ⭐ Beginner ⏱️ 3 minutes

😫 The Pain Point

You’re testing a system and need 1000 realistic Vietnamese records. Real data has privacy issues. Random strings look fake and break validation.

πŸš€ Agentic Solution

A Vietnamese Data Generator with locale-specific fake data.

Key Features:

  • Vietnamese Names: Realistic β€œNguyen Van An” style names.
  • Addresses: Vietnam provinces, districts, wards.
  • Phone Numbers: Valid Vietnamese mobile prefixes.

βš”οΈ Phase 1: Commander (Quick Fix)

For quick data generation.

Prompt:

β€œWrite a Python script using Faker with Vietnamese locale to generate:

  1. Records: 1000 rows.
  2. Columns: Full_Name, Email, Phone (09x format), Address, DOB.
  3. Output: Save to fake_data.xlsx.

Ensure unique emails. Print sample rows.”

Result: Realistic test data ready for import.

πŸ—οΈ Phase 2: Architect (Permanent Tool)

Engineering Prompt:

**Role:** Python Tool Developer
**Task:** Create a "Vietnamese Data Generator".

**Requirements:**
1.  **GUI:**
    *   Number of records input.
    *   Field checkboxes (Name, Email, Phone, Address, etc.).
    *   Output format (Excel, CSV, JSON).
    *   "Generate" button.

2.  **Logic:**
    *   Use Faker with vi_VN locale.
    *   Custom providers for VN-specific data.
    *   Ensure unique constraints where needed.

3.  **Deliverables:**
    *   `data_faker.py`
    *   `run.bat`, `run.sh`
    *   `requirements.txt`

🧠 Prompt Decoding

  • Faker Locales: vi_VN provides Vietnamese-specific fake data patterns.

πŸ› οΈ Instructions

  1. Install: pip install faker
  2. Copy Prompt β†’ Run.

Related Workflows

Explore other categories

πŸ“¬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

πŸ“– Free eBook Guide πŸ“¦ 7 Ready-to-use Scripts πŸ”” Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.