Py-custom_inherit

Jul 20, 2023

Package providing tools for inheriting docstrings in customizable ways

The Python package custom_inherit provides convenient, light-weight tools for inheriting docstrings in customizeable ways.

Features

  • Metaclass that instructs children to inherit docstrings for their attributes from their parents, using custom docstring inheritance styles.
  • Decorator that merges a string/docstring with the docstring of the decorated object using custom styles.
  • Built-in docstring merging styles for popular docstring specifications
    • NumPy docstring specification
    • Napoleon docstring specifications for both Google and NumPy styles
    • Merging based on reST sections
    • Simple inheritance from a parent, if the docstring is not overwritten
  • Simple interface for using your own docstring inheritance style.


Checkout these related ports:
  • Zxing-cpp - ZXing C++ Library for QR code recognition
  • Zu-hunspell - Zulu hunspell dictionaries
  • Zu-aspell - Aspell Zulu dictionary
  • Zq - Easier and faster alternative to jq
  • Zorba - General purpose C++ XQuery processor
  • Zenxml - Simple C++ XML Processing
  • Zed - Command-line tool to manage and query Zed data lakes
  • Yq - Command-line YAML and XML processor, jq wrapper for YAML/XML documents
  • Yould - Pronounceable word generator
  • Yodl - Easy to use but powerful document formatting/preparation language
  • Yi-hunspell - Yiddish hunspell dictionaries
  • Yi-aspell - Aspell Yiddish dictionary
  • Yelp-xsl - DocBook XSLT stylesheets for yelp
  • Yelp-tools - Utilities to help manage documentation for Yelp and the web
  • Ydiff - Diff readability enhancer for color terminals