strictcli 0.28.0__tar.gz → 0.29.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. {strictcli-0.28.0 → strictcli-0.29.0}/PKG-INFO +4 -3
  2. {strictcli-0.28.0 → strictcli-0.29.0}/README.md +1 -1
  3. {strictcli-0.28.0 → strictcli-0.29.0}/package-lock.json +2 -2
  4. {strictcli-0.28.0 → strictcli-0.29.0}/package.json +1 -1
  5. {strictcli-0.28.0 → strictcli-0.29.0}/pyproject.toml +5 -2
  6. {strictcli-0.28.0 → strictcli-0.29.0}/strictcli/__init__.py +407 -190
  7. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_arg_default.py +9 -9
  8. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_at_prefix.py +36 -11
  9. strictcli-0.29.0/tests/test_auto_version.py +49 -0
  10. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_call.py +88 -116
  11. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_command.py +58 -2
  12. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_discovery.py +3 -3
  13. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_public_api.py +147 -0
  14. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_runner.py +9 -9
  15. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_schema.py +4 -4
  16. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_choices.py +5 -5
  17. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_choices_none.py +3 -3
  18. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_command_help_suggestion.py +2 -2
  19. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_command_tags.py +42 -33
  20. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_compound_types.py +82 -46
  21. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_config.py +202 -75
  22. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_config_fields.py +59 -48
  23. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_config_file_path.py +1 -1
  24. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_config_set_bugs.py +4 -4
  25. strictcli-0.29.0/tests/test_context.py +329 -0
  26. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_deep_nesting.py +11 -11
  27. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_dependencies.py +28 -28
  28. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_deprecated.py +5 -5
  29. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_dump_schema.py +63 -63
  30. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_e2e.py +9 -9
  31. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_env.py +2 -2
  32. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_exit_codes.py +5 -5
  33. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_flag_sets.py +5 -5
  34. strictcli-0.29.0/tests/test_float_format.py +235 -0
  35. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_float_type.py +10 -10
  36. strictcli-0.29.0/tests/test_float_vectors.py +58 -0
  37. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_global_flag_conflict_position.py +1 -1
  38. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_global_flags.py +16 -16
  39. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_help.py +7 -7
  40. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_hermetic.py +11 -11
  41. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_infra_env.py +3 -3
  42. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_int_type.py +6 -6
  43. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_invoke.py +36 -36
  44. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_keyword_flags.py +3 -3
  45. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_mcp.py +53 -44
  46. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_mutex.py +18 -18
  47. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_nesting.py +2 -2
  48. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_parser.py +9 -9
  49. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_passthrough.py +7 -7
  50. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_provenance.py +8 -8
  51. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_provenance_phase2.py +16 -16
  52. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_registration.py +11 -11
  53. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_repeatable.py +22 -22
  54. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_tool_export.py +72 -72
  55. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_typed_args.py +38 -38
  56. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_unique.py +5 -5
  57. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_validate.py +4 -4
  58. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_variadic.py +10 -10
  59. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_visibility.py +30 -30
  60. {strictcli-0.28.0 → strictcli-0.29.0}/uv.lock +14 -1
  61. strictcli-0.28.0/tests/test_auto_version.py +0 -78
  62. strictcli-0.28.0/tests/test_context.py +0 -354
  63. {strictcli-0.28.0 → strictcli-0.29.0}/.claude/settings.json +0 -0
  64. {strictcli-0.28.0 → strictcli-0.29.0}/.github/workflows/ci-pypi.yml +0 -0
  65. {strictcli-0.28.0 → strictcli-0.29.0}/.github/workflows/ci.yml +0 -0
  66. {strictcli-0.28.0 → strictcli-0.29.0}/.github/workflows/publish.yml +0 -0
  67. {strictcli-0.28.0 → strictcli-0.29.0}/.gitignore +0 -0
  68. {strictcli-0.28.0 → strictcli-0.29.0}/.npmignore +0 -0
  69. {strictcli-0.28.0 → strictcli-0.29.0}/.rlsbl/config.json +0 -0
  70. {strictcli-0.28.0 → strictcli-0.29.0}/.rlsbl/managed-files.json +0 -0
  71. {strictcli-0.28.0 → strictcli-0.29.0}/.strictcli/schema.json +0 -0
  72. {strictcli-0.28.0 → strictcli-0.29.0}/CLAUDE.md +0 -0
  73. {strictcli-0.28.0 → strictcli-0.29.0}/LICENSE +0 -0
  74. {strictcli-0.28.0 → strictcli-0.29.0}/index.js +0 -0
  75. {strictcli-0.28.0 → strictcli-0.29.0}/postinstall.js +0 -0
  76. {strictcli-0.28.0 → strictcli-0.29.0}/strictcli/py.typed +0 -0
  77. {strictcli-0.28.0 → strictcli-0.29.0}/tests/conftest.py +0 -0
  78. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_arg_default_validation.py +0 -0
  79. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_provider.py +0 -0
  80. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_check_types.py +0 -0
  81. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_reserved_global_flags.py +0 -0
  82. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_tagdsl.py +0 -0
  83. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_toml_loading.py +0 -0
  84. {strictcli-0.28.0 → strictcli-0.29.0}/tests/test_utilities.py +0 -0
  85. {strictcli-0.28.0 → strictcli-0.29.0}/todo/.defer/deferred.md +0 -0
  86. {strictcli-0.28.0 → strictcli-0.29.0}/todo/.done/keyword-collision-in-flag-param-name.md +0 -0
  87. {strictcli-0.28.0 → strictcli-0.29.0}/todo/.done/original-idea.md +0 -0
  88. {strictcli-0.28.0 → strictcli-0.29.0}/todo/.done/public-check-runner-api.md +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: strictcli
