Metadata-Version: 2.4
Name: astdoc
Version: 1.3.0
Summary: A lightweight Python library for parsing AST and extracting docstring information. Automatically generate documentation from Python source code by analyzing abstract syntax trees and docstrings.
Project-URL: Documentation, https://daizutabi.github.io/astdoc/
Project-URL: Source, https://github.com/daizutabi/astdoc
Project-URL: Issues, https://github.com/daizutabi/astdoc/issues
Project-URL: Changelog, https://github.com/daizutabi/astdoc/blob/main/CHANGELOG.md
Author-email: daizutabi <daizutabi@gmail.com>
License: MIT License
        
        Copyright (c) 2020-present daizutabi <daizutabi@gmail.com>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License-File: LICENSE
Keywords: api-documentation,ast,code-analysis,code-documentation,docstring,documentation,documentation-generator,google-style,mkdocs,numpy-style,parser,python,sphinx,static-analysis
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: MkDocs
Classifier: Framework :: Sphinx
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: Markdown
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# astdoc

[![PyPI Version][pypi-v-image]][pypi-v-link]
[![Build Status][GHAction-image]][GHAction-link]
[![Coverage Status][codecov-image]][codecov-link]
[![Documentation Status][docs-image]][docs-link]
[![Python Version][python-v-image]][python-v-link]

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

```bash
pip install astdoc
```

## Documentation

For detailed documentation, visit
[https://daizutabi.github.io/astdoc/](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](LICENSE)
file for details.

<!-- Badges -->
[pypi-v-image]: https://img.shields.io/pypi/v/astdoc.svg
[pypi-v-link]: https://pypi.org/project/astdoc/
[GHAction-image]: https://github.com/daizutabi/astdoc/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
[GHAction-link]: https://github.com/daizutabi/astdoc/actions?query=event%3Apush+branch%3Amain
[codecov-image]: https://codecov.io/github/daizutabi/astdoc/coverage.svg?branch=main
[codecov-link]: https://codecov.io/github/daizutabi/astdoc?branch=main
[docs-image]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-link]: https://daizutabi.github.io/astdoc/
[python-v-image]: https://img.shields.io/pypi/pyversions/astdoc.svg
[python-v-link]: https://pypi.org/project/astdoc
