Skip to main content

Jute is an interface module for Python 3 that verifies both providers and receivers of the interface.

Although duck typing is generally considered the Pythonic way of dealing with object compatibility, it assumes that syntactic compatibility implies semantic compatibility. Interfaces provide an explicit way to express semantic compatibility.

Most existing interface modules for Python (e.g. abc and zope.interface) check that implementing classes provide all the attributes specified in the interface. But they ignore the other side of the contract, failing to ensure that the receiver of the interface only calls operations specified by the interface.

The jute module allows verification of both providers of the interface and receivers of the interface, to ensure that code works with any provider of the interface, not just the provider with which it was tested.

Documentation is available at http://jute.readthedocs.org/

Metadata

Release files for jute 0.2.1

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

Source distribution (sdist)

Source distribution for jute 0.2.1
File Size Uploaded Provenance Actions
jute-0.2.1.tar.gz 8.5 kB Without provenance Details for jute-0.2.1.tar.gz

Release files / jute-0.2.1.tar.gz

Download URL jute-0.2.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
41fde0c78dd1b018ba92329351ebc9dff0a0145cf501ce4c0b9dd7c39724f9ff
BLAKE2b-256 checksum
How to use checksums
3dccd1a6b1f66b4a544e4b895054b322240a1d5eddba307177b457fb44d38052
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jute 0.2.1

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