PYPI PACKAGE AUDIT v0.18.0 Healthy Package

docstring-parser

Relatório técnico de saúde, segurança, governança e engenharia para docstring-parser (v0.18.0).

PyPkgScore docstring-parser
Metodologia & Critérios ♥ Donate
755 / 1000
Instalação Rápida
pip install docstring-parser
1. Governança
50/200
2. Metadados PEP
200/200
3. Segurança
200/200
4. Docs & SEO
105/200
5. Engenharia CI
200/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
TELEMETRIA PYPI

Downloads & Adoção na Comunidade

Últimos 30 dias (sem espelhos)
Últimos 7 dias
74867897
Últimos 30 dias
301221593
Total (180 dias)
1538298620
Métrica / Ecossistema Status / Valor Fonte
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 755 / 1000 PyPkgScore Engine

Análise de Saúde & Engenharia (5 Pilares)

1. Governança & Comunidade50 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✕ 0 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. Metadados & Empacotamento PEP200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Segurança & Supply Chain200 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
Repositório HTTPS✓ 50 pts
4. Documentação, SEO & Ecossistema105 / 200 ▾
README Estruturado✓ 60 pts
Read the Docs✕ 0 pts
Django Packages✕ 0 pts
Site / Artigos Técnicos✓ 45 pts
5. Engenharia, CI & Qualidade200 / 200 ▾
Testes Automatizados✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✓ 35 pts
Lockfile (rye/uv/poetry)✓ 35 pts
Advertisement
README & DOCS

Documentação Oficial & Guia de Uso — docstring-parser

PyPI Metadata v0.18.0
Exibir documentação original completa (README em Inglês) ▾

docstring_parser

Build

Parse Python docstrings. Currently support ReST, Google, Numpydoc-style and Epydoc docstrings.

Example usage:

>>> from docstring_parser import parse
>>>
>>>
>>> docstring = parse(
...     '''
...     Short description
...
...     Long description spanning multiple lines
...     - First line
...     - Second line
...     - Third line
...
...     :param name: description 1
...     :param int priority: description 2
...     :param str sender: description 3
...     :raises ValueError: if name is invalid
...     ''')
>>>
>>> docstring.long_description
'Long description spanning multiple lines\n- First line\n- Second line\n- Third line'
>>> docstring.params[1].arg_name
'priority'
>>> docstring.raises[0].type_name
'ValueError'

Read API Documentation.

Installation

Installation using pip

pip install docstring_parser

# or if you want to install it in a virtual environment

python -m venv venv # create environment
source venv/bin/activate # activate environment
python -m pip install docstring_parser

Installation using conda

  1. Download and install miniconda or anaconda
  2. Install the package from the conda-forge channel via:
  • conda install -c conda-forge docstring_parser
  • or create a new conda environment via conda create -n my-new-environment -c conda-forge docstring_parser

Contributing

To set up the project:

git clone https://github.com/rr-/docstring_parser.git
cd docstring_parser

python -m venv venv  # create environment
source venv/bin/activate  # activate environment

pip install -e ".[dev]"  # install as editable
pre-commit install  # make sure pre-commit is setup

To run tests:

source venv/bin/activate
pytest