Python library for generating documentation
Project description
ScribePy
ScribePy is a Python library for generating documentation from Python source code.
Installation
You can install ScribePy using pip:
pip install ScribePy
Usage
To use ScribePy, you first need to create an instance of the ScribePy
class:
from ScribePy import ScribePy
source_code = '''
def add(x, y):
"""
Add two numbers together.
"""
return x + y
'''
p = ScribePy(source_code)
Once you have an instance of the ScribePy class, you can generate HTML documentation using the generate_html_docs method:
docs = p.generate_html_docs()
print(docs)
This will generate HTML documentation for the provided source code.
Documentation
For more information, see the official documentation or the GitHub repository.
Contributing
Contributions are welcome! To contribute to ScribePy, please follow these guidelines:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and write tests for them.
- Run the tests using pytest to make sure they pass.
- Submit a pull request.
For more information on how to contribute, please see the contributing guidelines in the GitHub repository.
Support
If you have any questions or need help using ScribePy, please post a question or open an issue on GitHub.
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
File details
Details for the file ScribePy-0.1.2.tar.gz
.
File metadata
- Download URL: ScribePy-0.1.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 661a0fabd060af1ebfb2b3e0336cd1fbfd12cd02eaa2f9a6b0d1680e4df73544 |
|
MD5 | ea8c2d0842685863d5b2c75d6b98c8f2 |
|
BLAKE2b-256 | 38e2fe4d3c7bc81baec2ec8c355c163cb34ff599a1af0140467a6447d0d4c2c3 |
File details
Details for the file ScribePy-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ScribePy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85857848055700916a135b3e7b6b6653d0b69de004d888981183cf96c6110d47 |
|
MD5 | aefab893490908cf0870a15fb735dccf |
|
BLAKE2b-256 | f7eb8722fe719276e0ab22321dacba004dbcdc00725f3f3757e8552aa5222959 |