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
File details
Details for the file packetizer-0.1.8.tar.gz
.
File metadata
- Download URL: packetizer-0.1.8.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b39196c7ee8a450c92d96f12cbfffedb627e02c42748a62aeb87486a56279c |
|
MD5 | e74cc0803a958e8255889d409bdf2e14 |
|
BLAKE2b-256 | 82b48d2dd8a406ced5a29092400adfab32a95d6a1f6bdee73824a20058dffb36 |
File details
Details for the file packetizer-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: packetizer-0.1.8-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31003227bfa6029e68293737711bcd00a8fefc1bbacab04059f5972da330945f |
|
MD5 | d51a5ad2462332c3794eda18949cdc05 |
|
BLAKE2b-256 | 1d007b737633bc2f3748ef971d2ec1aae92f32b93d38e040c0eefc240d7b815f |