Skip to main content

A comprehensive collection of Python scripts and tools for enhanced productivity.

Project description

<<<<<<< HEAD

๐Ÿš€ Global Scripts Repository

Powerful automation tools for developers with intelligent documentation generation and professional export capabilities.

Python 3.8+ License: MIT Documentation

๐ŸŒŸ Overview

Global Scripts is a comprehensive toolkit designed to streamline development workflows through intelligent automation. The centerpiece is an advanced README generator that analyzes your projects and creates professional documentation with the ability to export to DOCX format for stakeholder sharing.

โœจ Key Features

  • ๐Ÿ” Intelligent Project Analysis: Automatically scans project structure, Python files, dependencies, and metadata
  • ๐Ÿ“ Multiple Template Types: Comprehensive, Simple, API-focused, and Minimal templates
  • ๐Ÿ“„ Professional DOCX Export: Creates Word documents with professional styling
  • ๐Ÿ”ง Easy Integration: Simple integration into existing Python scripts and workflows
  • ๐Ÿ“ฆ Batch Processing: Process multiple projects simultaneously
  • ๐ŸŽฏ Interactive Mode: Guided setup for all experience levels
  • โš™๏ธ Highly Configurable: Extensive customization options
  • ๐Ÿ—‚๏ธ Path Management: Smart handling of VS Code virtual file system paths

๐Ÿš€ Quick Start

1. Clone and Setup

# Clone the repository
git clone https://github.com/gwanczuk/Global-Scripts.git
cd Global-Scripts

# Navigate to the main tool directory
cd "Global Scripts/my-python-tool"

# Run automated setup
python setup.py

2. Install Dependencies

# Install required packages
pip install python-docx

# Verify installation
python verify_setup.py

3. Generate Your First README

# Basic generation
python scripts/enhanced_readme_cli.py /path/to/your/project

# With DOCX export
python scripts/enhanced_readme_cli.py /path/to/your/project --template comprehensive --docx

# Interactive mode
python scripts/enhanced_readme_cli.py --interactive

๐Ÿ“ Repository Structure

Global-Scripts/
โ”œโ”€โ”€ ๐Ÿ“‹ Documentation & Tutorials
โ”‚   โ”œโ”€โ”€ README.md                           # This file
โ”‚   โ”œโ”€โ”€ Virtual_Environment_Tutorial.ipynb  # Complete venv setup guide
โ”‚   โ””โ”€โ”€ Global_Scripts_Tutorial.ipynb       # Comprehensive usage tutorial
โ””โ”€โ”€ ๐Ÿ› ๏ธ Global Scripts/
    โ””โ”€โ”€ my-python-tool/
        โ”œโ”€โ”€ ๐Ÿ“š Documentation
        โ”‚   โ”œโ”€โ”€ COMPLETE_README.md           # Detailed feature documentation
        โ”‚   โ”œโ”€โ”€ NAVIGATION_GUIDE.md          # Path resolution help
        โ”‚   โ”œโ”€โ”€ PROJECT_README.md            # Project-specific docs
        โ”‚   โ””โ”€โ”€ my-python-tool README.md     # Tool-specific docs
        โ”œโ”€โ”€ โš™๏ธ Core Components
        โ”‚   โ”œโ”€โ”€ setup.py                     # Automated setup script
        โ”‚   โ”œโ”€โ”€ requirements.txt             # Python dependencies
        โ”‚   โ”œโ”€โ”€ demo.py                      # Interactive demonstration
        โ”‚   โ”œโ”€โ”€ global_manager.py            # Main management module
        โ”‚   โ”œโ”€โ”€ path_helper.py               # Smart path resolution
        โ”‚   โ””โ”€โ”€ verify_setup.py              # Setup verification
        โ”œโ”€โ”€ ๐Ÿš€ Execution Scripts
        โ”‚   โ”œโ”€โ”€ run_global_scripts.bat       # Windows execution
        โ”‚   โ””โ”€โ”€ run_global_scripts.sh        # Unix/Linux execution
        โ”œโ”€โ”€ ๐Ÿ–ฅ๏ธ Command Line Interfaces
        โ”‚   โ””โ”€โ”€ scripts/
        โ”‚       โ”œโ”€โ”€ enhanced_readme_cli.py   # Advanced README generator
        โ”‚       โ”œโ”€โ”€ my_tool_cli.py           # General tool interface
        โ”‚       โ””โ”€โ”€ readme_cli.py            # Basic README generator
        โ””โ”€โ”€ ๐Ÿ—๏ธ Source Code
            โ””โ”€โ”€ src/
                โ”œโ”€โ”€ global_readme_generator.py  # Core generation engine
                โ”œโ”€โ”€ my_tool.py                  # Main tool implementation
                โ”œโ”€โ”€ readme_generator.py         # README generation logic
                โ””โ”€โ”€ venv_manager.py             # Virtual environment tools

๐ŸŽฏ Use Cases

For Individual Developers

  • ๐Ÿ“ Project Documentation: Generate professional README files for GitHub repositories
  • ๐Ÿ“Š Code Analysis: Understand project structure and dependencies
  • ๐Ÿ“„ Stakeholder Reports: Export documentation to DOCX for non-technical audiences

For Development Teams

  • ๐Ÿ”„ Standardized Documentation: Consistent README format across all projects
  • โšก CI/CD Integration: Automated documentation generation in pipelines
  • ๐Ÿ“‹ Batch Processing: Document multiple microservices or libraries at once

For Organizations

  • ๐Ÿข Enterprise Documentation: Professional Word documents for management
  • ๐Ÿ“ˆ Project Portfolios: Comprehensive documentation for project reviews
  • ๐ŸŽจ Custom Branding: Customizable templates with organizational styling

๐Ÿ“– Documentation

