Unified enterprise documentation suite for Dhruv13x organization — providing policy, compliance, and automation templates for enterprise-grade Python projects.
Project description
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.
Project details
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 enterprise_docs-4.0.1.tar.gz.
File metadata
- Download URL: enterprise_docs-4.0.1.tar.gz
- Upload date:
- Size: 944.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a9b11c3b6af3c78851d2d539f65397cac8855e8730e9056ad2c7eb2a944531
|
|
| MD5 |
37ed43b8ee81ec6a5afc3593134f49ab
|
|
| BLAKE2b-256 |
55163a7ad2c13a1b628f8e1d9eb68d9c73a879043643c90655bc8149f02ba5de
|
Provenance
The following attestation bundles were made for enterprise_docs-4.0.1.tar.gz:
Publisher:
publish.yml on dhruv13x/enterprise-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
enterprise_docs-4.0.1.tar.gz -
Subject digest:
65a9b11c3b6af3c78851d2d539f65397cac8855e8730e9056ad2c7eb2a944531 - Sigstore transparency entry: 764297174
- Sigstore integration time:
-
Permalink:
dhruv13x/enterprise-docs@3297789daa0f9095830496b8751d37bbadd4a21e -
Branch / Tag:
refs/tags/v4.0.1 - Owner: https://github.com/dhruv13x
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3297789daa0f9095830496b8751d37bbadd4a21e -
Trigger Event:
push
-
Statement type:
File details
Details for the file enterprise_docs-4.0.1-py3-none-any.whl.
File metadata
- Download URL: enterprise_docs-4.0.1-py3-none-any.whl
- Upload date:
- Size: 68.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5f0734237d6a16e3aa7e0efb79441526e44ec877a69f03dc657a6a1dffd0017
|
|
| MD5 |
5a2076f7a3fe297580a51321382ed5a4
|
|
| BLAKE2b-256 |
bc5e93266176f7b80632f362fb29f3d367c279500fe3fe7bb00fd230bafbf169
|
Provenance
The following attestation bundles were made for enterprise_docs-4.0.1-py3-none-any.whl:
Publisher:
publish.yml on dhruv13x/enterprise-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
enterprise_docs-4.0.1-py3-none-any.whl -
Subject digest:
a5f0734237d6a16e3aa7e0efb79441526e44ec877a69f03dc657a6a1dffd0017 - Sigstore transparency entry: 764297176
- Sigstore integration time:
-
Permalink:
dhruv13x/enterprise-docs@3297789daa0f9095830496b8751d37bbadd4a21e -
Branch / Tag:
refs/tags/v4.0.1 - Owner: https://github.com/dhruv13x
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3297789daa0f9095830496b8751d37bbadd4a21e -
Trigger Event:
push
-
Statement type: