Skip to main content

python-repo template

Project description

Python 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-1.1.4.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-1.1.4-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pypak-1.1.4.tar.gz.

File metadata

  • Download URL: pypak-1.1.4.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-1.1.4.tar.gz
Algorithm Hash digest
SHA256 9718b45b6d2eb7460a61144665dcc679d8b629d80f2de2a75542a2c3cb64e376
MD5 cbe4b3baaaec505bb93543a4644fa3c9
BLAKE2b-256 f0418110224e59134a73c9a80f2add20fbd93b84f01d80118daf305051f1fb88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypak-1.1.4-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-1.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9ef600ae06d474cf18359c504df8c16e3de917b6e453a2108942ef76343e7c22
MD5 029e8077f723515abd9353fee918dac4
BLAKE2b-256 19f9d3c3044a38ce0cd28ba7fc7a549ec0ad8eaec9f1378cba0e4172d3134988

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