Skip to main content

A minimal Python project template built with Poetry.

Project description

Minimal working example of a packaged Python project. Key integrations include:

Contents

Structure

Documentation is generated from Python docstrings and takes a structure mirroring that of the source code (API documentation).

Initial focus could be on high-level (public) APIs intended for direct use by end-users.

Developers can thus grow the documentation organically within a single task-based workflow. As soon as a new feature/function is added - the developer need only include a docstring in their commit and it will reflect in the hosted page.

Markdown and ReST support

The pdoc framework renders Markdown in docstrings to HTML:

  • Lists
  • Are
  • Supported

As are code blocks:

# Example invocation

result: Type = function(param="value", *variadic_args, **variadic_kwargs)

Data models

The pydantic framework has quickly become the leading data validation library for Python.

It's not a stretch to say that there's a whole ecosystem being built around it with everything from web frameworks to data science toolkits using it as the base for their data models.

From a documentation perspective, if you can describe your data source as a pydantic derived data model and then group them accordingly such links could be fronted as data schemas. Standard representations such as "JSON Schema" can be generated directly from pydantic models.

This also has advantages for testing.

Advanced tools

The pdoc framework is arguably the simplest auto-documentation tool for Python.

Below are some more advanced tools that are popular with large open-source projects:

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

jambazid_api-0.0.45.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jambazid_api-0.0.45-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file jambazid_api-0.0.45.tar.gz.

File metadata

  • Download URL: jambazid_api-0.0.45.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for jambazid_api-0.0.45.tar.gz
Algorithm Hash digest
SHA256 2c273f11c77a076f501b36e3dfffec196d069d98328808ef2eab6b3634149e35
MD5 b67da29e8d0a86936437bcaa857a3048
BLAKE2b-256 0c11b1a46f6a6dea6cf9351260c9100dfa09680734ab4be126394c2c3235e115

See more details on using hashes here.

File details

Details for the file jambazid_api-0.0.45-py3-none-any.whl.

File metadata

  • Download URL: jambazid_api-0.0.45-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for jambazid_api-0.0.45-py3-none-any.whl
Algorithm Hash digest
SHA256 0fa3ac1eac91075ad0d57e2856bd503f4602b51f5fabb306ccd2c0fc534a1aa8
MD5 a140cc317f8ab8b1db470c2e42a51c01
BLAKE2b-256 5de24cd26f5b2b0dcc6a547d10c4022d638d57e9d98a600fceff319c103d729a

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