strictcli 0.27.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 (91) hide show
  1. {strictcli-0.27.0 → strictcli-0.29.0}/.rlsbl/config.json +5 -2
  2. {strictcli-0.27.0 → strictcli-0.29.0}/PKG-INFO +4 -3
  3. {strictcli-0.27.0 → strictcli-0.29.0}/README.md +1 -1
  4. {strictcli-0.27.0 → strictcli-0.29.0}/package-lock.json +2 -2
  5. {strictcli-0.27.0 → strictcli-0.29.0}/package.json +1 -1
  6. {strictcli-0.27.0 → strictcli-0.29.0}/pyproject.toml +5 -2
  7. {strictcli-0.27.0 → strictcli-0.29.0}/strictcli/__init__.py +1307 -266
  8. strictcli-0.29.0/tests/conftest.py +35 -0
  9. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_arg_default.py +9 -9
  10. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_at_prefix.py +36 -11
  11. strictcli-0.29.0/tests/test_auto_version.py +49 -0
  12. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_call.py +88 -116
  13. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_check_command.py +83 -31
  14. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_check_discovery.py +169 -26
  15. strictcli-0.29.0/tests/test_check_provider.py +293 -0
  16. strictcli-0.29.0/tests/test_check_public_api.py +812 -0
  17. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_check_runner.py +96 -84
  18. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_check_schema.py +23 -22
  19. strictcli-0.29.0/tests/test_check_types.py +130 -0
  20. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_choices.py +5 -5
  21. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_choices_none.py +3 -3
  22. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_command_help_suggestion.py +2 -2
  23. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_command_tags.py +42 -33
  24. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_compound_types.py +82 -46
  25. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_config.py +202 -75
  26. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_config_fields.py +59 -48
  27. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_config_file_path.py +1 -1
  28. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_config_set_bugs.py +4 -4
  29. strictcli-0.29.0/tests/test_context.py +329 -0
  30. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_deep_nesting.py +11 -11
  31. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_dependencies.py +28 -28
  32. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_deprecated.py +5 -5
  33. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_dump_schema.py +124 -62
  34. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_e2e.py +9 -9
  35. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_env.py +2 -2
  36. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_exit_codes.py +5 -5
  37. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_flag_sets.py +5 -5
  38. strictcli-0.29.0/tests/test_float_format.py +235 -0
  39. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_float_type.py +10 -10
  40. strictcli-0.29.0/tests/test_float_vectors.py +58 -0
  41. strictcli-0.29.0/tests/test_global_flag_conflict_position.py +150 -0
  42. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_global_flags.py +16 -16
  43. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_help.py +7 -7
  44. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_hermetic.py +11 -11
  45. strictcli-0.29.0/tests/test_infra_env.py +257 -0
  46. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_int_type.py +6 -6
  47. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_invoke.py +36 -36
  48. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_keyword_flags.py +3 -3
  49. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_mcp.py +53 -44
  50. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_mutex.py +18 -18
  51. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_nesting.py +2 -2
  52. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_parser.py +9 -9
  53. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_passthrough.py +7 -7
  54. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_provenance.py +8 -8
  55. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_provenance_phase2.py +16 -16
  56. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_registration.py +11 -11
  57. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_repeatable.py +22 -22
  58. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_tool_export.py +72 -72
  59. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_typed_args.py +38 -38
  60. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_unique.py +5 -5
  61. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_validate.py +4 -4
  62. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_variadic.py +10 -10
  63. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_visibility.py +30 -30
  64. {strictcli-0.27.0 → strictcli-0.29.0}/uv.lock +14 -1
  65. strictcli-0.27.0/.rlsbl/hashes.json +0 -17
  66. strictcli-0.27.0/tests/test_auto_version.py +0 -78
  67. strictcli-0.27.0/tests/test_check_public_api.py +0 -499
  68. strictcli-0.27.0/tests/test_check_types.py +0 -73
  69. strictcli-0.27.0/tests/test_context.py +0 -354
  70. {strictcli-0.27.0 → strictcli-0.29.0}/.claude/settings.json +0 -0
  71. {strictcli-0.27.0 → strictcli-0.29.0}/.github/workflows/ci-pypi.yml +0 -0
  72. {strictcli-0.27.0 → strictcli-0.29.0}/.github/workflows/ci.yml +0 -0
  73. {strictcli-0.27.0 → strictcli-0.29.0}/.github/workflows/publish.yml +0 -0
  74. {strictcli-0.27.0 → strictcli-0.29.0}/.gitignore +0 -0
  75. {strictcli-0.27.0 → strictcli-0.29.0}/.npmignore +0 -0
  76. {strictcli-0.27.0 → strictcli-0.29.0}/.rlsbl/managed-files.json +0 -0
  77. {strictcli-0.27.0 → strictcli-0.29.0}/.strictcli/schema.json +0 -0
  78. {strictcli-0.27.0 → strictcli-0.29.0}/CLAUDE.md +0 -0
  79. {strictcli-0.27.0 → strictcli-0.29.0}/LICENSE +0 -0
  80. {strictcli-0.27.0 → strictcli-0.29.0}/index.js +0 -0
  81. {strictcli-0.27.0 → strictcli-0.29.0}/postinstall.js +0 -0
  82. {strictcli-0.27.0 → strictcli-0.29.0}/strictcli/py.typed +0 -0
  83. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_arg_default_validation.py +0 -0
  84. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_reserved_global_flags.py +0 -0
  85. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_tagdsl.py +0 -0
  86. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_toml_loading.py +0 -0
  87. {strictcli-0.27.0 → strictcli-0.29.0}/tests/test_utilities.py +0 -0
  88. {strictcli-0.27.0 → strictcli-0.29.0}/todo/.defer/deferred.md +0 -0
  89. {strictcli-0.27.0 → strictcli-0.29.0}/todo/.done/keyword-collision-in-flag-param-name.md +0 -0
  90. {strictcli-0.27.0 → strictcli-0.29.0}/todo/.done/original-idea.md +0 -0
  91. {strictcli-0.27.0 → strictcli-0.29.0}/todo/.done/public-check-runner-api.md +0 -0
@@ -3,16 +3,19 @@
3
3
  "pypi",
4
4
  "npm"
5
5
  ],
6
- "private": false,
6
+ "publish_mode": "ci",
7
7
  "push_timeout": 300,
8
8
  "pipelines": {
9
9
  "pypi": {
10
10
  "type": "pypi",
11
+ "target": "pypi",
11
12
  "local": false
12
13
  },
13
14
  "npm": {
14
15
  "type": "npm",
15
- "local": false
16
+ "target": "npm",
17
+ "local": false,
18
+ "provenance": true
16
19
  }
17
20
  },
18
21
  "coverage_unit": "commit"
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: strictcli
3
- Version: 0.27.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.27.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.27.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.27.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.27.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"]