Skip to main content

Python library for generating documentation

Project description

ScribePy

ScribePy is a Python library for generating documentation from Python source code.

License: Apache License 2.0 Forks Stars Issues

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ScribePy-0.1.2.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

ScribePy-0.1.2-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page