[PR #2987] [CLOSED] Add optfunc2 to CLI Development section #11318

Closed
opened 2026-04-24 06:05:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/2987
Author: @yjloong
Created: 3/24/2026
Status: Closed

Base: masterHead: add-optfunc2


📝 Commits (1)

  • 035cd43 Add optfunc2 to CLI Development section

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

Summary

Adding optfunc2 to the CLI Development section.

optfunc2 auto-generates CLI commands from Python functions using type annotations and docstrings. Zero-boilerplate alternative to argparse.

Key features

  • Type coercion (int, float, bool, str, list, dict, Union)
  • Auto-generated help from docstrings (Google style)
  • Hexadecimal input support for integers
  • Default command & shell abbreviation support

Why add it?

  • Similar philosophy to Google's python-fire (already listed), but lighter weight
  • Active development with tests

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/2987 **Author:** [@yjloong](https://github.com/yjloong) **Created:** 3/24/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-optfunc2` --- ### 📝 Commits (1) - [`035cd43`](https://github.com/vinta/awesome-python/commit/035cd43b51fd5335f186546854c6d51b6cff51bd) Add optfunc2 to CLI Development section ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## Summary Adding [optfunc2](https://github.com/yjloong/optfunc2) to the CLI Development section. **optfunc2** auto-generates CLI commands from Python functions using type annotations and docstrings. Zero-boilerplate alternative to argparse. ### Key features - Type coercion (int, float, bool, str, list, dict, Union) - Auto-generated help from docstrings (Google style) - Hexadecimal input support for integers - Default command & shell abbreviation support ### Why add it? - Similar philosophy to Google's python-fire (already listed), but lighter weight - Active development with tests --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 06:05:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#11318