Skip to main content

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.

Build Status License Python Code Style Maintenance


⚡ 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 sync documentation to your project root or docs/ 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

  1. User Input: CLI commands (list, sync) are parsed by argparse in cli.py.
  2. Visuals: banner.py generates a unique or fixed color palette and renders the logo using rich.
  3. Resolution: The tool locates templates either in the internal enterprise_docs.templates package or a provided --source directory.
  4. Execution: shutil performs file operations to copy selected templates to the target --to directory.

🐞 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

  1. Clone the repository:
    git clone https://github.com/dhruv13x/enterprise-docs.git
    cd enterprise-docs
    
  2. Install dev dependencies:
    pip install -e ".[dev]"
    
  3. 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

enterprise_docs-4.0.1.tar.gz (944.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enterprise_docs-4.0.1-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

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

Hashes for enterprise_docs-4.0.1.tar.gz
Algorithm Hash digest
SHA256 65a9b11c3b6af3c78851d2d539f65397cac8855e8730e9056ad2c7eb2a944531
MD5 37ed43b8ee81ec6a5afc3593134f49ab
BLAKE2b-256 55163a7ad2c13a1b628f8e1d9eb68d9c73a879043643c90655bc8149f02ba5de

See more details on using hashes here.

Provenance

The following attestation bundles were made for enterprise_docs-4.0.1.tar.gz:

Publisher: publish.yml on dhruv13x/enterprise-docs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file enterprise_docs-4.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for enterprise_docs-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f0734237d6a16e3aa7e0efb79441526e44ec877a69f03dc657a6a1dffd0017
MD5 5a2076f7a3fe297580a51321382ed5a4
BLAKE2b-256 bc5e93266176f7b80632f362fb29f3d367c279500fe3fe7bb00fd230bafbf169

See more details on using hashes here.

Provenance

The following attestation bundles were made for enterprise_docs-4.0.1-py3-none-any.whl:

Publisher: publish.yml on dhruv13x/enterprise-docs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page