πŸ‡ΈπŸ‡¦ Ψ§Ω„ΨΉΨ±Ψ¨ΩŠΨ©

πŸš€ DocGen v4.0

AI-Powered SaaS Platform β€” Documentation β€’ Test Generation β€’ Security Analysis

PyPI PyPI PyPI License Last Commit
⭐ GitHub πŸ“¦ PyPI πŸ’° Buy Source Code ($1,499)
⚠️ Important: DocGen is a SaaS Platform (not just source code). CLI tools require an active server connection for quota management. All user data, subscriptions, and payments are managed through the SaaS dashboard.
πŸ“₯ Install πŸ”‘ Get API Key πŸ” Login πŸ“„ Documentation πŸ§ͺ Testing πŸ›‘οΈ Security ☁️ SaaS Info πŸ“ž Contact

πŸ“₯ Installation

pip install docgen-docs docgen-emperor docgen-secure
βœ… Successfully installed docgen-docs-1.0.5 docgen-emperor-1.0.7 docgen-secure-1.0.1

πŸ”‘ How to Get Your API Key

1. Open the web platform: http://127.0.0.1:5000 (or your hosted URL)

2. Register or Login

3. Go to My Profile β†’ API Keys

4. Copy your key (format: Doc_xxxxxxxxxxxx)

Your API Key: Doc_5nt5ebf3zzv0mgrpoaha1jymm0lfx1lbxb7h0hbg

πŸ” Login via CLI

docgen-docs --login Doc_YOUR_API_KEY
docgen-test --login Doc_YOUR_API_KEY
docgen-secure --login Doc_YOUR_API_KEY
╔══════════════════════════════════════════════════╗ β•‘ πŸ“„ DocGen Docs v3.1 β•‘ β•‘ βœ… Login successful β•‘ β•‘ πŸ‘€ username | πŸ’Ž Pro | πŸ“Š 72/2750 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

πŸ“„ Documentation Tool (docgen-docs)

πŸ“„ Generate Full Documentation for a Repository

Command:

docgen-docs psf/requests --lang=en

Result:

πŸ“„ Generating all docs in EN for: psf/requests βœ… README: psf/docs/README.md βœ… API Docs: psf/docs/API_DOCS.md βœ… Wiki: psf/docs/WIKI.md πŸ“ Saved to: psf/docs

πŸ“„ Generate README Only

docgen-docs --readme src/ --lang=en
βœ… README: src/docs/README.md

πŸ“„ Generate API Docs Only

docgen-docs --api src/auth.py --lang=en
βœ… API Docs: docs/API_DOCS.md

πŸ“„ Generate Wiki Only

docgen-docs --wiki src/ --lang=en
βœ… Wiki: src/docs/WIKI.md

πŸ“„ Arabic Documentation

docgen-docs src/ --lang=ar
βœ… README: src/docs/README.md βœ… API Docs: src/docs/API_DOCS.md βœ… Wiki: src/docs/WIKI.md

πŸ“ Where to Find Generated Docs

All documentation is saved in a docs/ folder inside the project directory.

πŸ§ͺ Test Generator (docgen-test)

πŸ§ͺ Generate Tests for a Repository

docgen-test psf/requests
πŸ‘‘ Imperial Test Generator πŸ“ Project: psf/requests πŸ‘οΈ Scanning complete: 125 files found βœ… Tests: 528/528 passed (100%) βœ… 528 tests generated πŸ“ Saved to: ~/requests/tests/

πŸ§ͺ Generate Tests for a Local Folder

docgen-test src/
🧠 main.py: 1 functions, 0 classes 🀲 test_main.py: 2 tests βœ… Tests: 2/2 passed (100%) πŸ“ Saved to: src/tests/

πŸ§ͺ Fix Failing Tests

docgen-test -f tests/
πŸ“œ test_main.py βœ… Healed 2 tests

πŸ§ͺ Integration Tests Between Two Files

docgen-test -i src/auth.py src/db.py
πŸ”— auth.py ↔ db.py 🀲 8 integration tests generated

πŸ§ͺ Statistical Report

docgen-test -r
πŸ“Š Sessions: 6 | Tests: 22,150 πŸ”§ Fixes: 0 | ❌ Failed: 6 πŸ“ˆ Rate: 0.0%

πŸ“ Where to Find Generated Tests

All tests are saved in a tests/ folder inside the project directory.

πŸ›‘οΈ Security Analyzer (docgen-secure)

πŸ›‘οΈ Scan a Repository

docgen-secure psf/requests --fast --en
╔══════════════════════════════════════════════════╗ β•‘ πŸ›‘οΈ DocGen Secure v4.0 Report β•‘ β•‘ Target: psf/requests β•‘ β•‘ files: 37 β•‘ β•‘ ⭐ Score: 2.0/10 | πŸ† F β•‘ β•‘ ⚠️ Capped: 7 critical issues found β•‘ β•‘ πŸ”΄ Critical: 7 🟑 Medium: 526 🟒 Low: 285 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• πŸ“Š Project Insights: β”œβ”€β”€ βœ… Core: 19 files (51%) β”œβ”€β”€ πŸ”΄ Tests: 15 files (41%) | Critical: 7 πŸ”΄ CRITICAL (7): πŸ“ tests/test_requests.py:1524 β†’ Insecure Pickle πŸ’‘ Use JSON serialization instead

πŸ›‘οΈ Scan a Local Folder

docgen-secure src/ --fast --en
╔══════════════════════════════════════════════════╗ β•‘ ⭐ Score: 9.6/10 | πŸ† A+ β•‘ β•‘ πŸ”΄ Critical: 0 🟑 Medium: 3 🟒 Low: 0 β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

πŸ›‘οΈ Export as JSON

docgen-secure src/ --json --fast
{"score": 9.6, "critical": 0, "total": 3, ...}

πŸ›‘οΈ Export as HTML

docgen-secure src/ --format html --fast
πŸ“„ HTML Report saved: docgen_report.html

πŸ›‘οΈ Export as Markdown

docgen-secure src/ --format md --fast
πŸ“„ Markdown Report saved: docgen_report.md

πŸ›‘οΈ Interactive Mode

docgen-secure src/ --interactive
πŸ›‘οΈ Interactive Mode [c]ritical [w]arning [i]nfo [a]ll [d]etails [q]uit >

πŸ“ Where to Find Reports

Reports are saved as docgen_report.json in the current directory.

☁️ SaaS Platform Information

πŸ“Š Subscription Tiers

Plan Price Monthly Requests
πŸ†“ Free $0 10
⭐ Basic $9 50
πŸ’Ž Pro $19 150
πŸ‘‘ Unlimited $39 300

πŸ’³ Payment Methods

πŸ”„ Quota System

πŸ‘‘ Owner Dashboard (9 Panels)

πŸ“Š Dashboard | πŸ‘₯ Users | πŸ’° Wallets | πŸ’Ž Pricing | πŸ“ Terms | πŸ”„ Upgrades | πŸ“‹ Logs | πŸ”” Notifications | βš™οΈ Settings

πŸ›‘οΈ Security Rules (35 Rules, OWASP Top 10)

SQLi, XSS, CSRF, SSRF, Path Traversal, Command Injection, Hardcoded Keys, Weak JWT, Insecure Pickle/YAML, SSL, File Upload, Race Condition, Traceback Exposure

πŸ“ž Contact & Support

Β© 2026 DocGen. All rights reserved.