Skip to main content

A parser based on lib2to3 producing docspec data from Python source code.

Project description

docspec-python

A parser based on lib2to3 procuding docspec data from Python source code.

Example:

from docspec_python import parse_python_module
import docspec, sys
docspec.dump_module(parse_python_module(sys.stdin, print_function=False), sys.stdout)
$ docspec-python -p docspec | docspec --dump-tree --multiple | head
module __init__
| data __author__
| data __version__
| data __all__
| data _ClassProxy
| data _mapper
| class Location
| | data filename
| | data lineno
| class Decoration

Copyright © 2020, Niklas Rosenstein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docspec_python-2.2.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

docspec_python-2.2.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file docspec_python-2.2.1.tar.gz.

File metadata

  • Download URL: docspec_python-2.2.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.11.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for docspec_python-2.2.1.tar.gz
Algorithm Hash digest
SHA256 c41b850b4d6f4de30999ea6f82c9cdb9183d9bcba45559ee9173d3dab7281559
MD5 2921ef2f8fcd6a0542ea7981353d2a8f
BLAKE2b-256 528899c5e27a894f01290364563c84838cf68f1a8629474b5bbfc3bf35a8d923

See more details on using hashes here.

File details

Details for the file docspec_python-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: docspec_python-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.11.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for docspec_python-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76ac41d35a8face35b2d766c2e8a416fb8832359785d396f0d53bcb00f178e54
MD5 837d9ea289c623a4bbce5371e3e16074
BLAKE2b-256 7b49b8d1a2fa01b6f7a1a9daa1d485efc7684489028d6a356fc2bc5b40131061

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page