Skip to content
PYthonCoder1128 edited this page Feb 18, 2024 · 3 revisions

NumiConveri

NumiConveri is a Python package for converting between binary and decimal systems; hexadecimal, text, and octal systems in the future.

Features

  • Conversion between binary, decimal representations; hexadecimal, text, and octal representations.
  • Support for encoding and decoding text to and from binary, decimal, hexadecimal, and octal.
  • Easy-to-use functions for seamless conversion between different numeral systems.
  • Error handling for invalid inputs to ensure robustness.
  • Comprehensive documentation and examples for straightforward usage.

Installation

You can install NumiConveri via pip by running the following command: pip install numiconveri

For more detailed usage instructions and examples, please refer to the installation page.

Usage

import numiconveri

# Convert binary to decimal
decimal_number = numiconveri.binary_to_decimal("1010")
print(decimal_number)  # Output: 10
# Convert text to binary
binary_text = numiconveri.text_to_binary("Hello")
print(binary_text)  # Output: '1001000 1100101 1101100 1101100 1101111'

License

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

Clone this wiki locally