Skip to main content

A utility for customizing __eq__ and __hash__ methods in Python classes

Project description

py_eq_hash

py_eq_hash 是一个 Python 包,用于自定义类的 __eq____hash__ 方法,允许你指定哪些字段参与对象的比较和哈希计算。

安装

pip install py_eq_hash

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

py_eq_hash-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_eq_hash-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file py_eq_hash-0.1.0.tar.gz.

File metadata

  • Download URL: py_eq_hash-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.3

File hashes

Hashes for py_eq_hash-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d11520933e379cfc426d7c5d74eea9c13db6ad85fa52be0fc8319c810c559eb2
MD5 7e4ee07f83aa450d600f3918201e7894
BLAKE2b-256 ca35b5f87c64d30a22a97c13356a164b436ba28894771e5c482f65089627106e

See more details on using hashes here.

File details

Details for the file py_eq_hash-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: py_eq_hash-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.3

File hashes

Hashes for py_eq_hash-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94d9dea34aa37176bf1c6bc1c0c5a3d8a033623cd43f811a637b03d6f6bef8f8
MD5 fb1fe3483e7bcfe6f5ba4c5253fa9c04
BLAKE2b-256 2d370ea4be463ba4742769cc85feb8d92b7393b8d6bfd9d2132181cc11035943

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