Skip to main content

A minimal Python project template built with `uv`.

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_uv_demo-0.0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

jambazid_uv_demo-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file jambazid_uv_demo-0.0.2.tar.gz.

File metadata

  • Download URL: jambazid_uv_demo-0.0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for jambazid_uv_demo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3f302d7996f709535c0f60c854602163de71ca62f831a28eec3d34d15b9e2d35
MD5 50eef88fffd05db12388adc312f98492
BLAKE2b-256 0d92f80087eb221016ab39c6bf192953eb7d84d65f51c85c2064ca6cd8141374

See more details on using hashes here.

File details

Details for the file jambazid_uv_demo-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jambazid_uv_demo-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b98cf5876177980848e5ec6f2984bd29133da4436e789ce94384fabf33e076d1
MD5 30a9e6d3ab4536bdb6ad184dda79e611
BLAKE2b-256 c894625dad305ff9e1623d22105cf3083e4ba11b86d095a035c777d9bda26789

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