This includes:
-
A Python-based binary calculator created during my DevPipeline software development apprenticeship.
-
A Python package for practicing binary arithmetic, data definitions, validation, unit testing, and package design.
This project supports decimal-binary conversion and basic binary arithmetic operations.
- Python 3
- unittest
- Git
- GitHub
Jose Soto
- Convert decimal numbers to binary
- Convert binary numbers to decimal
- Add two 8-bit binary numbers
- Subtract two 8-bit binary numbers
- Multiply two binary numbers
- Divide two binary numbers
- Validate binary input
- Run as a package from the terminal
BINARY_CALCULATOR/
│
├── bin_calc/
│ ├── __init__.py
│ ├── __init__.pyi
│ ├── __main__.py
│ ├── __main__.pyi
│ ├── arithmetic.py
│ ├── arithmetic.pyi
│ ├── conversions.py
│ ├── conversions.pyi
│ ├── validation.py
│ ├── validation.pyi
│ ├── type_defs.py
│ └── type_defs.pyi
│
├── tests/
│ └── test_binary_calculator.py
│
├── data_definitions.md
└── README.md