Skip to main content

Documentation extraction

Purpose

Lupin-danquin CLI allow to create SDD documentation from source code.

Run it

  • Default command
  1. Go to current directory.
  2. Execute danq valdocs "app1, app2, app3, ..."
  3. Result is available in "./val3_documentation.md"
  • With --beginning-file-path option

    You can add the content of a third party file before the application documentation.

  1. Execute the above command with --beginning-file-path or -b flag with path to file
    danq valdocs "app1, app2, app3, ..." -b "path/file"
  • With --end-file-path option

    You can add the content of a third party file after the application documentation.

  1. Execute the above command with --end-file-path or -e flag with path to file
    danq valdocs "app1, app2, app3, ..." -e "path/file"
  • With environnement variables

    You can set environment variables:

    • VAL3_APPLICATIONS=app1, app2, ...
    • VAL3_BEGINNING_FILE_PATH=path/to/file
    • VAL3_END_FILE_PATH=path/to/file
  • help command

  1. Execute danq valdocs --help

Add documentation

For a program (pgx file)

Edit your program and add one or more lines of comments the line after "begin" keyword.

For an application

Create a text file named "README.md" at the same level as "pjx" file. And add one or more lines of description.

Improvements oportunities

  • Improve table for sockets
  • Allow to end docstring with 10 * "/"

Other ideas

To create a sanitizer:

  • detect unused variables (private, public?): already done for local variables and parameters (not global variables)
  • detect wrongly named variables (l_, x_, s/b/n/st, t, Out): DONE
  • validate plantuml diagram from pjx files
  • code coverage ? find if all return values are tested

Release files for lupin-danquin 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupin-danquin 1.0.7
File Size Uploaded
lupin_danquin-1.0.7.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupin-danquin 1.0.7
File Interpreter ABI Platform
lupin_danquin-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / lupin_danquin-1.0.7.tar.gz

Download URL lupin_danquin-1.0.7.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
808c5e2955bb2200ffcaec4842ffb652d87909f406342d1ed067db8bbf62d47a
BLAKE2b-256 checksum
How to use checksums
92c8d234b875cf24f80cd9c21007f8de0318a8b3e119a9aa7c892cf738f3739b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / lupin_danquin-1.0.7-py3-none-any.whl

Download URL lupin_danquin-1.0.7-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc231d3b9018a33cfbfe87d061aa98ee569efb0733dbaa328fd9247512823106
BLAKE2b-256 checksum
How to use checksums
6ae1b4879e40b67dc162604f1b2716aa8da657ed17ddbf725d0a5e569c9c2055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

1 release file

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page