๐Ÿ“š Getting Started

๐Ÿ”ง Advanced Usage

๐Ÿ› ๏ธ Requirements

System Requirements

  • Python: 3.8 or higher
  • Operating System: Windows, macOS, or Linux
  • Memory: 512MB available RAM
  • Storage: 50MB free space

Python Dependencies

python-docx>=0.8.11    # DOCX export functionality
pathlib                # Enhanced path handling (built-in)
ast                     # Python code analysis (built-in)
json                    # Configuration files (built-in)

Optional Dependencies

rich                    # Enhanced terminal output
click                   # Improved CLI interfaces
requests                # API integrations

๐Ÿš€ Usage Examples

Basic README Generation

from src.global_readme_generator import ProjectAnalyzer, ReadmeGenerator

# Analyze project
analyzer = ProjectAnalyzer('/path/to/your/project')
project_info = analyzer.analyze_project()

# Generate README
generator = ReadmeGenerator(project_info)
readme_content = generator.generate_readme(template='comprehensive')

# Save README
with open('README.md', 'w') as f:
    f.write(readme_content)

Command Line Usage

# Generate with specific template
python scripts/enhanced_readme_cli.py /path/to/project --template comprehensive

# Export to DOCX
python scripts/enhanced_readme_cli.py /path/to/project --docx --output "Project_Docs.docx"

# Batch process multiple projects
python scripts/enhanced_readme_cli.py --batch --projects "proj1,proj2,proj3"

# Interactive guided mode
python scripts/enhanced_readme_cli.py --interactive

๐Ÿ”ง Configuration

Template Options

  • comprehensive: Detailed documentation with all sections
  • simple: Basic README with essential information
  • api: API-focused documentation for libraries
  • minimal: Minimal README for small projects

Output Formats

  • Markdown: Standard README.md files
  • DOCX: Professional Word documents
  • HTML: Web-ready documentation (coming soon)

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. ๐Ÿ› Report Issues: Found a bug? Open an issue with details
  2. ๐Ÿ’ก Suggest Features: Have an idea? Share it in the discussions
  3. ๐Ÿ”ง Submit Pull Requests: Improve the code or documentation
  4. ๐Ÿ“ Improve Documentation: Help make the docs even better

Development Setup

# Fork and clone the repository
git clone https://github.com/yourusername/Global-Scripts.git
cd Global-Scripts

# Create development environment
python -m venv dev_env
source dev_env/bin/activate  # On Windows: dev_env\Scripts\activate

# Install development dependencies
pip install -r requirements.txt
pip install pytest black flake8  # Additional dev tools

# Run tests
python -m pytest tests/

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Python Community: For the excellent ecosystem and tools
  • python-docx: For enabling professional document export
  • VS Code: For the excellent development environment
  • Contributors: Everyone who helps improve this project

๐Ÿ“ž Support

๐ŸŽฏ Roadmap

Upcoming Features

  • ๐ŸŒ HTML Export: Web-ready documentation generation
  • ๐ŸŽจ Custom Themes: More styling options for DOCX export
  • ๐Ÿ”— API Integration: REST API for remote documentation generation
  • ๐Ÿ“Š Analytics Dashboard: Usage tracking and insights
  • ๐Ÿ”Œ Plugin System: Extensible architecture for custom features

Version History

  • v1.0.0: Initial release with core README generation
  • v1.1.0: Added DOCX export functionality
  • v1.2.0: Batch processing and enhanced CLI
  • v1.3.0: Path management and VS Code integration

Made with โค๏ธ by the Global Scripts team

๐Ÿš€ Global Scripts - Complete Workspace Solution

A comprehensive collection of Python scripts and tools for enhanced productivity

๐Ÿ“ Repository Structure

Global-Scripts-Publication/
โ”œโ”€โ”€ Main_Scripts/           # Core functionality scripts
โ”œโ”€โ”€ Helper_Scripts/         # Utility and support scripts  
โ”œโ”€โ”€ Tutorials/              # Interactive learning notebooks
โ”œโ”€โ”€ Documentation/          # Comprehensive documentation
โ”œโ”€โ”€ Execution_Scripts/      # Ready-to-run script examples
โ”œโ”€โ”€ Tests/                  # Test suites and validation scripts
โ””โ”€โ”€ Config/                 # Configuration files and templates

๐Ÿงช Test Suites

  • Enhanced_Global_Manager_Test_Suite.ipynb - Comprehensive testing for global manager
  • Enhanced_Manager_Test_Suite.ipynb - Enhanced manager functionality tests

๐Ÿš€ Quick Start

  1. Clone or download this repository
  2. Navigate to your workspace
  3. Follow the tutorials in the Tutorials/ directory
  4. Run tests in the Tests/ directory to verify functionality
  5. Explore the documentation in Documentation/

Generated on: 2025-06-28 15:03:34

b5ac9cc (Release: prepared for publication)

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

repository_builder-1.0.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

repository_builder-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file repository_builder-1.0.0.tar.gz.

File metadata

  • Download URL: repository_builder-1.0.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for repository_builder-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0c4a466e3eb3509023cf70b681f522a187680eb575a412ccbb3034d71b415f2b
MD5 7484b423a4f507f99177fe0884abcd59
BLAKE2b-256 f4b46c5d37f1c05bd143442ca61a44d593bf6dfdf5db92dd13a518bb0908ad19

See more details on using hashes here.

File details

Details for the file repository_builder-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for repository_builder-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7ba1e4e7cbadfcd44b42ecbe5e5e2036c7022a3c7eef330eaaed518dae7089
MD5 74d9901012981a8167079da97c95cdff
BLAKE2b-256 412c6bc79544434f08b742595af30b1d7a4fa33ad028446a229b6d821224a149

See more details on using hashes here.

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