Skip to content

shashwat-prakash/modular-python-coding-app

Repository files navigation

Modular Python App

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.

Project Structure

modular-python-app
├── src
│   ├── __init__.py
│   ├── main.py
│   ├── reverse_string.py
│   ├── palindrome_checker.py
│   └── utils
│       └── __init__.py
├── requirements.txt
└── README.md

Installation

To install the required dependencies, run:

pip install -r requirements.txt

Usage

Running the Main Application

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.

Reversing a String

To reverse a string directly, you can run:

python src/reverse_string.py "your_string_here"

Checking for a Palindrome

To check if a string is a palindrome, use:

python src/palindrome_checker.py "your_string_here"
  • And so on for other python codes.

Contributing

Feel free to submit issues or pull requests for improvements or additional features.

License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages