Skip to main content

pep257 is a static analysis tool for checking compliance with Python PEP 257.

The framework for checking docstring style is flexible, and custom checks can be easily added, for example to cover NumPy docstring conventions.

pep257 supports Python 2.6, 2.7, 3.2, 3.3, 3.4, pypy and pypy3.

Quick Start

Install

pip install pep257

Run

$ pep257 test.py
test.py:18 in private nested class `meta`:
        D101: Docstring missing
test.py:22 in public method `method`:
        D102: Docstring missing
...

Metadata

Release files for pep257 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for pep257 0.5.0
File Size Uploaded Provenance Actions
pep257-0.5.0.zip 13.4 kB Without provenance Details for pep257-0.5.0.zip
pep257-0.5.0.tar.gz 12.5 kB Without provenance Details for pep257-0.5.0.tar.gz

Release files / pep257-0.5.0.zip

Download URL pep257-0.5.0.zip
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
babdc40506ef6f69d80e3d35ddf6432b4e09f95252e3251b622c501ead9806d5
BLAKE2b-256 checksum
How to use checksums
b7c3ff4fab62df29b34acbabd2fb1fcadac88bbb3e36f579b717178463e66e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pep257-0.5.0.tar.gz

Download URL pep257-0.5.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9604ed78cd36f29f25e417314efd9b7ae300bd5d529a310820fcc0d51429a14
BLAKE2b-256 checksum
How to use checksums
2020d32d24738fc2d091042ab34ac07b485eac54a02ffa6a20890a92cccb7fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pep257 0.5.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page