Skip to main content

A command-line tool that Makes Handling files quick and easy.

Project description

TurboTask File Processing Toolkit

PyPI version Python 3.6+ License: MIT Buy Me A Coffee

A powerful command-line toolkit for efficient file processing, specializing in CSS optimization and more.

🚀 Features

Current Capabilities

  • File Grouping

    • Automatically organize files by file type
    • Handle nested directory processing
  • CSS Processing

    • Minification by removing comments and whitespace
    • Single file or bulk directory processing
    • Directory structure preservation
    • Built-in validation checks
    • Custom output path configuration

📦 Installation

Prerequisites: Python 3.6 or higher

Via pip (Recommended)

pip install turbotask

From Source

# Clone the repository
git clone https://github.com/Fector101/TurboTask.git
cd TurboTask

# Optional: Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # Unix/macOS
# or
venv\Scripts\activate     # Windows

# Install from source
pip install .

🔨 Usage Guide

Note: In terminal use PascalCase it's TurboTask --help not turbotask --help

File Grouping

TurboTask group [optional_main_path]

The argument:

  1. [optional_main_path] The main Folder the code will start the scan from (default is './' the folder the code is being ran from).

Examples:

# Group files in current directory
TurboTask group

# Group files in specific directory
TurboTask group "C:/Users/Bob/Downloads"

CSS Processing Commands

Remove Whitespace and Comments

TurboTask noWhiteSpace <input-css-file> [output-file]

Arguments:

  • input-css-file: Path to source CSS file
  • output-file: (Optional) Destination path for processed file
  • Defaults to ./TurboTask-output/[original-filename]

Examples:

# Basic usage
TurboTask noWhiteSpace styles.css

# Custom output path
TurboTask noWhiteSpace styles.css dist/minified.css

🤝 Contributing

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

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please ensure your PR:

  • Includes a clear description of the changes
  • Updates relevant documentation
  • Adds tests if applicable

🐛 Reporting Issues

Found a bug? Please open an issue on our GitHub Issues page.

☕ Support the Project

If you find TurboTask helpful, consider buying me a coffee! Your support helps maintain and improve the project.

Buy Me A Coffee

Your support helps me to:

  • Maintain and improve TurboTask
  • Add new features
  • Keep the project active

📄 License

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

👤 Author

Fabian

🙏 Acknowledgments

  • Inspired by the open-source CLI tool community
  • Thanks to all contributors who help improve TurboTask

📚 Documentation

For detailed documentation and advanced usage examples, visit our GitHub.


Found this project helpful? Give it a ⭐️ on GitHub!

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

turbotask-0.2.31.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

turbotask-0.2.31-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file turbotask-0.2.31.tar.gz.

File metadata

  • Download URL: turbotask-0.2.31.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for turbotask-0.2.31.tar.gz
Algorithm Hash digest
SHA256 43c8cd051bce723204a29a86c992546320d97e19ea5c4355a5c04d6d1924c4f8
MD5 3a60c6b4418a398a5cf356ea2723d5a2
BLAKE2b-256 39766039662d7cbad08a1a07ac491218128b37e3e11d2b39550cdadd3eeaac41

See more details on using hashes here.

File details

Details for the file turbotask-0.2.31-py3-none-any.whl.

File metadata

  • Download URL: turbotask-0.2.31-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for turbotask-0.2.31-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea5b8de4071c877c30b1d92e7ad6f2ea35afb5615b14c9274b24d58e55000ab
MD5 f6b213c156e35c37c0282b609e66bea8
BLAKE2b-256 392e1b57e16c7a1620e69f98de94aced0584a3d9c5fc928f99c4bc7b26b68399

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