edq-utils 0.1.9__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.
Files changed (83) hide show
  1. edq/__init__.py +5 -0
  2. edq/cli/__init__.py +0 -0
  3. edq/cli/config/__init__.py +3 -0
  4. edq/cli/config/list.py +69 -0
  5. edq/cli/http/__init__.py +3 -0
  6. edq/cli/http/exchange-server.py +71 -0
  7. edq/cli/http/send-exchange.py +45 -0
  8. edq/cli/http/verify-exchanges.py +38 -0
  9. edq/cli/testing/__init__.py +3 -0
  10. edq/cli/testing/cli-test.py +49 -0
  11. edq/cli/version.py +28 -0
  12. edq/core/__init__.py +0 -0
  13. edq/core/argparser.py +137 -0
  14. edq/core/argparser_test.py +124 -0
  15. edq/core/config.py +268 -0
  16. edq/core/config_test.py +1038 -0
  17. edq/core/log.py +101 -0
  18. edq/core/version.py +6 -0
  19. edq/procedure/__init__.py +0 -0
  20. edq/procedure/verify_exchanges.py +85 -0
  21. edq/py.typed +0 -0
  22. edq/testing/__init__.py +3 -0
  23. edq/testing/asserts.py +65 -0
  24. edq/testing/cli.py +360 -0
  25. edq/testing/cli_test.py +15 -0
  26. edq/testing/httpserver.py +578 -0
  27. edq/testing/httpserver_test.py +424 -0
  28. edq/testing/run.py +142 -0
  29. edq/testing/testdata/cli/data/configs/empty/edq-config.json +1 -0
  30. edq/testing/testdata/cli/data/configs/simple-1/edq-config.json +4 -0
  31. edq/testing/testdata/cli/data/configs/simple-2/edq-config.json +3 -0
  32. edq/testing/testdata/cli/data/configs/value-number/edq-config.json +3 -0
  33. edq/testing/testdata/cli/tests/config/list/config_list_base.txt +16 -0
  34. edq/testing/testdata/cli/tests/config/list/config_list_config_value_number.txt +10 -0
  35. edq/testing/testdata/cli/tests/config/list/config_list_ignore_config.txt +14 -0
  36. edq/testing/testdata/cli/tests/config/list/config_list_no_config.txt +8 -0
  37. edq/testing/testdata/cli/tests/config/list/config_list_show_origin.txt +13 -0
  38. edq/testing/testdata/cli/tests/config/list/config_list_skip_header.txt +10 -0
  39. edq/testing/testdata/cli/tests/help_base.txt +9 -0
  40. edq/testing/testdata/cli/tests/platform_skip.txt +5 -0
  41. edq/testing/testdata/cli/tests/version_base.txt +6 -0
  42. edq/testing/testdata/http/exchanges/simple.httpex.json +5 -0
  43. edq/testing/testdata/http/exchanges/simple_anchor.httpex.json +5 -0
  44. edq/testing/testdata/http/exchanges/simple_file.httpex.json +10 -0
  45. edq/testing/testdata/http/exchanges/simple_file_binary.httpex.json +10 -0
  46. edq/testing/testdata/http/exchanges/simple_file_get_params.httpex.json +14 -0
  47. edq/testing/testdata/http/exchanges/simple_file_multiple.httpex.json +13 -0
  48. edq/testing/testdata/http/exchanges/simple_file_name.httpex.json +11 -0
  49. edq/testing/testdata/http/exchanges/simple_file_post_multiple.httpex.json +13 -0
  50. edq/testing/testdata/http/exchanges/simple_file_post_params.httpex.json +14 -0
  51. edq/testing/testdata/http/exchanges/simple_headers.httpex.json +8 -0
  52. edq/testing/testdata/http/exchanges/simple_jsonresponse_dict.httpex.json +7 -0
  53. edq/testing/testdata/http/exchanges/simple_jsonresponse_list.httpex.json +9 -0
  54. edq/testing/testdata/http/exchanges/simple_params.httpex.json +9 -0
  55. edq/testing/testdata/http/exchanges/simple_post.httpex.json +5 -0
  56. edq/testing/testdata/http/exchanges/simple_post_params.httpex.json +9 -0
  57. edq/testing/testdata/http/exchanges/simple_post_urlparams.httpex.json +5 -0
  58. edq/testing/testdata/http/exchanges/simple_urlparams.httpex.json +5 -0
  59. edq/testing/testdata/http/exchanges/specialcase_listparams_explicit.httpex.json +8 -0
  60. edq/testing/testdata/http/exchanges/specialcase_listparams_url.httpex.json +5 -0
  61. edq/testing/testdata/http/files/a.txt +1 -0
  62. edq/testing/testdata/http/files/tiny.png +0 -0
  63. edq/testing/unittest.py +88 -0
  64. edq/util/__init__.py +3 -0
  65. edq/util/dirent.py +340 -0
  66. edq/util/dirent_test.py +979 -0
  67. edq/util/encoding.py +18 -0
  68. edq/util/hash.py +41 -0
  69. edq/util/hash_test.py +89 -0
  70. edq/util/json.py +180 -0
  71. edq/util/json_test.py +228 -0
  72. edq/util/net.py +1008 -0
  73. edq/util/parse.py +33 -0
  74. edq/util/pyimport.py +94 -0
  75. edq/util/pyimport_test.py +119 -0
  76. edq/util/reflection.py +32 -0
  77. edq/util/time.py +75 -0
  78. edq/util/time_test.py +107 -0
  79. edq_utils-0.1.9.dist-info/METADATA +164 -0
  80. edq_utils-0.1.9.dist-info/RECORD +83 -0
  81. edq_utils-0.1.9.dist-info/WHEEL +5 -0
  82. edq_utils-0.1.9.dist-info/licenses/LICENSE +21 -0
  83. edq_utils-0.1.9.dist-info/top_level.txt +1 -0
