capito 0.2.0__tar.gz → 0.2.2__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 (43) hide show
  1. {capito-0.2.0/capito.egg-info → capito-0.2.2}/PKG-INFO +5 -2
  2. {capito-0.2.0 → capito-0.2.2}/README.md +4 -1
  3. {capito-0.2.0 → capito-0.2.2}/capito/docs/usage.md +3 -3
  4. {capito-0.2.0 → capito-0.2.2/capito.egg-info}/PKG-INFO +5 -2
  5. {capito-0.2.0 → capito-0.2.2}/pyproject.toml +1 -1
  6. {capito-0.2.0 → capito-0.2.2}/LICENSE +0 -0
  7. {capito-0.2.0 → capito-0.2.2}/MANIFEST.in +0 -0
  8. {capito-0.2.0 → capito-0.2.2}/capito/__init__.py +0 -0
  9. {capito-0.2.0 → capito-0.2.2}/capito/__main__.py +0 -0
  10. {capito-0.2.0 → capito-0.2.2}/capito/accounts.py +0 -0
  11. {capito-0.2.0 → capito-0.2.2}/capito/auth.py +0 -0
  12. {capito-0.2.0 → capito-0.2.2}/capito/client.py +0 -0
  13. {capito-0.2.0 → capito-0.2.2}/capito/commands.py +0 -0
  14. {capito-0.2.0 → capito-0.2.2}/capito/config.py +0 -0
  15. {capito-0.2.0 → capito-0.2.2}/capito/contracts.py +0 -0
  16. {capito-0.2.0 → capito-0.2.2}/capito/core.py +0 -0
  17. {capito-0.2.0 → capito-0.2.2}/capito/docs/extending.md +0 -0
  18. {capito-0.2.0 → capito-0.2.2}/capito/files.py +0 -0
  19. {capito-0.2.0 → capito-0.2.2}/capito/registry.py +0 -0
  20. {capito-0.2.0 → capito-0.2.2}/capito/results.py +0 -0
  21. {capito-0.2.0 → capito-0.2.2}/capito/testing.py +0 -0
  22. {capito-0.2.0 → capito-0.2.2}/capito/transport.py +0 -0
  23. {capito-0.2.0 → capito-0.2.2}/capito/validation.py +0 -0
  24. {capito-0.2.0 → capito-0.2.2}/capito/view.py +0 -0
  25. {capito-0.2.0 → capito-0.2.2}/capito.egg-info/SOURCES.txt +0 -0
  26. {capito-0.2.0 → capito-0.2.2}/capito.egg-info/dependency_links.txt +0 -0
  27. {capito-0.2.0 → capito-0.2.2}/capito.egg-info/requires.txt +0 -0
  28. {capito-0.2.0 → capito-0.2.2}/capito.egg-info/top_level.txt +0 -0
  29. {capito-0.2.0 → capito-0.2.2}/setup.cfg +0 -0
  30. {capito-0.2.0 → capito-0.2.2}/tests/conftest.py +0 -0
  31. {capito-0.2.0 → capito-0.2.2}/tests/helpers.py +0 -0
  32. {capito-0.2.0 → capito-0.2.2}/tests/test_accounts.py +0 -0
  33. {capito-0.2.0 → capito-0.2.2}/tests/test_auth.py +0 -0
  34. {capito-0.2.0 → capito-0.2.2}/tests/test_cli.py +0 -0
  35. {capito-0.2.0 → capito-0.2.2}/tests/test_client.py +0 -0
  36. {capito-0.2.0 → capito-0.2.2}/tests/test_config.py +0 -0
  37. {capito-0.2.0 → capito-0.2.2}/tests/test_contracts.py +0 -0
  38. {capito-0.2.0 → capito-0.2.2}/tests/test_core.py +0 -0
  39. {capito-0.2.0 → capito-0.2.2}/tests/test_registry.py +0 -0
  40. {capito-0.2.0 → capito-0.2.2}/tests/test_results.py +0 -0
  41. {capito-0.2.0 → capito-0.2.2}/tests/test_transport.py +0 -0
  42. {capito-0.2.0 → capito-0.2.2}/tests/test_validation.py +0 -0
  43. {capito-0.2.0 → capito-0.2.2}/tests/test_view.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capito
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Explore and call an HTTP API from Python: contract-based help, validation, accounts and project commands
5
5
  Author-email: Artur Artikov <a.artikov@gmail.com>
6
6
  License-Expression: MIT
@@ -50,7 +50,7 @@ Requires Python 3.12+:
50
50
  pip install capito
51
51
  ```
52
52
 
53
- Pin the version in your project, for example `capito==0.2.0`.
53
+ Pin the version in your project, for example `capito==0.2.2`.
54
54
 
55
55
  ### Configure
56
56
 
@@ -87,6 +87,9 @@ lines = 60
87
87
  width = 240
88
88
  items = "all"
89
89
  lines = "all"
90
+
91
+ [view.list] # operations(), accounts.list(): one line per entry
92
+ depth = 0
90
93
  ```
91
94
 
92
95
  ### Explore and call
@@ -29,7 +29,7 @@ Requires Python 3.12+:
29
29
  pip install capito
30
30
  ```
31
31
 
32
- Pin the version in your project, for example `capito==0.2.0`.
32
+ Pin the version in your project, for example `capito==0.2.2`.
33
33
 
34
34
  ### Configure
35
35
 
@@ -66,6 +66,9 @@ lines = 60
66
66
  width = 240
67
67
  items = "all"
68
68
  lines = "all"
69
+
70
+ [view.list] # operations(), accounts.list(): one line per entry
71
+ depth = 0
69
72
  ```
70
73
 
71
74
  ### Explore and call
@@ -59,11 +59,11 @@ analyst_api = "https://docs.example.test/openapi.yaml" # or an http(s) addr
59
59
  [view] # the project's view limits (section 6); without the section everything is "all"
60
60
  depth = 1
61
61
  items = 5
62
- width = 80
62
+ width = 120
63
63
  lines = 60
64
64
 
65
65
  [view.help]
66
- width = 200
66
+ width = 240
67
67
  items = "all"
68
68
  lines = "all"
69
69
 
@@ -303,7 +303,7 @@ print(r.view("body.status", "body.owner.name", "body.tags[].name"))
303
303
 
304
304
  ```
305
305
  … +42 (items=5)
306
- A leisurely walk along the seafront avenue…(+120, width=80)
306
+ A leisurely walk along the seafront avenue…(+120, width=120)
307
307
  … 40 more lines (lines=60); narrow the paths or raise lines
308
308
  ```
309
309
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capito
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Explore and call an HTTP API from Python: contract-based help, validation, accounts and project commands
5
5
  Author-email: Artur Artikov <a.artikov@gmail.com>
6
6
  License-Expression: MIT
@@ -50,7 +50,7 @@ Requires Python 3.12+:
50
50
  pip install capito
51
51
  ```
52
52
 
53
- Pin the version in your project, for example `capito==0.2.0`.
53
+ Pin the version in your project, for example `capito==0.2.2`.
54
54
 
55
55
  ### Configure
56
56
 
@@ -87,6 +87,9 @@ lines = 60
87
87
  width = 240
88
88
  items = "all"
89
89
  lines = "all"
90
+
91
+ [view.list] # operations(), accounts.list(): one line per entry
92
+ depth = 0
90
93
  ```
91
94
 
92
95
  ### Explore and call
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "capito"
7
- version = "0.2.0"
7
+ version = "0.2.2"
8
8
  description = "Explore and call an HTTP API from Python: contract-based help, validation, accounts and project commands"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes