Developer-friendly toolkit for generating synthetic identities via CLI, Python, and REST API.
Project description
IdentityForge
A developer-friendly API & CLI for generating synthetic identities
Built for testing, mock data, privacy-focused workflows, and OPSEC training.
Features • Quick Start • Example • Feedback • License
📖 Overview
IdentityForge is an open-source toolkit for generating realistic synthetic identities for development, testing, automation, cybersecurity labs, privacy-focused workflows, demonstrations, and OPSEC training.
Unlike traditional identity generators, IdentityForge provides three different ways to access the same service, allowing developers to integrate it into any workflow:
- 💻 Command Line Interface (CLI)
- 🐍 Python Module
- 🌐 REST API
Whether you're writing automation scripts, testing applications, building demos, or experimenting with APIs, IdentityForge offers a simple and consistent developer experience.
✨ Features
- 🌍 Generate realistic synthetic identities for multiple countries
- ⚡ Fast REST API
- 💻 Cross-platform Command Line Interface (CLI)
- 🐍 Python package support
- 📦 Easy installation
- ☁️ Powered by Cloudflare Workers
- 📚 Comprehensive documentation
- 🔒 Uses synthetic data only
🚀 Installation
IdentityForge can be used in multiple ways depending on your workflow.
Option 1 — Install from GitHub (Recommended)
Clone the repository and install IdentityForge locally.
git clone https://github.com/Ad-i7ya/Identity-Forge.git
cd Identity-Forge
pip install -r requirements.txt
pip install -e .
After installation, verify that the CLI is available:
identityforge --help
List all supported countries:
identityforge countries
Generate a synthetic identity:
identityforge generate us
Option 2 — Install from PyPI
Coming Soon
After the first public release:
pip install identityforge
Verify the installation:
identityforge --help
List all supported countries:
identityforge countries
Generate a synthetic identity:
identityforge generate us
🐍 Option 3 — Python Module
IdentityForge can also be used directly inside your Python applications.
Import the package:
from identityforge import get_countries, generate_identity
List all supported countries:
from identityforge import get_countries
countries = get_countries()
print(countries)
Generate a synthetic identity:
from identityforge import generate_identity
identity = generate_identity("us")
print(identity)
Note
Before PyPI release, install the package locally using:
pip install -e .After publishing to PyPI, simply run:
pip install identityforge
🌐 Option 4 — REST API
Use IdentityForge directly through HTTP requests.
Base URL
https://identity-forge.adi7ya.workers.dev
Available Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | / |
API information |
| GET | /countries |
List supported countries |
| GET | /generate?country=<code> |
Generate a synthetic identity |
Example Request
GET /generate?country=us
🧬 Example Response
{
"success": true,
"data": [
{
"Full Name": "Michael Walker",
"Gender": "Female",
"Birthday": "1967-08-08",
"Age": 55,
"Email": "gregoryking@example.net",
"Phone Number": "+1 640229935",
"Country": "United States",
"Country Code": "US",
"Country Flag": "https://flagcdn.com/w320/us.png",
"Flag Emoji": "🇺🇸",
"State": "Illinois",
"City": "West Elizabethton",
"Street": "979 Kyle Well Apt. 289",
"Pin Code": "56292",
"Time Zone": "UTC-05:00",
"Currency": "US Dollar (USD) - $",
"Blood Group": "B+"
}
],
"metadata": {
"version": "1.0.0"
}
}
📚 Documentation
Additional documentation is available in the repository.
- 📖 CLI Guide:
docs/cli.md - 🌐 API Documentation:
docs/api.md - 💡 cURL Examples:
examples/curl.md
🤝 Feedback
If you find IdentityForge useful:
- ⭐ Star the repository
- 🍴 Fork the project
- 🐞 Report bugs by opening an Issue
- 💡 Suggest new features or improvements
Contributions and constructive feedback are always welcome.
📄 License
This project is licensed under the MIT License.
See the LICENSE file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file identityforge_cli-1.0.0.tar.gz.
File metadata
- Download URL: identityforge_cli-1.0.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7194b5a02f8868c790d8c67ca147cda534655d5efdfd4799e51b67fd59b4f7
|
|
| MD5 |
027039b987930f455518d53efb2d5a83
|
|
| BLAKE2b-256 |
00ce3e00feb67fb6cf7b4e88179b90ea0d423ab0d17cc4bff9dc1ce12c3c28b9
|
File details
Details for the file identityforge_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: identityforge_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c69040d6ea702e8d11b90391b93c41b1294e553ab32d09461a96f1140bb57a8
|
|
| MD5 |
c3b610bd33bcd7dd1df69b662fe41897
|
|
| BLAKE2b-256 |
8ae82130db363b45a38f80a2e3df3392616fdcf95ad336e529ab4f03fa266f76
|