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.
๐ 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
- Virtual Environment Tutorial: Complete guide to Python environment setup
- Global Scripts Tutorial: Comprehensive usage tutorial with examples
- Navigation Guide: Help with path resolution
๐ง Advanced Usage
- Complete README: Detailed feature documentation
- Demo Script: Interactive feature demonstration
๐ ๏ธ 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 sectionssimple: Basic README with essential informationapi: API-focused documentation for librariesminimal: 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:
- ๐ Report Issues: Found a bug? Open an issue with details
- ๐ก Suggest Features: Have an idea? Share it in the discussions
- ๐ง Submit Pull Requests: Improve the code or documentation
- ๐ 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
- ๐ง Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
- ๐ Documentation: See the comprehensive guides in this repository
๐ฏ 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
- Clone or download this repository
- Navigate to your workspace
- Follow the tutorials in the
Tutorials/directory - Run tests in the
Tests/directory to verify functionality - Explore the documentation in
Documentation/
Generated on: 2025-06-28 15:03:34
b5ac9cc (Release: prepared for publication)
Project details
Release history Release notifications | RSS feed
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c4a466e3eb3509023cf70b681f522a187680eb575a412ccbb3034d71b415f2b
|
|
| MD5 |
7484b423a4f507f99177fe0884abcd59
|
|
| BLAKE2b-256 |
f4b46c5d37f1c05bd143442ca61a44d593bf6dfdf5db92dd13a518bb0908ad19
|
File details
Details for the file repository_builder-1.0.0-py3-none-any.whl.
File metadata
- Download URL: repository_builder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea7ba1e4e7cbadfcd44b42ecbe5e5e2036c7022a3c7eef330eaaed518dae7089
|
|
| MD5 |
74d9901012981a8167079da97c95cdff
|
|
| BLAKE2b-256 |
412c6bc79544434f08b742595af30b1d7a4fa33ad028446a229b6d821224a149
|