Repository navigation
Releases: not-lain/clspack
Releases · not-lain/clspack
Release list
v0.1.0
Features 
🚀 stable release
🔥 works with classes defined in main and imported from external files as well
✨ class inheritance does not overlap with the rest of the mro
🔨 patch minor issue with abc repr
🫡 minor patches
How to use 💻
you can use clspack as follows to extract the source code for your classes :
from clspack import pack
# extra imports for class inheritance
from rich.markdown import Markdown
from rich.console import Console
class MyClass(Markdown, Console):
"""class docstring"""
test = 1
@classmethod
def cls_method(cls):
# hidden classmethod comment
pass
pack(MyClass)