🚀 PyMOUtility
A handy collection of helper functions, decorators, and utilities designed to streamline and simplify your Python 🐍 development experience. PyMOUtility is an open-source project that provides powerful tools to make your code cleaner, more readable, and easier to debug.
⚙️ Installation
PyMOUtility uses Poetry for dependency management. To install PyMOUtility, make sure you have Python 3.7 or higher and Poetry installed on your system.
First, clone the repository:
git clone https://github.com/username/pyMOUtility.git
cd pyMOUtility
Please replace 'username' with the actual username of the repository.
Then, install the dependencies using Poetry:
poetry install
This will create a virtual environment and install all the necessary dependencies.
You can then use PyMOUtility within this virtual environment or build it for usage elsewhere.
If you wish to build a distribution package, use:
poetry build
This will produce a .whl file in the dist/ directory that you can install using pip:
pip install dist/pyMOUtility-*.whl
Please replace '*' with the actual version of the PyMOUtility package.
Remember to always activate the virtual environment created by Poetry before using the package:
poetry shell
This command will spawn a shell within the virtual environment. If you want to leave the virtual environment, simply exit the shell.
✨ Features
- 🛠️ Helper Functions: A collection of functions to help handle and manipulate data more efficiently.
- 🖼️ Decorators: Save time on writing repetitive code blocks with these ready-to-use decorators.
- 🔍 Error Handlers: Tools for handling and debugging exceptions gracefully.
📖 Usage
Import the required utility from the PyMOUtility package. Here's a simple example:
from pymoutility.decorators import timeit
@timeit(print)
def my_function():
...
my_function() # this will print the time taken to execute my_function
📚 Detailed Documentation
For a complete understanding of how to use PyMOUtility, refer to the documentation (to be updated).
💡 Examples
To see PyMOUtility in action, check out these examples.
👥 Contributing
PyMOUtility is an open-source project, and we welcome contributions of all sorts! Here are some ways you can contribute:
-
Improving Documentation: If you find any issues in the documentation or think it can be improved, feel free to make changes and submit a pull request.
-
Reporting Bugs: If you find a bug, please create an issue detailing what you found. Include as much detail as possible, such as the Python version, PyMOUtility version, and the steps to reproduce the bug.
-
Feature Requests: If you think a feature could be useful in PyMOUtility, please create an issue describing the feature and why it would be beneficial.
-
Writing Code: If you want to contribute code to fix bugs, add features, or enhance the project in any way, here's a basic workflow:
- Fork the repository and clone it locally.
- Create a branch for your changes.
- Make the changes in your branch.
- Run the tests to ensure your changes don't break existing functionality.
- Push your changes to your fork.
- Submit a pull request.
When submitting a pull request, please make sure your code follows the existing coding style, your changes are well-documented, and that you've added tests if you've introduced any new features.
We appreciate all contributions, and we're always excited to see what the community comes up with!
🧪 Testing
To run the tests, use the following command:
python -m pytest "tests"
⚖️ License
This project is licensed under the MIT License - see the LICENSE file for details.
📧 Contact
For any queries, feel free to open an issue or contact us at jasmeet.gujral@mostacktechnology.com.
🧪 Testing
To run the tests, use the following command:
python -m pytest "tests"
📜 Changelog
See the CHANGELOG for a history of notable changes to PyMOUtility.
⚖️ License
This project is licensed under the MIT License - see the LICENSE file for details.
📧 Contact
For any queries, feel free to open an issue or contact us at jasmeet.gujral@mostacktechnology.com.
Release files for pymoutility 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymoutility-0.1.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymoutility-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / pymoutility-0.1.1.tar.gz
| Download URL | pymoutility-0.1.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
165f6a6c79fddd07c7d7f24c50af098c233bc452dcee8d0c14e0afb93bd0b136
|
|
BLAKE2b-256 checksum How to use checksums |
0e5e06e05743de646427621aad29c6a51242b4a8d429e2a3c583cd8d05121495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
|
Release files / pymoutility-0.1.1-py3-none-any.whl
| Download URL | pymoutility-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
506e0e3fcf927c036e72355c7de5c7c982cff733dcd9bdbb60e6e21e80485609
|
|
BLAKE2b-256 checksum How to use checksums |
f2eb5ae8e3cc22fa9dee27150a393e956a8077a565b78949636f17d01c1481f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
|