astdoc
A lightweight Python library for parsing and analyzing abstract syntax trees (AST) and extracting docstring information. Designed to facilitate the documentation process, astdoc provides tools for developers to easily access, manipulate, and generate documentation from Python code.
Features
- Smart Docstring Parsing: Automatically extracts and parses docstrings in Google and NumPy styles
- AST Analysis: Deep understanding of Python code structure through AST traversal
- Namespace Support: Handles namespace packages and complex module structures
- Type-Aware: Built-in support for type hints and annotations
- Modern Python: Compatible with Python 3.10+ including the latest 3.13
- Lightweight: Minimal dependencies, focusing on core functionality
Installation
pip install astdoc
Documentation
For detailed documentation, visit https://daizutabi.github.io/astdoc/
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for astdoc 1.3.2
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 |
|---|---|---|---|---|
| astdoc-1.3.2.tar.gz | 39.7 kB | Without provenance | Details for astdoc-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astdoc-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for astdoc-1.3.2-py3-none-any.whl |
Total release size: 83.1 kB
Release files / astdoc-1.3.2.tar.gz
| Download URL | astdoc-1.3.2.tar.gz |
|---|---|
| Size | 39.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adcc6a5cecdbd23ea25b095bd3ebb183c2c73fae03499c3d8e0ae932d73e8bb2
|
|
BLAKE2b-256 checksum How to use checksums |
ff3059731db1342957b1d035b16c515c75aeb0b3111159838e58e7a68256745a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.13
|
Release files / astdoc-1.3.2-py3-none-any.whl
| Download URL | astdoc-1.3.2-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68d4c19fbb9e78d9acde21806d9688ec403c9a5a87f09ec4695d8ad607df2056
|
|
BLAKE2b-256 checksum How to use checksums |
4ec2b90bfe4fd68d5baf2ea7514f62bfd0c8ad20820a433d696a0dd49b13f08a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.13
|
Security for astdoc 1.3.2
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.