Skip to main content

clspack is a Python library that extracts and packages Python class source code

Project description

clspack

clspack is a python library that packagizes python classes

how to use

install clspack

pip install clspack
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)

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

clspack-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

clspack-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clspack-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for clspack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e535ad8e4e78a6fc9ac199c749d1cd1d3deeb67940fa29136f8190bfdaf2672
MD5 8dc8530f667244beb47defc352bd15c2
BLAKE2b-256 c3f7242b1792c14a5f4cac86cdae1e47d97f6d5ec949bedd69d39b37db0ea4d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clspack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for clspack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6539f447692ed7d6d74e404574cc728f221b40ec7d7e499858ac6584c423b29
MD5 641c76016c7ccdc475d52fd57656a8d6
BLAKE2b-256 c9edd9396631dfdfd5ff1edd80baeef04dc5caf9e51ad0deb12d7717e8a1d5be

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