edq-utils 0.2.3__py3-none-any.whl

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.

Potentially problematic release.


This version of edq-utils might be problematic. Click here for more details.

Files changed (88) hide show
  1. edq/__init__.py +5 -0
  2. edq/cli/__init__.py +0 -0
  3. edq/cli/__main__.py +17 -0
  4. edq/cli/config/__init__.py +3 -0
  5. edq/cli/config/__main__.py +15 -0
  6. edq/cli/config/list.py +69 -0
  7. edq/cli/http/__init__.py +3 -0
  8. edq/cli/http/__main__.py +15 -0
  9. edq/cli/http/exchange-server.py +71 -0
  10. edq/cli/http/send-exchange.py +45 -0
  11. edq/cli/http/verify-exchanges.py +38 -0
  12. edq/cli/testing/__init__.py +3 -0
  13. edq/cli/testing/__main__.py +15 -0
  14. edq/cli/testing/cli-test.py +49 -0
  15. edq/cli/version.py +28 -0
  16. edq/core/__init__.py +0 -0
  17. edq/core/argparser.py +137 -0
  18. edq/core/argparser_test.py +124 -0
  19. edq/core/config.py +268 -0
  20. edq/core/config_test.py +1038 -0
  21. edq/core/log.py +101 -0
  22. edq/core/version.py +6 -0
  23. edq/procedure/__init__.py +0 -0
  24. edq/procedure/verify_exchanges.py +85 -0
  25. edq/py.typed +0 -0
  26. edq/testing/__init__.py +3 -0
  27. edq/testing/asserts.py +65 -0
  28. edq/testing/cli.py +360 -0
  29. edq/testing/cli_test.py +15 -0
  30. edq/testing/httpserver.py +578 -0
  31. edq/testing/httpserver_test.py +424 -0
  32. edq/testing/run.py +142 -0
  33. edq/testing/testdata/cli/data/configs/empty/edq-config.json +1 -0
  34. edq/testing/testdata/cli/data/configs/simple-1/edq-config.json +4 -0
  35. edq/testing/testdata/cli/data/configs/simple-2/edq-config.json +3 -0
  36. edq/testing/testdata/cli/data/configs/value-number/edq-config.json +3 -0
  37. edq/testing/testdata/cli/tests/config/list/config_list_base.txt +16 -0
  38. edq/testing/testdata/cli/tests/config/list/config_list_config_value_number.txt +10 -0
  39. edq/testing/testdata/cli/tests/config/list/config_list_ignore_config.txt +14 -0
  40. edq/testing/testdata/cli/tests/config/list/config_list_no_config.txt +8 -0
  41. edq/testing/testdata/cli/tests/config/list/config_list_show_origin.txt +13 -0
  42. edq/testing/testdata/cli/tests/config/list/config_list_skip_header.txt +10 -0
  43. edq/testing/testdata/cli/tests/help_base.txt +9 -0
  44. edq/testing/testdata/cli/tests/platform_skip.txt +5 -0
  45. edq/testing/testdata/cli/tests/version_base.txt +6 -0
  46. edq/testing/testdata/http/exchanges/simple.httpex.json +5 -0
  47. edq/testing/testdata/http/exchanges/simple_anchor.httpex.json +5 -0
  48. edq/testing/testdata/http/exchanges/simple_file.httpex.json +10 -0
  49. edq/testing/testdata/http/exchanges/simple_file_binary.httpex.json +10 -0
  50. edq/testing/testdata/http/exchanges/simple_file_get_params.httpex.json +14 -0
  51. edq/testing/testdata/http/exchanges/simple_file_multiple.httpex.json +13 -0
  52. edq/testing/testdata/http/exchanges/simple_file_name.httpex.json +11 -0
  53. edq/testing/testdata/http/exchanges/simple_file_post_multiple.httpex.json +13 -0
  54. edq/testing/testdata/http/exchanges/simple_file_post_params.httpex.json +14 -0
  55. edq/testing/testdata/http/exchanges/simple_headers.httpex.json +8 -0
  56. edq/testing/testdata/http/exchanges/simple_jsonresponse_dict.httpex.json +7 -0
  57. edq/testing/testdata/http/exchanges/simple_jsonresponse_list.httpex.json +9 -0
  58. edq/testing/testdata/http/exchanges/simple_params.httpex.json +9 -0
  59. edq/testing/testdata/http/exchanges/simple_post.httpex.json +5 -0
  60. edq/testing/testdata/http/exchanges/simple_post_params.httpex.json +9 -0
  61. edq/testing/testdata/http/exchanges/simple_post_urlparams.httpex.json +5 -0
  62. edq/testing/testdata/http/exchanges/simple_urlparams.httpex.json +5 -0
  63. edq/testing/testdata/http/exchanges/specialcase_listparams_explicit.httpex.json +8 -0
  64. edq/testing/testdata/http/exchanges/specialcase_listparams_url.httpex.json +5 -0
  65. edq/testing/testdata/http/files/a.txt +1 -0
  66. edq/testing/testdata/http/files/tiny.png +0 -0
  67. edq/testing/unittest.py +88 -0
  68. edq/util/__init__.py +3 -0
  69. edq/util/cli.py +151 -0
  70. edq/util/dirent.py +346 -0
  71. edq/util/dirent_test.py +1004 -0
  72. edq/util/encoding.py +18 -0
  73. edq/util/hash.py +41 -0
  74. edq/util/hash_test.py +89 -0
  75. edq/util/json.py +180 -0
  76. edq/util/json_test.py +228 -0
  77. edq/util/net.py +1047 -0
  78. edq/util/parse.py +33 -0
  79. edq/util/pyimport.py +94 -0
  80. edq/util/pyimport_test.py +119 -0
  81. edq/util/reflection.py +32 -0
  82. edq/util/time.py +75 -0
  83. edq/util/time_test.py +107 -0
  84. edq_utils-0.2.3.dist-info/METADATA +164 -0
  85. edq_utils-0.2.3.dist-info/RECORD +88 -0
  86. edq_utils-0.2.3.dist-info/WHEEL +5 -0
  87. edq_utils-0.2.3.dist-info/licenses/LICENSE +21 -0
  88. edq_utils-0.2.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,88 @@
