Enterprise Docs
Unified enterprise documentation suite for Dhruv13x organization — providing policy, compliance, and automation templates for enterprise-grade Python projects.
⚡ Quick Start
Prerequisites
- Python 3.10 or higher
Install
pip install enterprise-docs
Or for development:
pip install -e .
Run
Check available templates:
enterprise-docs list
Demo
Get started in 5 minutes:
# 1. Install the tool
pip install enterprise-docs
# 2. List available templates
enterprise-docs list
# 3. Bootstrap your project with a contributing guide
enterprise-docs sync CONTRIBUTING.md --to .
✨ Features
- Core Standardization: Access 30+ standardized templates including
CONTRIBUTING.md,SECURITY.md,GOVERNANCE.md, and more. - One-Command Automation: Instantly
syncdocumentation to your project root ordocs/folder. - Compliance Ready: Built-in templates for Security Policy, Data Privacy, Risk Register, and Audit Checklists.
- Customizable: Supports syncing from custom template directories via
--source. - Rich Visuals: Procedurally generated CLI banners using cryptographically-safe color palettes.
🛠️ Configuration
Environment Variables
| Name | Description | Default | Required |
|---|---|---|---|
CREATE_DUMP_PALETTE |
Integer index (0-5) to force a specific color palette for the CLI banner. If unset, generates a procedural palette. | Unset | No |
CLI Arguments
| Argument | Description |
|---|---|
command |
Action to perform: list, sync, version. |
template_name |
(Optional) Specific template file to sync (e.g., CONTRIBUTING.md). |
--to |
Destination directory for synced files (default: ./docs). |
--source |
Path to a custom directory containing templates to use instead of the built-in set. |
🏗️ Architecture
Directory Tree
.
├── src/
│ └── enterprise_docs/
│ ├── cli.py # Entry point and argument parsing
│ ├── banner.py # Rich banner generation logic
│ └── templates/ # 30+ Markdown and config templates
├── tests/ # Pytest suite (98% coverage)
├── pyproject.toml # Project metadata and dependencies
└── README.md
Data Flow
- User Input: CLI commands (
list,sync) are parsed byargparseincli.py. - Visuals:
banner.pygenerates a unique or fixed color palette and renders the logo usingrich. - Resolution: The tool locates templates either in the internal
enterprise_docs.templatespackage or a provided--sourcedirectory. - Execution:
shutilperforms file operations to copy selected templates to the target--todirectory.
🐞 Troubleshooting
| Issue | Solution |
|---|---|
Template 'X' not found |
Ensure the template name matches exactly (case-sensitive) with the output of enterprise-docs list. |
Source directory 'X' not found |
Verify the path provided to --source exists and contains .md files. |
| Debug Mode | The tool prints ✅ or ❌ icons for success/failure. Check standard output for specific error messages. |
🤝 Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Development Setup
- Clone the repository:
git clone https://github.com/dhruv13x/enterprise-docs.git cd enterprise-docs
- Install dev dependencies:
pip install -e ".[dev]"
- Run tests:
pytest
🗺️ Roadmap
- Phase 1 (Complete): Core CLI, Sync, Custom Sources.
- Phase 2: Template Versioning, Dry-Run Mode.
- Phase 3: CI/CD Webhooks, Plugin System.
- Phase 4: AI-Powered Template Generation.
See ROADMAP.md for the full vision.
Metadata
Release files for enterprise-docs 4.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| enterprise_docs-4.0.1.tar.gz | 944.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enterprise_docs-4.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / enterprise_docs-4.0.1.tar.gz
| Download URL | enterprise_docs-4.0.1.tar.gz |
|---|---|
| Size | 944.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65a9b11c3b6af3c78851d2d539f65397cac8855e8730e9056ad2c7eb2a944531
|
|
BLAKE2b-256 checksum How to use checksums |
55163a7ad2c13a1b628f8e1d9eb68d9c73a879043643c90655bc8149f02ba5de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 15, 2025.
Transparency logRelease files / enterprise_docs-4.0.1-py3-none-any.whl
| Download URL | enterprise_docs-4.0.1-py3-none-any.whl |
|---|---|
| Size | 68.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5f0734237d6a16e3aa7e0efb79441526e44ec877a69f03dc657a6a1dffd0017
|
|
BLAKE2b-256 checksum How to use checksums |
bc5e93266176f7b80632f362fb29f3d367c279500fe3fe7bb00fd230bafbf169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 15, 2025.
Transparency log