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.8or greaterpip install jaepeto- In the base directory of your project, create a
.jaepeto.iniconfig 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.txtpip install -r requirements-dev.txtpip 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
blackto format code - Other than
blackniches, adhere to PEP - Use
isortto 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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8549eddfa70859a3153abb066f3731aaa648a6d91f07daa718177552aa4f73
|
|
| MD5 |
9c24ff2db9fa5652c95b096ef598de50
|
|
| BLAKE2b-256 |
f4d5ee314ff673f8b722cca2240a99f3ed78206fcb5d006968259d08fa7d31a3
|