PyDita-AST
A Python wrapper to convert XML documentation into RST files and the Sphinx documentation.
Overview
The PyDita-AST project aims to automatically generate a Python library and a related Sphinx documentation from an XML documentation.
Documentation and issues
On the PyDita-AST Issues for this repository, you can create issues to submit questions, report bugs, and request new features. To reach the PyAnsys support team, email pyansys.core@ansys.com.
Getting started
Install the pydita-ast package with:
python -m pip install pydita-ast
It is recommended to organize the XML documentation as follow:
Converting an XML-directory
Once the XML_directory is correctly organized, the converter can be run.
python xml2rst.py -p XML_directory_path
If some functions need to be customized, the path containing the python files can be specified.
python xml2rst.py -p XML_directory_path -f customized_function_directory_path
A new package is then automatically generated. Its default name is package. It is organized as follow:
Then, the Sphinx documentation can be generated from this package. The following code is to render the documentation as an HTML one from Windows:
cd package
pip install -e .[doc,tests] # Using a virtual environment is recommended.
.\doc\make.bat html
Metadata
Release files for pydita-ast 0.1.0
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 |
|---|---|---|---|---|
| pydita_ast-0.1.0.tar.gz | 27.4 kB | Without provenance | Details for pydita_ast-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydita_ast-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pydita_ast-0.1.0-py3-none-any.whl |
Total release size: 55.8 kB
Release files / pydita_ast-0.1.0.tar.gz
| Download URL | pydita_ast-0.1.0.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71b5901a51fb042fccbad2e3a7bdded10c37256e8cb73079d6349b174bc0360b
|
|
BLAKE2b-256 checksum How to use checksums |
cfcff8b75333729fe7b13f7d8ea0cb95a745ed97d27c4b5cd957ea0fcbceafdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pydita_ast-0.1.0-py3-none-any.whl
| Download URL | pydita_ast-0.1.0-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8c4aaf2ee9f9cb61ceba21b19f1765fe2a8279a5bf943b7237e0ff8911ec0ed
|
|
BLAKE2b-256 checksum How to use checksums |
4b9f06ea16bd96f2b953ca8e7571e269d6451e4bddce77230e5798a4daa60a88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for pydita-ast 0.1.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.