| Port details |
- py-docify Script to add docstrings to Python type stubs using reflection
- 1.2.1 textproc
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2026-08-19 13:00:49
- Last Update: 2026-08-19 12:55:13
- Commit Hash: 5ab1005
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/atoerien/docify
- Description:
- docify is a script to add docstrings to Python type stubs using reflection.
Features:
- Uses LibCST to parse and modify the stub file
- Dynamically imports the actual module to get the runtime docstring
- Handles most sys.version and sys.platform conditional blocks, will only add
docstrings to the correct branch
- Able to modify files in-place with -i or --in-place
- Won't overwrite existing docstrings
- With -b or --builtins-only, will only add docstrings for modules found in
sys.builtin_module_names (stdlib modules written in C).
- With --if-needed, will only add docstrings if the object's (Python) source
code is unavailable. Useful for language servers like basedpyright that are
able to extract docstrings from source code.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}docify>0:textproc/py-docify@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-docify/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-docify
- pkg install py312-docify
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-docify listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-docify
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1784005014
SHA256 (docify-1.2.1.tar.gz) = ed565259a3b20cd754438405b7830e12579f2223bb3c3f13c8e9318c258bc0a8
SIZE (docify-1.2.1.tar.gz) = 30605
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-hatchling>=0 : devel/py-hatchling@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- py312-libcst>=1.1.0 : devel/py-libcst@py312
- py312-tqdm>=4.66.4 : misc/py-tqdm@py312
- python3.12 : lang/python312
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_py-docify
- USES:
- python shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.2.1 19 Aug 2026 12:55:13
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-docify: Add py-docify 1.2.1
docify is a script to add docstrings to Python type stubs using reflection.
Features:
- Uses LibCST to parse and modify the stub file
- Dynamically imports the actual module to get the runtime docstring
- Handles most sys.version and sys.platform conditional blocks, will only add
docstrings to the correct branch
- Able to modify files in-place with -i or --in-place
- Won't overwrite existing docstrings
- With -b or --builtins-only, will only add docstrings for modules found in
sys.builtin_module_names (stdlib modules written in C).
- With --if-needed, will only add docstrings if the object's (Python) source
code is unavailable. Useful for language servers like basedpyright that are
able to extract docstrings from source code. |
Number of commits found: 1
|