A file based documentation generator for Python projects.
Project description
Cosmo Docs
Cosmo Docs is a powerful package that serves as a parser for describing functions and classes in a Python script. It provides detailed information about functions and classes, and can generate the information in markdown format. This makes it easy to document and share code documentation in a standardized and readable format.
With Cosmo Docs, you can effortlessly extract information about the structure, parameters, and return values of functions and classes in your Python code. This package is particularly useful for generating documentation for libraries, frameworks, and large codebases, where maintaining up-to-date documentation can be a challenging task.
Whether you are a developer looking to document your own code or a user exploring a Python package, Cosmo Docs simplifies the process of understanding and utilizing the available functions and classes. By providing clear and concise documentation in markdown format, Cosmo Docs enhances code readability and promotes collaboration among developers.
Get started with Cosmo Docs today and unlock the power of comprehensive code documentation!
Getting Started
Installation
To install Cosmo Docs, run the following command:
pip install cosmo-docs
Usage
To use Cosmo Docs, import the CosmoDocs class from cosmo_docs module.
from cosmo_docs import CosmoDocs
cosmos = CosmosDocs("tests/data/sample_file.py")
# to get the file information in CosmoDocsInfo dict format
# if you want use it for easy intellisense: from cosmo_docs import CosmoDocsInfo
print(cosmos.file_info)
# to get the file information in markdown format
print(cosmos.markdown)
Note: You can create your own formats from
comos.file_infodict.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cosmodocs-0.2.6.tar.gz.
File metadata
- Download URL: cosmodocs-0.2.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef99314973f1afa60299a7657f5cfff0547de7e7a4e7b8346f20d121b5495e4f
|
|
| MD5 |
25859f68710f7711fe0c7b199ea7cbe6
|
|
| BLAKE2b-256 |
f90df1bed5f49384937007b409eff289c17d0f621e300a5eeb8668c9fd0e3b96
|
File details
Details for the file cosmodocs-0.2.6-py3-none-any.whl.
File metadata
- Download URL: cosmodocs-0.2.6-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1be251aa7da9e6c3903bcb033757e1e88f7204e215f1bd25c7eaaf7e47814642
|
|
| MD5 |
62656a35a693238bfc064813296ccafa
|
|
| BLAKE2b-256 |
2c3115f7f407bcabc3cf8032bd5463ef15b4c3d9342769428ea6a8293adb1387
|