@@ -0,0 +1,83 @@
1
+ edq/__init__.py,sha256=R22JVW62QlBKsuqAAFPQgeJDlcZ-I9c21ilalnmCM-U,86
2
+ edq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ edq/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ edq/cli/version.py,sha256=SxarRVD_AVA-nD4pLVMe6ZjSJpMr7h_r3DgYYs42vjE,591
5
+ edq/cli/config/__init__.py,sha256=LtWDhiKpgR-u3jzSPefLofdYUTuFjKa-D8hCuCwSG5s,98
6
+ edq/cli/config/list.py,sha256=7PLW9_6bd_IMif30GVqVO7F5r_8PKBDu8QRldMvh8uI,1702
7
+ edq/cli/http/__init__.py,sha256=Z3i9vDmCMnjunL7ni6phVUagdY6mLyzZZK8JrrnIPo0,72
8
+ edq/cli/http/exchange-server.py,sha256=Sr4SqUlImvHP1mokJQI8QdUwUeFO-MrsmSv3DSJmGWU,1981
9
+ edq/cli/http/send-exchange.py,sha256=kfJoDSAqy3cso3T9I-J7jHsPug1fCqy7GYec8UXIzJY,1025
10
+ edq/cli/http/verify-exchanges.py,sha256=8IzbWBHuBLA0osUv48g17t3hc4BjfD15sNg2PX5bD30,1049
11
+ edq/cli/testing/__init__.py,sha256=er9ctX-P9vgd1ws24MVtLcngwsfIey7T5j7ou0FG9Ec,72
12
+ edq/cli/testing/cli-test.py,sha256=tNMEAWTTCQXWTycxWBfDQtw_Va07wpexLW_q84gxaZY,1323
13
+ edq/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ edq/core/argparser.py,sha256=Z-_SunbVxmu59Zdis6EbDWl1KREK6jh7u2Fb7FyaGhk,5130
15
+ edq/core/argparser_test.py,sha256=YzNft7c1Nk5tQzHEW7nEuJakjvk1IZiYimaQ_6HI6Bo,4046
16
+ edq/core/config.py,sha256=oxFRXdmrsGUyVTlte3iQzkMApB4fpShr51ivGOm-i_k,10606
17
+ edq/core/config_test.py,sha256=I49YVB0iLalZ3yrqfLZTfRpI128htAjdYkFJp5IRDTg,36991
18
+ edq/core/log.py,sha256=Aq5-Tznq5fgCfU0OI4ECy2OnCoiwV4bTFkhXXdLoG7Q,3726
19
+ edq/core/version.py,sha256=cCadcn3M4qoxbQRu4WRHXUu_xl49GTGSDpr6hpr7Vxw,124
20
+ edq/procedure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ edq/procedure/verify_exchanges.py,sha256=Bv-wscTaSx5bbQfD6tZutCtG_pyHuFIBhk_RB5ZMJEQ,2765
22
+ edq/testing/__init__.py,sha256=IKd3fPU_8d_jP19HxG-zKwxFwn7nqFGGtXOY5slY41c,32
23
+ edq/testing/asserts.py,sha256=BxWTH9aQFwmzb0tf5hx3V4aeJzmiBOO-QajaMM6zklI,2523
24
+ edq/testing/cli.py,sha256=pkms1Gy1VzXjRp3bT53TlnxtQUMuN-OntvRNlcpd960,14088
25
+ edq/testing/cli_test.py,sha256=IqzdK1fEit_3HagSU-nNI4EjkoQp6-I88JGZ1_x_uQk,525
26
+ edq/testing/httpserver.py,sha256=VlzynAZ8JJ1tY_NF6Z6u_C9MBPqcmiSnyBxZpL_dQBw,21041
27
+ edq/testing/httpserver_test.py,sha256=tjBgBbKTHeqE1ugHyao4HpW7FNPTkBGpWK3vuqJgNQg,12123
28
+ edq/testing/run.py,sha256=Axv0t6yZRUS39xmf5PWR5b54Rg21Nz0ip8G4UyJm1Ik,4814
29
+ edq/testing/unittest.py,sha256=7-5ScxXpMBvhhyCvRMPiiUbdfx9FcpMgU6M5A3oHV7c,2980
30
+ edq/testing/testdata/cli/data/configs/empty/edq-config.json,sha256=yj0WO6sFU4GCciYUBWjzvvfqrBh869doeOC2Pp5EI1Y,3
31
+ edq/testing/testdata/cli/data/configs/simple-1/edq-config.json,sha256=uQdt7o7VNjOSQk8ni6UrqZ95QkJTUgHcwaL2TvY30bs,42
32
+ edq/testing/testdata/cli/data/configs/simple-2/edq-config.json,sha256=F3vP5hF1G7rPp2PPUgHemvgA-2AuxTC6Pah8Yr-fRmw,37
33
+ edq/testing/testdata/cli/data/configs/value-number/edq-config.json,sha256=UrB_6Pa_JRZN3NzuM0OugxQgPizUC5RMqP5xv06cuvg,20
34
+ edq/testing/testdata/cli/tests/help_base.txt,sha256=7FWdcKFpICb8lfz-Zj_b8izzGK5ri0FqH0FJrTn5jss,122
35
+ edq/testing/testdata/cli/tests/platform_skip.txt,sha256=J6n7v3LhfTyjR3Ejo-uR-g6Xdxx34Fu_cmyGSii_elc,103
36
+ edq/testing/testdata/cli/tests/version_base.txt,sha256=5e9oSQaivA-0Th7wXpNRhACluyDwvFTL_1xfAkS2Pko,69
37
+ edq/testing/testdata/cli/tests/config/list/config_list_base.txt,sha256=jtHqRPxM-uJfMkmnZaSDilsxMF7y6UXw-iEtHe8XCuw,495
38
+ edq/testing/testdata/cli/tests/config/list/config_list_config_value_number.txt,sha256=hIC9iVJ60CvMQ98p9rTHhZrvxmjJKdPXPqw-TEC_z2s,242
39
+ edq/testing/testdata/cli/tests/config/list/config_list_ignore_config.txt,sha256=PSd6lHbW0AhL-hcsZiVmGDbKB_xK-dSTMxjVowI4J5I,457
40
+ edq/testing/testdata/cli/tests/config/list/config_list_no_config.txt,sha256=ckmH1xbeN2cOmJAE5Q5OX6rsQiflWIn555K-Ecc77w0,152
41
+ edq/testing/testdata/cli/tests/config/list/config_list_show_origin.txt,sha256=7QiZ55vITJ89kOOH1PUaig2jhz2PGKGYRsK2hAU5FYk,411
42
+ edq/testing/testdata/cli/tests/config/list/config_list_skip_header.txt,sha256=pzxB0_vLjjkDGtP3UdfPyXGTTYd7KIvXhbgiY_0nogU,244
43
+ edq/testing/testdata/http/exchanges/simple.httpex.json,sha256=i2xRx6PK3bdiOOf0CEBr_wHPFP-6I0xNDHDGXj-NHP8,76
44
+ edq/testing/testdata/http/exchanges/simple_anchor.httpex.json,sha256=pv2LQ6ZzoF4DXbqjiXLmIM1J9lLujEhsopW2E4cCduI,85
45
+ edq/testing/testdata/http/exchanges/simple_file.httpex.json,sha256=4M6EnTlKtnX4aF7Df_RiT21Os8kORXznrmm0aEbCZE8,160
46
+ edq/testing/testdata/http/exchanges/simple_file_binary.httpex.json,sha256=Oa6KUA2EmvptbdbfN8z3Fco4XVWqBE9Bn1GH00nd8MY,170
47
+ edq/testing/testdata/http/exchanges/simple_file_get_params.httpex.json,sha256=UuhmmhY3-OGbrSf6nz0UhLxBYCq1_SWm49BzzEdq_Qw,233
48
+ edq/testing/testdata/http/exchanges/simple_file_multiple.httpex.json,sha256=fHVYObBw7RIn0GdoYXh7JIRsRYDZUxwSpY3sTtWCiE8,230
49
+ edq/testing/testdata/http/exchanges/simple_file_name.httpex.json,sha256=uuRzhutq2kBxKICAZm-7heymjJvVDwqqgtHCuiCseaI,196
50
+ edq/testing/testdata/http/exchanges/simple_file_post_multiple.httpex.json,sha256=_3L7Ekjk36slGx52NvK7giBD1PPupiu9QrTT3-5W-Vk,236
51
+ edq/testing/testdata/http/exchanges/simple_file_post_params.httpex.json,sha256=mpuk1YFelKn2p6xBFjigF-dz78NlStarATU7oBOJYUc,235
52
+ edq/testing/testdata/http/exchanges/simple_headers.httpex.json,sha256=ULERGqi6zR_w2nYflTeX-30E2irJqlywo-Gc5yDqu2Q,125
53
+ edq/testing/testdata/http/exchanges/simple_jsonresponse_dict.httpex.json,sha256=YYykwKQzZnHDHzzI94Og746tYjKSqWdl-a46BJmjWLU,108
54
+ edq/testing/testdata/http/exchanges/simple_jsonresponse_list.httpex.json,sha256=201BNAPDD6fAOCKPmVKFc7euw3aBRSMPpztO_m_cLZg,132
55
+ edq/testing/testdata/http/exchanges/simple_params.httpex.json,sha256=VFW57ULUmgeo0K2iAPMZ-M4_AB9x_LbKYlIYX3juCgc,145
56
+ edq/testing/testdata/http/exchanges/simple_post.httpex.json,sha256=7wQWwZn8AICzSJwYYfwzbRU3eTf4r1DO8T1Uo5X5w-M,82
57
+ edq/testing/testdata/http/exchanges/simple_post_params.httpex.json,sha256=DBdq7Djru1doisZ69QXmRsVTmE5z8kwxYOaIqsoZNuw,151
58
+ edq/testing/testdata/http/exchanges/simple_post_urlparams.httpex.json,sha256=APDpctMjrjK-nEFdvKRU5bCRdaO9rCOVTEUO2RsN76Q,100
59
+ edq/testing/testdata/http/exchanges/simple_urlparams.httpex.json,sha256=Ajp9Jc7uD3-apiVbAPzK-4oTeZfb2qIo4f15MouBtL4,94
60
+ edq/testing/testdata/http/exchanges/specialcase_listparams_explicit.httpex.json,sha256=ZcDVKTvqPl_tkMjRmWtmj2vN8UK-25VdBNSxDWKd3wY,152
61
+ edq/testing/testdata/http/exchanges/specialcase_listparams_url.httpex.json,sha256=tPMpqKcg7eH0mSun4gVYDHu7JI4RhLrnyIs8w54CtFU,104
62
+ edq/testing/testdata/http/files/a.txt,sha256=h0KPxSKAPTEGXnvOPPA_5HUJZjHl4Hu9eg_eYMTPJcc,2
63
+ edq/testing/testdata/http/files/tiny.png,sha256=SvzIuI80iLyJ6ZUAkWu_BsqWwO9BgHetVFrh3S32QTA,113
64
+ edq/util/__init__.py,sha256=9EFKQE77S-B6OJJKFaMg8k3WkMMUQYlGjlTv6tQmWVo,29
65
+ edq/util/dirent.py,sha256=gvU7I8TPFIjURAOPalfaOf3GSlAA0mXET_bHKC6_e_A,10369
66
+ edq/util/dirent_test.py,sha256=WUx6Ux-13L9YIg2rDyOROv5Kbvgr4xy693ceG1osAP0,33855
67
+ edq/util/encoding.py,sha256=fyS7U8MTaX-lBLe2DJI6Vl3-DGfbJFXmYwN9GKqxjOc,573
68
+ edq/util/hash.py,sha256=lFPqkdKSiyldg0ZxGYShWiZTH8A23MfwN7r4mDgzA8E,1431
69
+ edq/util/hash_test.py,sha256=GzvCwgPdzsOn5o63lE8cUurAnj-4arHnYCUcctTnWMQ,2714
70
+ edq/util/json.py,sha256=nl_cxrlP97RX1BFtys8IT_3IfO0-XvBDQBe6YdrblB4,5936
71
+ edq/util/json_test.py,sha256=utUVRbw3z42ke4fpRVI294RrFHcMKms8khVYRkISNk4,8009
72
+ edq/util/net.py,sha256=fHggMnXeaVQsSlRWZz2MQiyF_LGN2WXD6m42mrrqcjw,37221
73
+ edq/util/parse.py,sha256=zA-GGbY5WF-rfAcWFlnYjDXQaNkxhoyLJ8X81UceCLw,786
74
+ edq/util/pyimport.py,sha256=26OIuCXELyqtwlooMqDEs4GJQrkrAgxnXNYTlqqtsBY,2852
75
+ edq/util/pyimport_test.py,sha256=Xno0MIa3yMTfBfoTgjKCIMpr1ZShU6bvo9rBRdecXQU,4202
76
+ edq/util/reflection.py,sha256=jPcW6h0fwSDYh04O5rUxlgoF7HK6fVQ2mq7DD9qPrEg,972
77
+ edq/util/time.py,sha256=anoNM_KniARLombv2BnsoHuCzDqMKiDdIzV7RUe2ZOk,2648
78
+ edq/util/time_test.py,sha256=iQZwzVTVQQ4TdXrLb9MUMCYlKrIe8qyF-hiC9YLTaMo,4610
79
+ edq_utils-0.1.9.dist-info/licenses/LICENSE,sha256=MS4iYEl4rOxMoprZuc86iYVoyk4YgaVoMt7WmGvVF8w,1064
80
+ edq_utils-0.1.9.dist-info/METADATA,sha256=BUq1NuuVBPazMUBpJwPcGgQrs6G7VHJdTFfqznbjTqQ,7535
81
+ edq_utils-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
+ edq_utils-0.1.9.dist-info/top_level.txt,sha256=znBHSj6tgXtcMKrUVtovLli5fIEJCb7d-BMxTLRK4zk,4
83
+ edq_utils-0.1.9.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