No project description provided
Project description
Packetizer 📦
Hello 👋, welcome to the Packetizer repository, your go-to tool for keeping your Python code neat and tidy.
What Does Packetizer Do?
Imagine working on a large Python project and you find your module.py
file has become a monolith with thousands of lines and dozens of classes. Enter Packetizer, your life-saver.
With a single command, Packetizer takes that behemoth of a file, splits it into multiple files based on the classes, and even generates an __init__.py
so it all works like a proper Python package. 🎉
🛠️ Installation
To install Packetizer, simply run:
pip install packetizer
🚀 Quick Start
Assuming you have a module.py
full of classes, just run:
packetizer module.py
Voilà, you'll get a folder named module
with each class in its own .py
file and an __init__.py
tying it all together as a package.
📜 Features
- Automatically splits classes into their own files
- Generates an
__init__.py
so it functions as a package - Option to remove unused imports
- User-friendly and easy to use
🤝 Contributing
We'd love to see your contributions and make Packetizer even better. Feel free to open an issue or make a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for packetizer-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47918eb528f498e8df09dcbce14ed3eeff1bcff8edd75e8d07647182b8094968 |
|
MD5 | 9d96960264e980e36572d67708a6e17f |
|
BLAKE2b-256 | 19c29cdc4990dd649a2eeaff5767bd9c1dc1ad8d0bcd91127128d9f5b979ca78 |