Skip to content

A curated collection of foundational Python libraries and scripts designed for robust development, automation, and data processing. Optimized for efficiency and modularity.

License

Notifications You must be signed in to change notification settings

chirag127/Python-Foundation-Libraries-And-Scripts-Python-Lib

Repository files navigation

Python-Foundation-Libraries-And-Scripts-Python-Lib

Build Status Code Coverage Python Version Linting License GitHub Stars

⭐ Star this Repo


A curated collection of foundational Python libraries and scripts designed for robust development, automation, and data processing. Optimized for efficiency and modularity.


🚀 Project Overview

This repository serves as a comprehensive toolkit for Python developers, offering a high-quality, modular collection of essential libraries and utility scripts. It is engineered for reliability, performance, and ease of integration into diverse projects, from complex automation workflows to intricate data processing pipelines.


🌳 Project Structure

bash Python-Foundation-Libraries-And-Scripts-Python-Lib/ ├── src/ │ ├── init.py │ ├── core/ │ │ ├── init.py │ │ └── utils.py │ ├── automation/ │ │ ├── init.py │ │ └── file_ops.py │ └── data_processing/ │ ├── init.py │ └── analysis.py ├── scripts/ │ ├── run_automation.py │ └── process_data.py ├── tests/ │ ├── init.py │ ├── core/test_utils.py │ ├── automation/test_file_ops.py │ └── data_processing/test_analysis.py ├── .gitignore ├── LICENSE ├── README.md ├── AGENTS.md ├── pyproject.toml ├── .ruff.toml ├── .github/workflows/ci.yml ├── .github/CONTRIBUTING.md ├── .github/ISSUE_TEMPLATE/bug_report.md ├── .github/PULL_REQUEST_TEMPLATE.md └── .github/SECURITY.md


📜 Table of Contents


🛠️ Core Features

  • Modular Design: Highly organized codebase promoting reusability and maintainability.
  • Robust Utilities: Core Python utilities for common development tasks.
  • Automation Scripts: Pre-built scripts for automating repetitive tasks (e.g., file operations, system commands).
  • Data Processing: Efficient modules for data manipulation, cleaning, and analysis.
  • Performance Optimized: Written with efficiency and speed in mind.

⚙️ Technology Stack

  • Language: Python 3.10+
  • Package Management: uv (Ultra-fast, reliable dependency management)
  • Linting & Formatting: Ruff (Blazingly fast Python linter and formatter)
  • Testing: Pytest (Powerful and flexible testing framework)

💡 Development & Setup

  1. Clone the Repository: bash git clone https://github.com/chirag127/Python-Foundation-Libraries-And-Scripts-Python-Lib.git cd Python-Foundation-Libraries-And-Scripts-Python-Lib

  2. Install Dependencies using uv: bash uv install

    This command will read the pyproject.toml file and install all project dependencies, including development tools.

  3. Verify Setup: Ensure linting and formatting are correctly set up: bash ruff check . ruff format .


🚀 Running Scripts

Execute utility scripts directly from the scripts/ directory.

  • Run Automation Script: bash python scripts/run_automation.py --help

  • Run Data Processing Script: bash python scripts/process_data.py --help


🧪 Testing

Execute all tests using pytest:

bash pytest

To run tests with coverage:

bash pytest --cov=src/


🛡️ Development Principles

  • SOLID: Design principles promoting maintainable and scalable object-oriented software.
  • DRY (Don't Repeat Yourself): Avoid redundancy in code and configuration.
  • YAGNI (You Ain't Gonna Need It): Implement only necessary features.
  • Modularity: Ensure components are loosely coupled and highly cohesive.

🤖 AI AGENT DIRECTIVES

Click to Expand AI Agent Directives

This repository is managed by the Apex Technical Authority (December 2025 Edition), operating under strict AI Agent protocols.

1. IDENTITY & PRIME DIRECTIVE

  • Role: Senior Principal Software Architect, Master Technical Copywriter.
  • Context: December 2025; building for 2026 standards.
  • Output Standard: EXECUTION-ONLY. No plans, only executed code/docs.
  • Philosophy: "Zero-Defect, High-Velocity, Future-Proof."

2. INPUT PROCESSING & COGNITION

  • Speech-to-Text Interpretation: STRICTLY FORBIDDEN from executing literal typos. Must infer technical intent.
  • Logic Anchor: README.md is the Single Source of Truth (SSOT).
  • Mandatory MCP Instrumentation: Use linkup/brave for December 2025 standards, docfork for API verification, and clear-thought-two for complex flow architecting.

3. CONTEXT-AWARE APEX TECH STACKS (LATE 2025 STANDARDS)

  • Project Type: Python (pyproject.toml detection).
  • Apex Toolchain (Python):
    • Stack: Python 3.10+, uv (Package Management), Ruff (Linting/Formatting), Pytest (Testing).
    • Architecture: Modular Monolith.

4. APEX NAMING CONVENTION

  • Format: <Product>-<Function>-<Platform>-<Type> (e.g., Python-Foundation-Libraries-And-Scripts-Python-Lib).

5. THE README REPLICATION PROTOCOL

  • Content: Must be a self-contained Project Operating System.
  • Sections: Visual Authority, Structural Clarity, AI Agent Directives, Development Standards.
  • Badges: flat-square style, chirag127 username, mandatory badges (Build, Coverage, Tech Stack, Lint, License, Stars).

6. CHAIN OF THOUGHT (CoT) PROTOCOL

  • Pre-Execution Audit: Analyze repo, decide Pivot/Archive, apply Naming Strategy, draft AI Directives, generate files, polish, ensure strict adherence to AGENTS.md.

7. DYNAMIC URL & BADGE PROTOCOL

  • Base URL: https://github.com/chirag127/Python-Foundation-Libraries-And-Scripts-Python-Lib
  • Consistency: Use new repository name for all links and badges.
  • AGENTS.md Customization: Adapt content to specific tech stack (Python in this case), retain core Apex principles.

🤝 Contributing

We welcome contributions to enhance this foundational library. Please follow the guidelines in the CONTRIBUTING.md file.


⚖️ License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. See the LICENSE file for more details.

About

A curated collection of foundational Python libraries and scripts designed for robust development, automation, and data processing. Optimized for efficiency and modularity.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages