Skip to main content
Made with pop, a Python implementation of Plugin Oriented Programming Made with Python

Contracts, subs, and environment for handling exceptions in POP.

About

This project contains app-merge components for POP. It adds a sub for exception hooks and for exceptions. This provides a predictable structure for using exceptions in POP.

What is POP?

This project is built with pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.

For more information:

Getting Started

Prerequisites

  • Python 3.7+

  • git (if installing from source, or contributing to the project)

Installation

If wanting to use pop-except, you can do so by either installing from PyPI or from source.

Install from PyPI

pip install pop-except

Install from source

# clone repo
git clone git@gitlab.com/vmware/pop/pop-except.git
cd pop-except

# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Usage

In your project’s main __init__ function extend the pop_except namespace:

def __init__(hub):
    hub.pop.sub.add("pop_except")

After your code initializes hub.OPT, call pop_except’s configure function:

def __cli__(hub):
    hub.pop.config.load(["my_app", "pop_except"], cli=""my_app")

Roadmap

Reference the open issues for a list of proposed features (and known issues).

Acknowledgements

Metadata

Release files for pop-except 0.1.0

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

Source distribution (sdist)

Source distribution for pop-except 0.1.0
File Size Uploaded
pop-except-0.1.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pop-except 0.1.0
File Interpreter ABI Platform
pop_except-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 kB

Release files / pop-except-0.1.0.tar.gz

Download URL pop-except-0.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1cf1449e5ba7d49e498e6405217a93635e4c902f627965fe4c2e57381f303681
BLAKE2b-256 checksum
How to use checksums
5be62bb4e77fd261e33d612793417586efffa5556467b70fbfe04f770ab8d9e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

Release files / pop_except-0.1.0-py3-none-any.whl

Download URL pop_except-0.1.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72e0810fc089af6b4f9e4f2fbb8d6eb12d44a649f41a2f1e6f1f036fb2386e89
BLAKE2b-256 checksum
How to use checksums
761a87212bf664081a8f04346021330cbd0449d7937d385be7313d5ee0ba8055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

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