Skip to main content

A CLI tool to convert files between formats

Project description

Convert All

Convert All is a command-line tool designed to convert files between various formats effortlessly. It's modular and allows developers to extend its functionality by adding new conversion modules.

Features

  • Convert audio files.
  • Convert image files.
  • Convert video files.
  • Modular design for adding custom conversion formats.

Installation

1. Clone the Repository

pip install covert-all

Usage

Run the tool with:

convert-all <input_file> <output_file>

Example:

convert-all input.mp3 output.wav

How to Contribute

We welcome contributions to improve the project! Here’s how you can contribute:

1. Fork the Repository

Click on the Fork button on the top-right corner of the repository page.

2. Clone Your Fork

git clone https://github.com/PavlikPolivka/convert-anything.git branch -M main
cd convert-anything

3. Add a New Module

  1. Navigate to converter/modules/.

  2. Create a new Python file, e.g., my_module.py.

  3. Define supported formats and implement the convert function:

    SUPPORTED_FORMATS = {
        "input": [".source_extension"],
        "output": [".target_extension"]
    }
    
    def convert(input_file, output_file):
        # Conversion logic here
        pass
    
  4. Add your module to the repository.

5. Submit a Pull Request

Push your changes and open a pull request on the main repository.


License

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

Happy converting!

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

convert-all-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

convert_all-1.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file convert-all-1.0.2.tar.gz.

File metadata

  • Download URL: convert-all-1.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for convert-all-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9ced1b0c96a5a6429dd720c4cd9425f3185c0da4d2c6e9fb936cd021c9600a0d
MD5 9da60e3649af9cd77fbf58f9c5d13845
BLAKE2b-256 8d03d3a3b324eb1772f6935fabc3a842dda226729e8ab38f055b3435a15c5b06

See more details on using hashes here.

File details

Details for the file convert_all-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: convert_all-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for convert_all-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2142af47b8ebdde14a09fea6520d664c851ddb44eb908413bd1b1f569087f2a1
MD5 9f657baf4988589e4414d4df9f72d2b2
BLAKE2b-256 72d8a7c8ecb5101c5780d6fb16e1f2c70751eb72a3bb3a4fb97870f6410c2ee9

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