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.

License

You may download this package via pip and use as intended, but you may not copy, share or edit the code. This is signified by the lack of specific license in the code.

Development - Get started

Requirements

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

In .jaepeto.ini add the following tags:

[project]
...
local = true
...

This will call localhost instead of the hosted server. In a separate terminal, run the web app locally in order to connect.

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.4.0.tar.gz (16.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: jaepeto-0.4.0.tar.gz
  • Upload date:
  • Size: 16.2 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.4.0.tar.gz
Algorithm Hash digest
SHA256 cb8549eddfa70859a3153abb066f3731aaa648a6d91f07daa718177552aa4f73
MD5 9c24ff2db9fa5652c95b096ef598de50
BLAKE2b-256 f4d5ee314ff673f8b722cca2240a99f3ed78206fcb5d006968259d08fa7d31a3

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