Skip to main content

python-repo template

Project description

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

[!NOTE] WIP Documentation is a work in progress. :construction:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypak-2.0.0.post1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypak-2.0.0.post1-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pypak-2.0.0.post1.tar.gz.

File metadata

  • Download URL: pypak-2.0.0.post1.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for pypak-2.0.0.post1.tar.gz
Algorithm Hash digest
SHA256 c976439b97c0fd924b53dbe71e0f1358d4f00652346f1df9e2b30a95781786cc
MD5 464d2350da4a6cda813805f3907f9adb
BLAKE2b-256 79f924c9860cf495b92a0a2262b69dbe286191e2904fc8e14dd0bf1371144d63

See more details on using hashes here.

File details

Details for the file pypak-2.0.0.post1-py2.py3-none-any.whl.

File metadata

  • Download URL: pypak-2.0.0.post1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for pypak-2.0.0.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d98c6df48facb55cfae70d370406fbbcf5618d513b50f0681f6be684bc2f7991
MD5 c541773cce67dcf34514ac78c5613c7e
BLAKE2b-256 a59e47f16c16cba26cbe522641c45316b24b95c7f09c0502ce59c4fef899283d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page