Skip to main content
Release file added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

pluggy - A minimalist production ready plugin system

pypi anaconda versions travis appveyor

This is the core framework used by the pytest, tox, and devpi projects.

Please read the docs to learn more!

A definitive example

import pluggy

hookspec = pluggy.HookspecMarker("myproject")
hookimpl = pluggy.HookimplMarker("myproject")


class MySpec(object):
    """A hook specification namespace.
    """
    @hookspec
    def myhook(self, arg1, arg2):
        """My special little hook that you can customize.
        """


class Plugin_1(object):
    """A hook implementation namespace.
    """
    @hookimpl
    def myhook(self, arg1, arg2):
        print("inside Plugin_1.myhook()")
        return arg1 + arg2


class Plugin_2(object):
    """A 2nd hook implementation namespace.
    """
    @hookimpl
    def myhook(self, arg1, arg2):
        print("inside Plugin_2.myhook()")
        return arg1 - arg2


# create a manager and add the spec
pm = pluggy.PluginManager("myproject")
pm.add_hookspecs(MySpec)

# register plugins
pm.register(Plugin_1())
pm.register(Plugin_2())

# call our `myhook` hook
results = pm.hook.myhook(arg1=1, arg2=2)
print(results)

Metadata

Release files for pluggy 0.5.2

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for pluggy 0.5.2
File Size Uploaded Provenance Actions
pluggy-0.5.2.tar.gz 18.9 kB Without provenance Details for pluggy-0.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 32.5 kB

Release files / pluggy-0.5.2.tar.gz

Download URL pluggy-0.5.2.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bd60171dbb250fdebafad46ed16d97065369da40568ae948ef7117eee8536e94
BLAKE2b-256 checksum
How to use checksums
c1c8d0c5ca3c8134cbc7c8e2a40a0f908b3aa0e76762b3a829ae6dbe26c1f2b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pluggy-0.5.2-py2.py3-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL pluggy-0.5.2-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cab5800ece3d679358782c4d674be9912f52918bc919888b228fdf5705fcd067
BLAKE2b-256 checksum
How to use checksums
4dd1e478b8a33230f85f38e35b386376fbd115219de2a2c4c8783610851ad1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pluggy 0.5.2

Upload timing

Release file added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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