Skip to main content

Python Programming Accessory Kit (pypak)

Table of Contents

About

The Python Accessory Kit (pypak) is a collection of Python utilities and scripts designed to assist with various development tasks.

Status

Master Branch

status CircleCI Appveyor Python 3 Updates Test Coverage Code Coverage Coverage Status Code Climate CodeFactor codebeat badge Size commits-since

Stable Branch

[CI](gha link goes here) CircleCI Appveyor Code Coverage Coverage Status codebeat badge

Installation

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

Usage

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

Features

Modules

  • pypak/__init__.py: The initialization module for pypak.
  • pypak/anything.py: Contains the anything and nothing classes, providing generic object implementations with extensive method overloading and testing examples.

Scripts

  • setup.py: Script to install the pypak package.
  • Makefile: Contains development, testing, and cleaning commands for ease of use.

Documentation

Located in the docs/ directory:

  • conf.py: Configuration for Sphinx documentation generation.
  • index.md: The main page for project documentation.
  • Makefile and make.bat: Scripts to build documentation in various formats.

Tests

Located in the tests/ directory.

Development

Testing

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

Style Guidelines

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.

Dependencies

The project dependencies are listed in requirements.txt.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Ensure your code follows the CEP-8 (Python) or CEP-5 (Bash) coding standards.
  4. Submit a pull request with a detailed description of your changes.

License

MIT License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • 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.

Metadata

Release files for pypak 2.0.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypak 2.0.0.post1
File Size Uploaded
pypak-2.0.0.post1.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypak 2.0.0.post1
File Interpreter ABI Platform
pypak-2.0.0.post1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 32.1 kB

Release files / pypak-2.0.0.post1.tar.gz

Download URL pypak-2.0.0.post1.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c976439b97c0fd924b53dbe71e0f1358d4f00652346f1df9e2b30a95781786cc
BLAKE2b-256 checksum
How to use checksums
79f924c9860cf495b92a0a2262b69dbe286191e2904fc8e14dd0bf1371144d63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / pypak-2.0.0.post1-py2.py3-none-any.whl

Download URL pypak-2.0.0.post1-py2.py3-none-any.whl
Size 13.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d98c6df48facb55cfae70d370406fbbcf5618d513b50f0681f6be684bc2f7991
BLAKE2b-256 checksum
How to use checksums
a59e47f16c16cba26cbe522641c45316b24b95c7f09c0502ce59c4fef899283d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

2.0.0.post1 This release

2 release files

1.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page