Skip to main content

Compares

Compares is a module that defines a single decorator, compares.via, which removes some boilerplate around defining __eq__, __ne__ and __repr__ for object comparisons and display.

It takes advantage of the fact that there is often a set of relevant attributes (fields) which should be used to compare instances.

It is inspired by twisted.python.util.FancyEqMixin.

Metadata

Release files for compares 0.1.1

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

Source distributions (sdists)

Source distribution for compares 0.1.1
File Size Uploaded Provenance Actions
compares-0.1.1.zip 5.1 kB Without provenance Details for compares-0.1.1.zip
compares-0.1.1.tar.gz 2.8 kB Without provenance Details for compares-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compares 0.1.1
File Interpreter ABI Platform Actions
compares-0.1.1-py2-none-any.whl Python 2 none any Details for compares-0.1.1-py2-none-any.whl

Total release size: 11.5 kB

Release files / compares-0.1.1.zip

Download URL compares-0.1.1.zip
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6c835e09ec77f602db1fbbd80d125332b7655f4fc678c135fab550e6392da7c3
BLAKE2b-256 checksum
How to use checksums
517033451426c49faca18a33e58155e7decce827da84bf92cae5e82352dd4e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / compares-0.1.1.tar.gz

Download URL compares-0.1.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e707a208deeba21fb4ca6515b8c7867da19824709ea848c67c7d9306a54093d5
BLAKE2b-256 checksum
How to use checksums
aa5473200ef4466cdf2e165904a741cfdff449c6b713286e6814f5075f389537
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / compares-0.1.1-py2-none-any.whl

Download URL compares-0.1.1-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4466ecab3f4e14fad66a20828db1cd3dc8860f83cb08026446b07f82ac1fa18e
BLAKE2b-256 checksum
How to use checksums
c6000891dd528eb71dea25c8b5fefb5c7ed279c97fa66158370a5b2c275f7e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for compares 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files No provenance

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