1
+ edq/__init__.py,sha256=1nvGwN3NcZoLaMn492OHIRJXa3iLUjUOuE4Vi9rtvxI,86
2
+ edq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ edq/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ edq/cli/__main__.py,sha256=WvJPPNDCNI5dxco9tFWkTmBRCvhPSoqdiX9S8UFStZg,404
5
+ edq/cli/version.py,sha256=SxarRVD_AVA-nD4pLVMe6ZjSJpMr7h_r3DgYYs42vjE,591
6
+ edq/cli/config/__init__.py,sha256=LtWDhiKpgR-u3jzSPefLofdYUTuFjKa-D8hCuCwSG5s,98
7
+ edq/cli/config/__main__.py,sha256=M8HPthiP7r1a3NKLKS65g8uT1UXH8Y6yrLmg87EgoxE,263
8
+ edq/cli/config/list.py,sha256=7PLW9_6bd_IMif30GVqVO7F5r_8PKBDu8QRldMvh8uI,1702
9
+ edq/cli/http/__init__.py,sha256=Z3i9vDmCMnjunL7ni6phVUagdY6mLyzZZK8JrrnIPo0,72
10
+ edq/cli/http/__main__.py,sha256=z0v8OcdIkZjje8Ul5ShcBNU01bStcCxGz2StxK2h_bQ,254
11
+ edq/cli/http/exchange-server.py,sha256=Sr4SqUlImvHP1mokJQI8QdUwUeFO-MrsmSv3DSJmGWU,1981
12
+ edq/cli/http/send-exchange.py,sha256=kfJoDSAqy3cso3T9I-J7jHsPug1fCqy7GYec8UXIzJY,1025
13
+ edq/cli/http/verify-exchanges.py,sha256=8IzbWBHuBLA0osUv48g17t3hc4BjfD15sNg2PX5bD30,1049
14
+ edq/cli/testing/__init__.py,sha256=er9ctX-P9vgd1ws24MVtLcngwsfIey7T5j7ou0FG9Ec,72
15
+ edq/cli/testing/__main__.py,sha256=dScMALd3SU4kxqauPPKVi8V8zKtCXVXejkz2jikyyuM,238
16
+ edq/cli/testing/cli-test.py,sha256=tNMEAWTTCQXWTycxWBfDQtw_Va07wpexLW_q84gxaZY,1323
17
+ edq/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ edq/core/argparser.py,sha256=Z-_SunbVxmu59Zdis6EbDWl1KREK6jh7u2Fb7FyaGhk,5130
19
+ edq/core/argparser_test.py,sha256=YzNft7c1Nk5tQzHEW7nEuJakjvk1IZiYimaQ_6HI6Bo,4046
20
+ edq/core/config.py,sha256=oxFRXdmrsGUyVTlte3iQzkMApB4fpShr51ivGOm-i_k,10606
21
+ edq/core/config_test.py,sha256=I49YVB0iLalZ3yrqfLZTfRpI128htAjdYkFJp5IRDTg,36991
22
+ edq/core/log.py,sha256=Aq5-Tznq5fgCfU0OI4ECy2OnCoiwV4bTFkhXXdLoG7Q,3726
23
+ edq/core/version.py,sha256=cCadcn3M4qoxbQRu4WRHXUu_xl49GTGSDpr6hpr7Vxw,124
24
+ edq/procedure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ edq/procedure/verify_exchanges.py,sha256=Bv-wscTaSx5bbQfD6tZutCtG_pyHuFIBhk_RB5ZMJEQ,2765
26
+ edq/testing/__init__.py,sha256=IKd3fPU_8d_jP19HxG-zKwxFwn7nqFGGtXOY5slY41c,32
27
+ edq/testing/asserts.py,sha256=BxWTH9aQFwmzb0tf5hx3V4aeJzmiBOO-QajaMM6zklI,2523
28
+ edq/testing/cli.py,sha256=pkms1Gy1VzXjRp3bT53TlnxtQUMuN-OntvRNlcpd960,14088
29
+ edq/testing/cli_test.py,sha256=IqzdK1fEit_3HagSU-nNI4EjkoQp6-I88JGZ1_x_uQk,525
30
+ edq/testing/httpserver.py,sha256=VlzynAZ8JJ1tY_NF6Z6u_C9MBPqcmiSnyBxZpL_dQBw,21041
31
+ edq/testing/httpserver_test.py,sha256=tjBgBbKTHeqE1ugHyao4HpW7FNPTkBGpWK3vuqJgNQg,12123
32
+ edq/testing/run.py,sha256=Axv0t6yZRUS39xmf5PWR5b54Rg21Nz0ip8G4UyJm1Ik,4814
33
+ edq/testing/unittest.py,sha256=7-5ScxXpMBvhhyCvRMPiiUbdfx9FcpMgU6M5A3oHV7c,2980
34
+ edq/testing/testdata/cli/data/configs/empty/edq-config.json,sha256=yj0WO6sFU4GCciYUBWjzvvfqrBh869doeOC2Pp5EI1Y,3
35
+ edq/testing/testdata/cli/data/configs/simple-1/edq-config.json,sha256=uQdt7o7VNjOSQk8ni6UrqZ95QkJTUgHcwaL2TvY30bs,42
36
+ edq/testing/testdata/cli/data/configs/simple-2/edq-config.json,sha256=F3vP5hF1G7rPp2PPUgHemvgA-2AuxTC6Pah8Yr-fRmw,37
37
+ edq/testing/testdata/cli/data/configs/value-number/edq-config.json,sha256=UrB_6Pa_JRZN3NzuM0OugxQgPizUC5RMqP5xv06cuvg,20
38
+ edq/testing/testdata/cli/tests/help_base.txt,sha256=7FWdcKFpICb8lfz-Zj_b8izzGK5ri0FqH0FJrTn5jss,122
39
+ edq/testing/testdata/cli/tests/platform_skip.txt,sha256=J6n7v3LhfTyjR3Ejo-uR-g6Xdxx34Fu_cmyGSii_elc,103
40
+ edq/testing/testdata/cli/tests/version_base.txt,sha256=5e9oSQaivA-0Th7wXpNRhACluyDwvFTL_1xfAkS2Pko,69
41
+ edq/testing/testdata/cli/tests/config/list/config_list_base.txt,sha256=jtHqRPxM-uJfMkmnZaSDilsxMF7y6UXw-iEtHe8XCuw,495
42
+ edq/testing/testdata/cli/tests/config/list/config_list_config_value_number.txt,sha256=hIC9iVJ60CvMQ98p9rTHhZrvxmjJKdPXPqw-TEC_z2s,242
43
+ edq/testing/testdata/cli/tests/config/list/config_list_ignore_config.txt,sha256=PSd6lHbW0AhL-hcsZiVmGDbKB_xK-dSTMxjVowI4J5I,457
44
+ edq/testing/testdata/cli/tests/config/list/config_list_no_config.txt,sha256=ckmH1xbeN2cOmJAE5Q5OX6rsQiflWIn555K-Ecc77w0,152
45
+ edq/testing/testdata/cli/tests/config/list/config_list_show_origin.txt,sha256=7QiZ55vITJ89kOOH1PUaig2jhz2PGKGYRsK2hAU5FYk,411
46
+ edq/testing/testdata/cli/tests/config/list/config_list_skip_header.txt,sha256=pzxB0_vLjjkDGtP3UdfPyXGTTYd7KIvXhbgiY_0nogU,244
47
+ edq/testing/testdata/http/exchanges/simple.httpex.json,sha256=i2xRx6PK3bdiOOf0CEBr_wHPFP-6I0xNDHDGXj-NHP8,76
48
+ edq/testing/testdata/http/exchanges/simple_anchor.httpex.json,sha256=pv2LQ6ZzoF4DXbqjiXLmIM1J9lLujEhsopW2E4cCduI,85
49
+ edq/testing/testdata/http/exchanges/simple_file.httpex.json,sha256=4M6EnTlKtnX4aF7Df_RiT21Os8kORXznrmm0aEbCZE8,160
50
+ edq/testing/testdata/http/exchanges/simple_file_binary.httpex.json,sha256=Oa6KUA2EmvptbdbfN8z3Fco4XVWqBE9Bn1GH00nd8MY,170
51
+ edq/testing/testdata/http/exchanges/simple_file_get_params.httpex.json,sha256=UuhmmhY3-OGbrSf6nz0UhLxBYCq1_SWm49BzzEdq_Qw,233
52
+ edq/testing/testdata/http/exchanges/simple_file_multiple.httpex.json,sha256=fHVYObBw7RIn0GdoYXh7JIRsRYDZUxwSpY3sTtWCiE8,230
53
+ edq/testing/testdata/http/exchanges/simple_file_name.httpex.json,sha256=uuRzhutq2kBxKICAZm-7heymjJvVDwqqgtHCuiCseaI,196
54
+ edq/testing/testdata/http/exchanges/simple_file_post_multiple.httpex.json,sha256=_3L7Ekjk36slGx52NvK7giBD1PPupiu9QrTT3-5W-Vk,236
55
+ edq/testing/testdata/http/exchanges/simple_file_post_params.httpex.json,sha256=mpuk1YFelKn2p6xBFjigF-dz78NlStarATU7oBOJYUc,235
56
+ edq/testing/testdata/http/exchanges/simple_headers.httpex.json,sha256=ULERGqi6zR_w2nYflTeX-30E2irJqlywo-Gc5yDqu2Q,125
57
+ edq/testing/testdata/http/exchanges/simple_jsonresponse_dict.httpex.json,sha256=YYykwKQzZnHDHzzI94Og746tYjKSqWdl-a46BJmjWLU,108
58
+ edq/testing/testdata/http/exchanges/simple_jsonresponse_list.httpex.json,sha256=201BNAPDD6fAOCKPmVKFc7euw3aBRSMPpztO_m_cLZg,132
59
+ edq/testing/testdata/http/exchanges/simple_params.httpex.json,sha256=VFW57ULUmgeo0K2iAPMZ-M4_AB9x_LbKYlIYX3juCgc,145
60
+ edq/testing/testdata/http/exchanges/simple_post.httpex.json,sha256=7wQWwZn8AICzSJwYYfwzbRU3eTf4r1DO8T1Uo5X5w-M,82
61
+ edq/testing/testdata/http/exchanges/simple_post_params.httpex.json,sha256=DBdq7Djru1doisZ69QXmRsVTmE5z8kwxYOaIqsoZNuw,151
62
+ edq/testing/testdata/http/exchanges/simple_post_urlparams.httpex.json,sha256=APDpctMjrjK-nEFdvKRU5bCRdaO9rCOVTEUO2RsN76Q,100
63
+ edq/testing/testdata/http/exchanges/simple_urlparams.httpex.json,sha256=Ajp9Jc7uD3-apiVbAPzK-4oTeZfb2qIo4f15MouBtL4,94
64
+ edq/testing/testdata/http/exchanges/specialcase_listparams_explicit.httpex.json,sha256=ZcDVKTvqPl_tkMjRmWtmj2vN8UK-25VdBNSxDWKd3wY,152
65
+ edq/testing/testdata/http/exchanges/specialcase_listparams_url.httpex.json,sha256=tPMpqKcg7eH0mSun4gVYDHu7JI4RhLrnyIs8w54CtFU,104
66
+ edq/testing/testdata/http/files/a.txt,sha256=h0KPxSKAPTEGXnvOPPA_5HUJZjHl4Hu9eg_eYMTPJcc,2
67
+ edq/testing/testdata/http/files/tiny.png,sha256=SvzIuI80iLyJ6ZUAkWu_BsqWwO9BgHetVFrh3S32QTA,113
68
+ edq/util/__init__.py,sha256=9EFKQE77S-B6OJJKFaMg8k3WkMMUQYlGjlTv6tQmWVo,29
69
+ edq/util/cli.py,sha256=Go3Ewy_CWDo5a7HPj3FWEP7QcgR2DIivM2VW-4pAZxU,4564
70
+ edq/util/dirent.py,sha256=gKklpWiQKaUg3huZtWXNK79vjBKE6bZpo2QSnIghKdo,10622
71
+ edq/util/dirent_test.py,sha256=zKStgKXWQxdk_7QVGSzN2DLT1hmSzstU8XotTMxoyWA,34953
72
+ edq/util/encoding.py,sha256=fyS7U8MTaX-lBLe2DJI6Vl3-DGfbJFXmYwN9GKqxjOc,573
73
+ edq/util/hash.py,sha256=lFPqkdKSiyldg0ZxGYShWiZTH8A23MfwN7r4mDgzA8E,1431
74
+ edq/util/hash_test.py,sha256=GzvCwgPdzsOn5o63lE8cUurAnj-4arHnYCUcctTnWMQ,2714
75
+ edq/util/json.py,sha256=nl_cxrlP97RX1BFtys8IT_3IfO0-XvBDQBe6YdrblB4,5936
76
+ edq/util/json_test.py,sha256=utUVRbw3z42ke4fpRVI294RrFHcMKms8khVYRkISNk4,8009
77
+ edq/util/net.py,sha256=eO8KR99I4eq2INu1NUjbn70eWYUO5sZNKpYpLGegctE,38687
78
+ edq/util/parse.py,sha256=zA-GGbY5WF-rfAcWFlnYjDXQaNkxhoyLJ8X81UceCLw,786
79
+ edq/util/pyimport.py,sha256=26OIuCXELyqtwlooMqDEs4GJQrkrAgxnXNYTlqqtsBY,2852
80
+ edq/util/pyimport_test.py,sha256=Xno0MIa3yMTfBfoTgjKCIMpr1ZShU6bvo9rBRdecXQU,4202
81
+ edq/util/reflection.py,sha256=jPcW6h0fwSDYh04O5rUxlgoF7HK6fVQ2mq7DD9qPrEg,972
82
+ edq/util/time.py,sha256=anoNM_KniARLombv2BnsoHuCzDqMKiDdIzV7RUe2ZOk,2648
83
+ edq/util/time_test.py,sha256=iQZwzVTVQQ4TdXrLb9MUMCYlKrIe8qyF-hiC9YLTaMo,4610
84
+ edq_utils-0.2.3.dist-info/licenses/LICENSE,sha256=MS4iYEl4rOxMoprZuc86iYVoyk4YgaVoMt7WmGvVF8w,1064
85
+ edq_utils-0.2.3.dist-info/METADATA,sha256=848uXn4-ZBRMoEuG3ojYBVRb4vFqk5GxCH70yk51MX4,7535
86
+ edq_utils-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
87
+ edq_utils-0.2.3.dist-info/top_level.txt,sha256=znBHSj6tgXtcMKrUVtovLli5fIEJCb7d-BMxTLRK4zk,4
88
+ edq_utils-0.2.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 EduLinq
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ edq