- About
- Status
- Installation
- Usage
- Features
- Development
- Dependencies
- Contributing
- License
- Acknowledgments
The Python Accessory Kit (pypak) is a collection of Python utilities and scripts designed to assist with various development tasks.
Clone the repository and navigate to the project directory:
git clone https://github.com/reactive-firewall/pypak.git
cd pypak
Install the required dependencies:
pip install -r requirements.txt
pypak provides a set of modules and scripts that can be utilized in your Python projects. You can import the modules in your Python code as follows:
import pypak
pypak/__init__.py
: The initialization module for pypak.pypak/anything.py
: Contains theanything
andnothing
classes, providing generic object implementations with extensive method overloading and testing examples.
setup.py
: Script to install the pypak package.Makefile
: Contains development, testing, and cleaning commands for ease of use.
Note
WIP Documentation is a work in progress. 🚧
Located in the docs/
directory:
conf.py
: Configuration for Sphinx documentation generation.index.md
: The main page for project documentation.Makefile
andmake.bat
: Scripts to build documentation in various formats.
Located in the tests/
directory.
For testing, use the provided Makefile
commands:
- Run unit tests:
make clean
make test
- Check code style according to CEP-8 conventions:
make clean
make test-style
- Run tests across multiple environments using Tox:
make clean
make test-tox
This project follows custom coding standards:
- CEP-8: A style guide for Python code, similar to PEP 8 but with project-specific conventions.
- CEP-5: A style guide for Bash scripts, detailing conventions for script structure and formatting.
Please ensure all Python and Bash code adheres to these standards.
The project dependencies are listed in requirements.txt
.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Ensure your code follows the CEP-8 (Python) or CEP-5 (Bash) coding standards.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License - see the LICENSE.md file for details.
-
Third-party Acknowledgement:
Some code, particularly in
tests/profiling.py
, was modified or derived from Zapier's profiling-python-like-a-boss project. This code is under the BSD-3-Clause license. See the LICENSE for details. -
Special Thanks:
Thanks to all contributors and the open-source community for their invaluable support and resources.