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

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.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

TurboTask-0.2.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file TurboTask-0.2.2.tar.gz.

File metadata

  • Download URL: TurboTask-0.2.2.tar.gz
  • Upload date:
  • Size: 10.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.2.tar.gz
Algorithm Hash digest
SHA256 04d08dd76d98673086d8d425b3977938c8e5a71e06765b637db226383dfa38eb
MD5 81fc2e4e26ea17b6381e0e98261daf43
BLAKE2b-256 846925264fe4fa124e007b66ddf6b4c6d482519576b8543a9fb34bc064e6fb5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbotask-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72dc91368bbd1dcbe686fc3aa1fc4b4b4af318646cb48e02d9270827dea77afb
MD5 d289bcfe3f3b4e657f7f3eb84bcfe5d0
BLAKE2b-256 992f69c60838426a4741b3ea0c609aad7efcf61de7528b0606015d3f4c8e45d2

See more details on using hashes here.

File details

Details for the file TurboTask-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: TurboTask-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d4de412a9a7e117402c0f118b2df8e018a94d6910f1f2d3da1bebd21b624770
MD5 fabb21ad9fbaeecc5d02df1b4e665596
BLAKE2b-256 1010f05f60cac09e6286d67c41ecf78d4a525f0f85a904a9fdc38d3530b21f6e

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