Skip to content

Gua-tk/converters

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

converters

This repository contains a collection of converters for various file formats. These converters are designed to facilitate the conversion of files from one format to another.

Overview

Explain briefly what the converters in this repository are designed to achieve and their primary use cases.

Available Converters

1. bintodec.py

  • Description: It gives back the conversion of a binary number to decimal.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing bintodec.py.
    3. Run the command:
      python3 bintodec.py <binary_number>
      Replace <binary_number> with the binary number you want to convert.

2. dectobin.py

  • Description: It gives back the conversion of a decimal number to binary.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing dectobin.py.
    3. Run the command:
      python3 dectobin.py <decimal_number>
      Replace <decimal_number> with the decimal number you want to convert.

3. dectohex.py

  • Description: It gives back the conversion of a decimal number to hexadecimal.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing dectohex.py.
    3. Run the command:
      python3 dectohex.py <decimal_number>
      Replace <decimal_number> with the decimal number you want to convert.

4. dectoutf.py

  • Description: It gives back the conversion of a decimal number to UTF.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing dectoutf.py.
    3. Run the command:
      python3 dectoutf.py <decimal_number>
      Replace <decimal_number> with the decimal number you want to convert.

5. escaper.py

  • Description: Scaper.
  • Usage:
    • Usage details for escaper.py are not provided. Please check the script or accompanying documentation for instructions.

6. hextodec.py

  • Description: It gives back the conversion of a hexadecimal number to decimal.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing hextodec.py.
    3. Run the command:
      python3 hextodec.py <hexadecimal_number>
      Replace <hexadecimal_number> with the hexadecimal number you want to convert.

7. to.py

  • Description: Perform conversion between different number bases. It takes either command line arguments or reads from standard input to perform the conversion.
  • Usage:
    • Detailed instructions for using to.py are already provided in the script itself. Check the script for usage information.

8. utftodec.py

  • Description: It gives back the conversion of UTF to decimal.
  • Usage:
    1. Open a terminal.
    2. Navigate to the directory containing utftodec.py.
    3. Run the command:
      python3 utftodec.py <utf_string>
      Replace <utf_string> with the UTF string you want to convert.

Getting Started

You need python installed in your system and the variable in your environment PATH so we are able or ensure to call python3 it in our console.

Contributing

If you're interested in contributing to the project, please follow the guidelines in CONTRIBUTING.md.

License

This project is licensed under the GNU General Public License (GPL) Version 3.

Feel free to explore the code, and if you have any suggestions or improvements, open an issue or submit a pull request!

Happy converting!

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%