nwdocstringchecking
Introduction
This packages consists of the following modules:
nwdocstringcheckingis a library designed to identify which methods in a Python file are missing docstrings.nwdocstringcheckingcliis a command-line application built on the top ofnwdocstringchecking.
Getting Started
I'll use Debian as operating system, but the concept is similar for Windows or Mac.
Procedure:
- Install
pipandvenv:
sudo apt install python3-pip python3.12-venv
- Create a virtual environment:
python3 -m venv /tmp/nwdocstringchecking
source /tmp/nwdocstringchecking/bin/activate
- Download and install the package:
pip install nwdocstringchecking
- Enter in the interactive Python environment:
python3
Python 3.12.3 (main, Aug 31 2026, 10:18:26) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
- Try out if the library works:
from nwdocstringchecking import DocStringChecker
docstring_checker : DocStringChecker = DocStringChecker()
- Exit from the interactive Python environment:
exit()
- Try out if the CLI application works:
nwdocstringcheckingcli
- Deactivate and delete the virtual environment:
deactivate
rm -rf /tmp/nwdocstringchecking
- Done!
Examples
Run it against a file_path:
nwdocstringcheckingcli --file_path src/nwdocstringchecking.py
*******************************************
'##::: ##:'##:::::'##:'########:::'######::
###:: ##: ##:'##: ##: ##.... ##:'##... ##:
####: ##: ##: ##: ##: ##:::: ##: ##:::..::
## ## ##: ##: ##: ##: ##:::: ##:. ######::
##. ####: ##: ##: ##: ##:::: ##::..... ##:
##:. ###: ##: ##: ##: ##:::: ##:'##::: ##:
##::. ##:. ###. ###:: ########::. ######::
..::::..:::...::...:::........::::......:::
************************Version: 2.0.1*****
file_path: 'src/nwdocstringchecking.py'
exclude: '[]'
_MessageCollectionValidator.provided_file_path_doesnt_exist
Run it against a file_path with exclude:
nwdocstringcheckingcli --file_path src/nwdocstringchecking.py --exclude Message --exclude Something
*******************************************
'##::: ##:'##:::::'##:'########:::'######::
###:: ##: ##:'##: ##: ##.... ##:'##... ##:
####: ##: ##: ##: ##: ##:::: ##: ##:::..::
## ## ##: ##: ##: ##: ##:::: ##:. ######::
##. ####: ##: ##: ##: ##:::: ##::..... ##:
##:. ###: ##: ##: ##: ##:::: ##:'##::: ##:
##::. ##:. ###. ###:: ########::. ######::
..::::..:::...::...:::........::::......:::
************************Version: 2.0.1*****
file_path: 'src/nwdocstringchecking.py'
exclude: '['Message', 'Something']'
All methods have docstrings.
Links
- Source: https://github.com/numbworks/nwdocstringchecking
- License: https://github.com/numbworks/nwdocstringchecking/blob/master/LICENSE
Total Downloads (PyPi)
Metadata
Release files for nwdocstringchecking 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nwdocstringchecking-2.0.1.tar.gz | 7.2 kB | Without provenance | Details for nwdocstringchecking-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nwdocstringchecking-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for nwdocstringchecking-2.0.1-py3-none-any.whl |
Total release size: 14.5 kB
Release files / nwdocstringchecking-2.0.1.tar.gz
| Download URL | nwdocstringchecking-2.0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51e1bdb48aa510f21013b73f55a8bb09e4fa7dc6783588b6b998133d9e83fa3e
|
|
BLAKE2b-256 checksum How to use checksums |
3258cf15d5d46ebeaec7fb6b3b6a6b9812425448be03dc280847d8ec425ea668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Release files / nwdocstringchecking-2.0.1-py3-none-any.whl
| Download URL | nwdocstringchecking-2.0.1-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d455e7beaabceefbb234686c769615bf7c4935a52b20e1afe51706843452ca0d
|
|
BLAKE2b-256 checksum How to use checksums |
bc3875c6ed90abb3bcfcf6d3d930a6b721e93b864747be5328d8ec6274fde505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Security for nwdocstringchecking 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.