Skip to main content

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

Project description

Deprecated-Subclass

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 compatability 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.0.tar.gz (4.4 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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deprecated_subclass-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 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.0.tar.gz
Algorithm Hash digest
SHA256 25efedd78fc2d0e6042f814dc771c14ce387eae7e311f2e076b9864f02a8020f
MD5 94e831ecea87ee32962a164fc8df39ca
BLAKE2b-256 e66d7924edd528bf15e2fc53485c6e764df463e5523ddcc0d61ddab3772e9b35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deprecated_subclass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4609e8cc8dc983c9171ba01d7a0440cad0b1fb21e2247b34e2d427f54bfc439a
MD5 3995dcb5bb44d07826e1d7dd8003faca
BLAKE2b-256 908b9001017802ced31faa4bc25b1f19480286c8894ca9b9c80b0b5132006481

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