Skip to main content

A Type Wrapper for lazily flagging that a class's subclassing capabilities are deprecated.

Project description

Deprecated-Subclass

PyPI version PyPI - Downloads License: MIT

Originally apart of cyares, it is a small library made for the sole purpose of deprecating a class's subclassing features without needing to place a warnings.deprecated wrapper around a __init_subclass__ function or needing to define it. It also has compatibility for 3.10 and onwards.

from deprecated_subclass import deprecated_subclass

@deprecated_subclass("deprecated because I wanted to.")
class DeprecatedSubclass:
    ...

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

deprecated_subclass-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

deprecated_subclass-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file deprecated_subclass-0.1.1.tar.gz.

File metadata

  • Download URL: deprecated_subclass-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for deprecated_subclass-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab11e71e381c67e84bb3b9ba7a194c8e949dbd72115f70255f0e345f9e5106f2
MD5 050ab7c8a49dd821c9e0ad012d27d400
BLAKE2b-256 00e00bbea6f229f48049b2d0c25912f7e220713ec71e747e8249dc34f6108886

See more details on using hashes here.

File details

Details for the file deprecated_subclass-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deprecated_subclass-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae005071f48472e4b7af6c00819c36bc9e1d37ec4d27cdd28095626f3b8980b
MD5 76dbf0afabf9d8d90fb31a4238b2d1c9
BLAKE2b-256 3a034395a9fb4c4490548ebe4dc1842e8a3e1bf7377846b45a88821abcf1867c

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