This project is a modular Python application that includes various programs for string manipulation, specifically reversing strings and checking for palindromes. Each program can be run from the command line.
modular-python-app
├── src
│ ├── __init__.py
│ ├── main.py
│ ├── reverse_string.py
│ ├── palindrome_checker.py
│ └── utils
│ └── __init__.py
├── requirements.txt
└── README.md
To install the required dependencies, run:
pip install -r requirements.txt
To run the main application, execute the following command:
python src/main.py
This will provide a command-line interface to choose between reversing a string or checking for a palindrome.
To reverse a string directly, you can run:
python src/reverse_string.py "your_string_here"
To check if a string is a palindrome, use:
python src/palindrome_checker.py "your_string_here"
- And so on for other python codes.
Feel free to submit issues or pull requests for improvements or additional features.
This project is open-source and available under the MIT License.