Skip to main content

API interface for generating documentation for Python projects

Project description

Automated Documentation

Currently works for Python projects only. This project is in a private beta. for more information on using the tool, to provide feedback, or request access for a friend or colleague, contact the beta runners. N.b. this project calls an AWS API with snippets of code in order to generate documentation. No code is stored. Only your API key and a hash of your project name, for the purposes of identifying usage, are logged.

Get started

Requirements

  • python 3.8 or greater
  • pip install jaepeto
  • In the base directory of your project, create a .jaepeto.ini config file
[project]
name = <a project name>
description = <a short project description>
language = python
api_key = <an access key unique to a user. Given to you during onboarding>
srcdir = <the folder name where source code is stored. Typically 'src' or your project name>

[docs]
docdir = <folder where documentation will be stored. MUST EXIST>

Set docdir = . to generate documentation in the root directory.

Generate documentation

Via CLI:

In a terminal/command prompt, navigate to the root directory of your project and run jaepeto.

VSCode:

There is a VSCode extension for this tool. Search for jaepeto in the marketplace. Use the command Generate Technical Doc once installed.

Development - Get started

Requirements

  • Developed with python 3.9
  • pip install -r requirements.txt
  • pip install -r requirements-dev.txt
  • pip install -e .

Style Guide

  • Use black to format code
  • Other than black niches, adhere to PEP
  • Use isort to sort imports
  • Use numpy-style docstrings
  • Use type hints and verify with mypy

Testing

Testing performed with pytest. Run python -m pytest to run unit tests.

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

jaepeto-0.3.0.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file jaepeto-0.3.0.tar.gz.

File metadata

  • Download URL: jaepeto-0.3.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for jaepeto-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b4f65a7eefbaae7886cc26515859adfd0d4ad856d68094dded0b41e96f24af87
MD5 407f629b6185c2dd36a0423eba264ce5
BLAKE2b-256 b31926aca116f8c13b1bed9787bff46b527befe6c2cfb140fadf6b071a1b1127

See more details on using hashes here.

Supported by

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