Registry / jaraco-classes

jaraco-classes

JSON →
library3.4.0pypypi✓ verified 24d ago

Utility functions for Python class constructs. Current version: 3.4.0. Maintained with regular updates.

pip install jaraco.classes
INSTALL
IMPORT
SIG · JARACO-CLASSES
J
jaraco-classes
pythonv3.4.0
Install
1.8s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ClassName
from jaraco.classes import ClassName
from jaraco.classes import ClassName

A basic example demonstrating the import and usage of ClassName from jaraco.classes.

from jaraco.classes import ClassName # Initialize ClassName with appropriate arguments instance = ClassName(arg1, arg2) # Utilize instance methods instance.method()
Debug
Known issues
breakingIn version 3.4.0, the method 'old_method' was removed. Use 'new_method' instead.
fix
Replace calls to 'old_method' with 'new_method'.
affects: 3.4.0
deprecatedThe 'legacy_function' is deprecated and will be removed in a future release.
fix
Update code to use 'new_function'.
affects: 3.3.0
gotchaEnsure that 'arg1' and 'arg2' passed to ClassName are of the correct type to avoid runtime errors.
fix
Validate input types before instantiating ClassName.
affects: 3.4.0
breakingThe class 'ClassName' cannot be imported from 'jaraco.classes'. It may have been removed, renamed, or moved to a different submodule.
fix
Check the 'jaraco.classes' library's changelog or documentation to determine the current location or alternative for 'ClassName'. Update your import statements accordingly.
affects: 3.4.0
breakingClassName is no longer available in the 'jaraco.classes' module. It might have been moved, renamed, or removed.
fix
Check the library's changelog or documentation for 'jaraco.classes' to find out where 'ClassName' has moved or if an alternative should be used. Update import statements accordingly.
affects: N/A (determine actual affected version)
Upgrade
Version history
3.4.0latest on PyPI · released Mar 31, 2024
Audit
Dependencies
typing-extensionsoptionalProvides backports of Python 3.8+ typing features for compatibility with earlier versions.
Agent activity
15 hits · last 30 days
node
14
Resources
jaraco-classes — pip install jaraco-classes · libregistry