BSD Ports

textproc/py-custom_inherit 2.3.1_1 DragonFly

Package providing tools for inheriting docstrings in customizable ways

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, textproc
Package size
20.6 KiB, 144.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlytextproc/py-custom_inherit2.3.1_1
FreeBSDtextproc/py-custom_inherit2.4.1
HardenedBSDtextproc/py-custom_inherit2.4.1
GhostBSDtextproc/py-custom_inherit2.4.1

Install

Binary package:

pkg install py311-custom_inherit

From DPorts:

cd /usr/dports/textproc/py-custom_inherit && make install clean

Dependencies

Run dependencies 1
Required by 1