3
- Version: 0.28.0
4
- Summary: A strict, zero-dependency CLI framework for Python
3
+ Version: 0.29.0
4
+ Summary: A strict CLI framework for Python
5
5
  Project-URL: Homepage, https://github.com/smm-h/strictcli
6
6
  Project-URL: Repository, https://github.com/smm-h/strictcli
7
7
  Author-email: "S. M. Hosseini" <m.hosseini@veliu.com>
@@ -14,11 +14,12 @@ Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Programming Language :: Python :: 3
15
15
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
16
  Requires-Python: >=3.11
17
+ Requires-Dist: tomlkit>=0.15.1
17
18
  Description-Content-Type: text/markdown
18
19
 
19
20
  # strictcli
20
21
 
21
- A strict, zero-dependency CLI framework for Python.
22
+ A strict CLI framework for Python.
22
23
 
23
24
  strictcli makes you declare everything -- every command, flag, argument, and environment variable must have help text or the framework errors at registration time. Four types only: `str`, `bool`, `int`, `float`. No magic type inference, no implicit defaults.
24
25
 
@@ -1,6 +1,6 @@
1
1
  # strictcli
2
2
 
3
- A strict, zero-dependency CLI framework for Python.
3
+ A strict CLI framework for Python.
4
4
 
5
5
  strictcli makes you declare everything -- every command, flag, argument, and environment variable must have help text or the framework errors at registration time. Four types only: `str`, `bool`, `int`, `float`. No magic type inference, no implicit defaults.
6
6
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "strictcli",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "strictcli",
9
- "version": "0.28.0",
9
+ "version": "0.29.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT"
12
12
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strictcli",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "description": "A strict, zero-dependency CLI framework for Python (npm wrapper)",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "strictcli"
7
- version = "0.28.0"
8
- description = "A strict, zero-dependency CLI framework for Python"
7
+ version = "0.29.0"
8
+ description = "A strict CLI framework for Python"
9
9
  readme = "README.md"
10
10
  license = "MIT"
11
11
  requires-python = ">=3.11"
@@ -18,6 +18,9 @@ classifiers = [
18
18
  "Programming Language :: Python :: 3",
19
19
  "Topic :: Software Development :: Libraries :: Python Modules",
20
20
  ]
21
+ dependencies = [
22
+ "tomlkit>=0.15.1",
23
+ ]
21
24
 
22
25
  [dependency-groups]
23
26
  dev = ["pytest", "allpairspy", "jsonschema"]