@vicoa/cli 1.10.3 → 1.10.4-darwin-x64

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 (229) hide show
  1. package/bin/_internal/_cffi_backend.cpython-312-darwin.so +0 -0
  2. package/bin/_internal/aiofile-3.12.3.dist-info/INSTALLER +1 -0
  3. package/bin/_internal/aiofile-3.12.3.dist-info/METADATA +564 -0
  4. package/bin/_internal/aiofile-3.12.3.dist-info/RECORD +15 -0
  5. package/bin/_internal/aiofile-3.12.3.dist-info/WHEEL +4 -0
  6. package/bin/_internal/aiofile-3.12.3.dist-info/licenses/LICENCE +195 -0
  7. package/bin/_internal/aiofile-3.12.3.dist-info/licenses/LICENCE.md +195 -0
  8. package/bin/_internal/aiohttp/_http_parser.cpython-312-darwin.so +0 -0
  9. package/bin/_internal/aiohttp/_http_writer.cpython-312-darwin.so +0 -0
  10. package/bin/_internal/aiohttp/_websocket/mask.cpython-312-darwin.so +0 -0
  11. package/bin/_internal/aiohttp/_websocket/reader_c.cpython-312-darwin.so +0 -0
  12. package/bin/_internal/aiohttp-3.14.5.dist-info/INSTALLER +1 -0
  13. package/bin/_internal/aiohttp-3.14.5.dist-info/METADATA +257 -0
  14. package/bin/_internal/aiohttp-3.14.5.dist-info/RECORD +128 -0
  15. package/bin/_internal/aiohttp-3.14.5.dist-info/WHEEL +6 -0
  16. package/bin/_internal/aiohttp-3.14.5.dist-info/licenses/LICENSE.txt +201 -0
  17. package/bin/_internal/aiohttp-3.14.5.dist-info/licenses/vendor/llhttp/LICENSE +22 -0
  18. package/bin/_internal/aiohttp-3.14.5.dist-info/top_level.txt +1 -0
  19. package/bin/_internal/attrs-26.1.0.dist-info/INSTALLER +1 -0
  20. package/bin/_internal/attrs-26.1.0.dist-info/METADATA +199 -0
  21. package/bin/_internal/attrs-26.1.0.dist-info/RECORD +55 -0
  22. package/bin/_internal/attrs-26.1.0.dist-info/WHEEL +4 -0
  23. package/bin/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
  24. package/bin/_internal/base_library.zip +0 -0
  25. package/bin/_internal/caio/thread_aio.cpython-312-darwin.so +0 -0
  26. package/bin/_internal/certifi/cacert.pem +3685 -0
  27. package/bin/_internal/certifi/py.typed +0 -0
  28. package/bin/_internal/charset_normalizer/cd.cpython-312-darwin.so +0 -0
  29. package/bin/_internal/charset_normalizer/md.cpython-312-darwin.so +0 -0
  30. package/bin/_internal/click-8.5.1.dist-info/INSTALLER +1 -0
  31. package/bin/_internal/click-8.5.1.dist-info/METADATA +83 -0
  32. package/bin/_internal/click-8.5.1.dist-info/RECORD +40 -0
  33. package/bin/_internal/click-8.5.1.dist-info/WHEEL +4 -0
  34. package/bin/_internal/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
  35. package/bin/_internal/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
  36. package/bin/_internal/cryptography-48.0.1.dist-info/INSTALLER +1 -0
  37. package/bin/_internal/cryptography-48.0.1.dist-info/METADATA +110 -0
  38. package/bin/_internal/cryptography-48.0.1.dist-info/RECORD +196 -0
  39. package/bin/_internal/cryptography-48.0.1.dist-info/REQUESTED +0 -0
  40. package/bin/_internal/cryptography-48.0.1.dist-info/WHEEL +4 -0
  41. package/bin/_internal/cryptography-48.0.1.dist-info/licenses/LICENSE +3 -0
  42. package/bin/_internal/cryptography-48.0.1.dist-info/licenses/LICENSE.APACHE +202 -0
  43. package/bin/_internal/cryptography-48.0.1.dist-info/licenses/LICENSE.BSD +27 -0
  44. package/bin/_internal/cryptography-48.0.1.dist-info/sboms/cryptography-rust.cyclonedx.json +1362 -0
  45. package/bin/_internal/cryptography-48.0.1.dist-info/sboms/sbom.json +43 -0
  46. package/bin/_internal/email_validator-2.4.0.dist-info/INSTALLER +1 -0
  47. package/bin/_internal/email_validator-2.4.0.dist-info/METADATA +469 -0
  48. package/bin/_internal/email_validator-2.4.0.dist-info/RECORD +27 -0
  49. package/bin/_internal/email_validator-2.4.0.dist-info/WHEEL +5 -0
  50. package/bin/_internal/email_validator-2.4.0.dist-info/entry_points.txt +2 -0
  51. package/bin/_internal/email_validator-2.4.0.dist-info/licenses/LICENSE +27 -0
  52. package/bin/_internal/email_validator-2.4.0.dist-info/top_level.txt +1 -0
  53. package/bin/_internal/fastmcp-4.2.6.dist-info/INSTALLER +1 -0
  54. package/bin/_internal/fastmcp-4.2.6.dist-info/METADATA +170 -0
  55. package/bin/_internal/fastmcp-4.2.6.dist-info/RECORD +5 -0
  56. package/bin/_internal/fastmcp-4.2.6.dist-info/WHEEL +4 -0
  57. package/bin/_internal/fastmcp-4.2.6.dist-info/licenses/LICENSE +201 -0
  58. package/bin/_internal/fastmcp_slim-4.2.6.dist-info/INSTALLER +1 -0
  59. package/bin/_internal/fastmcp_slim-4.2.6.dist-info/METADATA +210 -0
  60. package/bin/_internal/fastmcp_slim-4.2.6.dist-info/RECORD +573 -0
  61. package/bin/_internal/fastmcp_slim-4.2.6.dist-info/WHEEL +4 -0
  62. package/bin/_internal/fastmcp_slim-4.2.6.dist-info/entry_points.txt +2 -0
  63. package/bin/_internal/frozenlist/_frozenlist.cpython-312-darwin.so +0 -0
  64. package/bin/_internal/httpcore2-2.17.0.dist-info/INSTALLER +1 -0
  65. package/bin/_internal/httpcore2-2.17.0.dist-info/METADATA +814 -0
  66. package/bin/_internal/httpcore2-2.17.0.dist-info/RECORD +70 -0
  67. package/bin/_internal/httpcore2-2.17.0.dist-info/WHEEL +4 -0
  68. package/bin/_internal/httpcore2-2.17.0.dist-info/licenses/LICENSE.md +28 -0
  69. package/bin/_internal/httpx2-2.17.0.dist-info/INSTALLER +1 -0
  70. package/bin/_internal/httpx2-2.17.0.dist-info/METADATA +252 -0
  71. package/bin/_internal/httpx2-2.17.0.dist-info/RECORD +70 -0
  72. package/bin/_internal/httpx2-2.17.0.dist-info/WHEEL +4 -0
  73. package/bin/_internal/httpx2-2.17.0.dist-info/entry_points.txt +2 -0
  74. package/bin/_internal/httpx2-2.17.0.dist-info/licenses/LICENSE.md +13 -0
  75. package/bin/_internal/integrations/cli_wrappers/IMPORTANT_USE_CASES.md +33 -0
  76. package/bin/_internal/integrations/headless/tests/README.md +58 -0
  77. package/bin/_internal/integrations/headless/tests/fixtures/antigravity/read_ok_write_denied.ndjson +9 -0
  78. package/bin/_internal/integrations/headless/tests/fixtures/antigravity/text_then_denied_command.ndjson +10 -0
  79. package/bin/_internal/integrations/headless/tests/fixtures/antigravity/tools_allowed.ndjson +10 -0
  80. package/bin/_internal/integrations/headless/tests/fixtures/omp/01-text.jsonl +22 -0
  81. package/bin/_internal/integrations/headless/tests/fixtures/omp/02-tools.jsonl +41 -0
  82. package/bin/_internal/integrations/headless/tests/fixtures/omp/03-hosttool.jsonl +44 -0
  83. package/bin/_internal/integrations/headless/tests/fixtures/omp/04-approval.jsonl +68 -0
  84. package/bin/_internal/integrations/headless/tests/fixtures/omp/05-todo.jsonl +146 -0
  85. package/bin/_internal/integrations/headless/tests/fixtures/omp/06-subagent.jsonl +273 -0
  86. package/bin/_internal/integrations/headless/tests/fixtures/omp/README.md +108 -0
  87. package/bin/_internal/integrations/headless/tests/fixtures/provider_usage/codex_wham_usage_free.json +41 -0
  88. package/bin/_internal/integrations/headless/tests/fixtures/provider_usage/codex_wham_usage_plus.json +30 -0
  89. package/bin/_internal/integrations/headless/tests/fixtures/provider_usage/copilot_user_free_limited.json +67 -0
  90. package/bin/_internal/integrations/headless/tests/fixtures/provider_usage/copilot_user_pro.json +33 -0
  91. package/bin/_internal/integrations/headless/tests/inline_reasoning_cases.json +125 -0
  92. package/bin/_internal/jiter/jiter.cpython-312-darwin.so +0 -0
  93. package/bin/_internal/jsonschema/benchmarks/issue232/issue.json +2653 -0
  94. package/bin/_internal/jsonschema-4.26.0.dist-info/INSTALLER +1 -0
  95. package/bin/_internal/jsonschema-4.26.0.dist-info/METADATA +170 -0
  96. package/bin/_internal/jsonschema-4.26.0.dist-info/RECORD +82 -0
  97. package/bin/_internal/jsonschema-4.26.0.dist-info/WHEEL +4 -0
  98. package/bin/_internal/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
  99. package/bin/_internal/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
  100. package/bin/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
  101. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
  102. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
  103. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
  104. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
  105. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
  106. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
  107. package/bin/_internal/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
  108. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
  109. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
  110. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
  111. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
  112. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
  113. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
  114. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
  115. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
  116. package/bin/_internal/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
  117. package/bin/_internal/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
  118. package/bin/_internal/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
  119. package/bin/_internal/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
  120. package/bin/_internal/libbz2.dylib +0 -0
  121. package/bin/_internal/libcrypto.3.dylib +0 -0
  122. package/bin/_internal/libexpat.1.dylib +0 -0
  123. package/bin/_internal/libffi.8.dylib +0 -0
  124. package/bin/_internal/liblzma.5.dylib +0 -0
  125. package/bin/_internal/libncurses.6.dylib +0 -0
  126. package/bin/_internal/libpython3.12.dylib +0 -0
  127. package/bin/_internal/libreadline.8.dylib +0 -0
  128. package/bin/_internal/libsqlite3.dylib +0 -0
  129. package/bin/_internal/libssl.3.dylib +0 -0
  130. package/bin/_internal/libtinfo.6.dylib +0 -0
  131. package/bin/_internal/libz.1.dylib +0 -0
  132. package/bin/_internal/mcp-2.3.0.dist-info/INSTALLER +1 -0
  133. package/bin/_internal/mcp-2.3.0.dist-info/METADATA +172 -0
  134. package/bin/_internal/mcp-2.3.0.dist-info/RECORD +256 -0
  135. package/bin/_internal/mcp-2.3.0.dist-info/WHEEL +4 -0
  136. package/bin/_internal/mcp-2.3.0.dist-info/entry_points.txt +2 -0
  137. package/bin/_internal/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
  138. package/bin/_internal/multidict/_multidict.cpython-312-darwin.so +0 -0
  139. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/INSTALLER +1 -0
  140. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/METADATA +43 -0
  141. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/RECORD +78 -0
  142. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/WHEEL +4 -0
  143. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/entry_points.txt +15 -0
  144. package/bin/_internal/opentelemetry_api-1.45.3.dist-info/licenses/LICENSE +201 -0
  145. package/bin/_internal/propcache/_helpers_c.cpython-312-darwin.so +0 -0
  146. package/bin/_internal/pydantic-2.14.4.dist-info/INSTALLER +1 -0
  147. package/bin/_internal/pydantic-2.14.4.dist-info/METADATA +1682 -0
  148. package/bin/_internal/pydantic-2.14.4.dist-info/RECORD +219 -0
  149. package/bin/_internal/pydantic-2.14.4.dist-info/WHEEL +4 -0
  150. package/bin/_internal/pydantic-2.14.4.dist-info/licenses/LICENSE +21 -0
  151. package/bin/_internal/pydantic_core/_pydantic_core.cpython-312-darwin.so +0 -0
  152. package/bin/_internal/python3.12/lib-dynload/_asyncio.cpython-312-darwin.so +0 -0
  153. package/bin/_internal/python3.12/lib-dynload/_bisect.cpython-312-darwin.so +0 -0
  154. package/bin/_internal/python3.12/lib-dynload/_blake2.cpython-312-darwin.so +0 -0
  155. package/bin/_internal/python3.12/lib-dynload/_bz2.cpython-312-darwin.so +0 -0
  156. package/bin/_internal/python3.12/lib-dynload/_codecs_cn.cpython-312-darwin.so +0 -0
  157. package/bin/_internal/python3.12/lib-dynload/_codecs_hk.cpython-312-darwin.so +0 -0
  158. package/bin/_internal/python3.12/lib-dynload/_codecs_iso2022.cpython-312-darwin.so +0 -0
  159. package/bin/_internal/python3.12/lib-dynload/_codecs_jp.cpython-312-darwin.so +0 -0
  160. package/bin/_internal/python3.12/lib-dynload/_codecs_kr.cpython-312-darwin.so +0 -0
  161. package/bin/_internal/python3.12/lib-dynload/_codecs_tw.cpython-312-darwin.so +0 -0
  162. package/bin/_internal/python3.12/lib-dynload/_contextvars.cpython-312-darwin.so +0 -0
  163. package/bin/_internal/python3.12/lib-dynload/_csv.cpython-312-darwin.so +0 -0
  164. package/bin/_internal/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so +0 -0
  165. package/bin/_internal/python3.12/lib-dynload/_datetime.cpython-312-darwin.so +0 -0
  166. package/bin/_internal/python3.12/lib-dynload/_decimal.cpython-312-darwin.so +0 -0
  167. package/bin/_internal/python3.12/lib-dynload/_hashlib.cpython-312-darwin.so +0 -0
  168. package/bin/_internal/python3.12/lib-dynload/_heapq.cpython-312-darwin.so +0 -0
  169. package/bin/_internal/python3.12/lib-dynload/_json.cpython-312-darwin.so +0 -0
  170. package/bin/_internal/python3.12/lib-dynload/_lzma.cpython-312-darwin.so +0 -0
  171. package/bin/_internal/python3.12/lib-dynload/_md5.cpython-312-darwin.so +0 -0
  172. package/bin/_internal/python3.12/lib-dynload/_multibytecodec.cpython-312-darwin.so +0 -0
  173. package/bin/_internal/python3.12/lib-dynload/_multiprocessing.cpython-312-darwin.so +0 -0
  174. package/bin/_internal/python3.12/lib-dynload/_opcode.cpython-312-darwin.so +0 -0
  175. package/bin/_internal/python3.12/lib-dynload/_pickle.cpython-312-darwin.so +0 -0
  176. package/bin/_internal/python3.12/lib-dynload/_posixshmem.cpython-312-darwin.so +0 -0
  177. package/bin/_internal/python3.12/lib-dynload/_posixsubprocess.cpython-312-darwin.so +0 -0
  178. package/bin/_internal/python3.12/lib-dynload/_queue.cpython-312-darwin.so +0 -0
  179. package/bin/_internal/python3.12/lib-dynload/_random.cpython-312-darwin.so +0 -0
  180. package/bin/_internal/python3.12/lib-dynload/_scproxy.cpython-312-darwin.so +0 -0
  181. package/bin/_internal/python3.12/lib-dynload/_sha1.cpython-312-darwin.so +0 -0
  182. package/bin/_internal/python3.12/lib-dynload/_sha2.cpython-312-darwin.so +0 -0
  183. package/bin/_internal/python3.12/lib-dynload/_sha3.cpython-312-darwin.so +0 -0
  184. package/bin/_internal/python3.12/lib-dynload/_socket.cpython-312-darwin.so +0 -0
  185. package/bin/_internal/python3.12/lib-dynload/_sqlite3.cpython-312-darwin.so +0 -0
  186. package/bin/_internal/python3.12/lib-dynload/_ssl.cpython-312-darwin.so +0 -0
  187. package/bin/_internal/python3.12/lib-dynload/_statistics.cpython-312-darwin.so +0 -0
  188. package/bin/_internal/python3.12/lib-dynload/_struct.cpython-312-darwin.so +0 -0
  189. package/bin/_internal/python3.12/lib-dynload/_uuid.cpython-312-darwin.so +0 -0
  190. package/bin/_internal/python3.12/lib-dynload/_zoneinfo.cpython-312-darwin.so +0 -0
  191. package/bin/_internal/python3.12/lib-dynload/array.cpython-312-darwin.so +0 -0
  192. package/bin/_internal/python3.12/lib-dynload/binascii.cpython-312-darwin.so +0 -0
  193. package/bin/_internal/python3.12/lib-dynload/fcntl.cpython-312-darwin.so +0 -0
  194. package/bin/_internal/python3.12/lib-dynload/grp.cpython-312-darwin.so +0 -0
  195. package/bin/_internal/python3.12/lib-dynload/math.cpython-312-darwin.so +0 -0
  196. package/bin/_internal/python3.12/lib-dynload/mmap.cpython-312-darwin.so +0 -0
  197. package/bin/_internal/python3.12/lib-dynload/pyexpat.cpython-312-darwin.so +0 -0
  198. package/bin/_internal/python3.12/lib-dynload/readline.cpython-312-darwin.so +0 -0
  199. package/bin/_internal/python3.12/lib-dynload/resource.cpython-312-darwin.so +0 -0
  200. package/bin/_internal/python3.12/lib-dynload/select.cpython-312-darwin.so +0 -0
  201. package/bin/_internal/python3.12/lib-dynload/syslog.cpython-312-darwin.so +0 -0
  202. package/bin/_internal/python3.12/lib-dynload/termios.cpython-312-darwin.so +0 -0
  203. package/bin/_internal/python3.12/lib-dynload/unicodedata.cpython-312-darwin.so +0 -0
  204. package/bin/_internal/python3.12/lib-dynload/zlib.cpython-312-darwin.so +0 -0
  205. package/bin/_internal/rpds/rpds.cpython-312-darwin.so +0 -0
  206. package/bin/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +2 -0
  207. package/bin/_internal/vicoa-1.10.4.dist-info/INSTALLER +1 -0
  208. package/bin/_internal/vicoa-1.10.4.dist-info/METADATA +112 -0
  209. package/bin/_internal/vicoa-1.10.4.dist-info/RECORD +10 -0
  210. package/bin/_internal/vicoa-1.10.4.dist-info/REQUESTED +0 -0
  211. package/bin/_internal/vicoa-1.10.4.dist-info/WHEEL +5 -0
  212. package/bin/_internal/vicoa-1.10.4.dist-info/direct_url.json +1 -0
  213. package/bin/_internal/vicoa-1.10.4.dist-info/entry_points.txt +2 -0
  214. package/bin/_internal/vicoa-1.10.4.dist-info/top_level.txt +4 -0
  215. package/bin/_internal/watchfiles/_rust_notify.abi3.so +0 -0
  216. package/bin/_internal/websockets/speedups.cpython-312-darwin.so +0 -0
  217. package/bin/_internal/websockets-17.4.dist-info/INSTALLER +1 -0
  218. package/bin/_internal/websockets-17.4.dist-info/METADATA +170 -0
  219. package/bin/_internal/websockets-17.4.dist-info/RECORD +116 -0
  220. package/bin/_internal/websockets-17.4.dist-info/WHEEL +6 -0
  221. package/bin/_internal/websockets-17.4.dist-info/entry_points.txt +2 -0
  222. package/bin/_internal/websockets-17.4.dist-info/licenses/LICENSE +24 -0
  223. package/bin/_internal/websockets-17.4.dist-info/top_level.txt +1 -0
  224. package/bin/_internal/yaml/_yaml.cpython-312-darwin.so +0 -0
  225. package/bin/_internal/yarl/_quoting_c.cpython-312-darwin.so +0 -0
  226. package/bin/vicoa +0 -0
  227. package/package.json +12 -32
  228. package/README.md +0 -82
  229. package/bin/vicoa.js +0 -38
@@ -0,0 +1,43 @@
1
+ {
2
+ "bomFormat": "CycloneDX",
3
+ "specVersion": "1.5",
4
+ "version": 1,
5
+ "serialNumber": "urn:uuid:63c7d1b3-1b68-4dca-8422-2204577f13c4",
6
+ "metadata": {
7
+ "timestamp": "2026-06-09T21:54:47Z"
8
+ },
9
+ "components": [
10
+ {
11
+ "type": "library",
12
+ "name": "openssl",
13
+ "version": "4.0.1",
14
+ "purl": "pkg:generic/openssl@4.0.1?download_url=https://github.com/openssl/openssl/releases/download/openssl-4.0.1/openssl-4.0.1.tar.gz",
15
+ "hashes": [
16
+ {
17
+ "alg": "SHA-256",
18
+ "content": "2db3f3a0d6ea4b59e1f094ace2c8cd536dffb87cdc39084c5afa1e6f7f37dd09"
19
+ }
20
+ ],
21
+ "externalReferences": [
22
+ {
23
+ "type": "distribution",
24
+ "url": "https://github.com/openssl/openssl/releases/download/openssl-4.0.1/openssl-4.0.1.tar.gz"
25
+ }
26
+ ],
27
+ "properties": [
28
+ {
29
+ "name": "build:operating-system",
30
+ "value": "macos"
31
+ },
32
+ {
33
+ "name": "build:architecture",
34
+ "value": "universal2"
35
+ },
36
+ {
37
+ "name": "build:flags",
38
+ "value": "no-zlib no-shared no-module no-comp no-apps no-docs no-sm2-precomp no-atexit enable-ec_nistp_64_gcc_128"
39
+ }
40
+ ]
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,469 @@
1
+ Metadata-Version: 2.4
2
+ Name: email-validator
3
+ Version: 2.4.0
4
+ Summary: A robust email address syntax and deliverability validation library.
5
+ Home-page: https://github.com/JoshData/python-email-validator
6
+ Author: Joshua Tauberer
7
+ Author-email: jt@occams.info
8
+ License: Unlicense
9
+ Keywords: email address validator
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: dnspython>=2.0.0
25
+ Requires-Dist: idna>=2.0.0
26
+ Dynamic: license-file
27
+
28
+ email-validator: Validate Email Addresses
29
+ =========================================
30
+
31
+ A robust email address syntax and deliverability validation library for
32
+ Python 3.10+ by [Joshua Tauberer](https://joshdata.me).
33
+
34
+ This library validates that a string is of the form `name@example.com`
35
+ and optionally checks that the domain name is set up to receive email.
36
+ This is the sort of validation you would want when you are identifying
37
+ users by their email address like on a registration form.
38
+
39
+ Key features:
40
+
41
+ * Checks that an email address has the correct syntax --- great for
42
+ email-based registration/login forms or validating data.
43
+ * Gives friendly English error messages when validation fails that you
44
+ can display to end-users.
45
+ * Checks deliverability (optional): Does the domain name resolve?
46
+ (You can override the default DNS resolver to add query caching.)
47
+ * Supports internationalized domain names (like `@ツ.life`),
48
+ internationalized local parts (like `ツ@example.com`),
49
+ and optionally parses display names (e.g. `"My Name" <me@example.com>`).
50
+ * Rejects addresses with invalid or unsafe Unicode characters,
51
+ obsolete email address syntax that you'd find unexpected,
52
+ special use domain names like `@localhost`,
53
+ and domains without a dot by default.
54
+ This is an opinionated library!
55
+ * Normalizes email addresses (important for internationalized
56
+ and quoted-string addresses! see below).
57
+ * Python type annotations are used.
58
+
59
+ This is an opinionated library. You should definitely also consider using
60
+ the less-opinionated [pyIsEmail](https://github.com/michaelherold/pyIsEmail)
61
+ if it works better for you.
62
+
63
+ [![Build Status](https://github.com/JoshData/python-email-validator/actions/workflows/test_and_build.yaml/badge.svg)](https://github.com/JoshData/python-email-validator/actions/workflows/test_and_build.yaml)
64
+
65
+ View the [CHANGELOG / Release Notes](CHANGELOG.md) for the version history of changes in the library. Occasionally this README is ahead of the latest published package --- see the CHANGELOG for details.
66
+
67
+ ---
68
+
69
+ Installation
70
+ ------------
71
+
72
+ This package [is on PyPI](https://pypi.org/project/email-validator/), so:
73
+
74
+ ```sh
75
+ pip install email-validator
76
+ ```
77
+
78
+ (You might need to use `pip3` depending on your local environment.)
79
+
80
+ Quick Start
81
+ -----------
82
+
83
+ If you're validating a user's email address before creating a user
84
+ account in your application, you might do this:
85
+
86
+ ```python
87
+ from email_validator import validate_email, EmailNotValidError
88
+
89
+ email = "my+address@example.org"
90
+
91
+ try:
92
+
93
+ # Check that the email address is valid. Turn on check_deliverability
94
+ # for first-time validations like on account creation pages (but not
95
+ # login pages).
96
+ emailinfo = validate_email(email, check_deliverability=False)
97
+
98
+ # After this point, use only the normalized form of the email address,
99
+ # especially before going to a database query.
100
+ email = emailinfo.normalized
101
+
102
+ except EmailNotValidError as e:
103
+
104
+ # The exception message is human-readable explanation of why it's
105
+ # not a valid (or deliverable) email address.
106
+ print(str(e))
107
+ ```
108
+
109
+ This validates the address and gives you its normalized form. You should
110
+ **put the normalized form in your database** and always normalize before
111
+ checking if an address is in your database. When using this in a login form,
112
+ set `check_deliverability` to `False` to avoid unnecessary DNS queries.
113
+
114
+ Usage
115
+ -----
116
+
117
+ ### Overview
118
+
119
+ The module provides a function `validate_email(email_address)` which
120
+ takes an email address and:
121
+
122
+ - Raises a `EmailNotValidError` with a helpful, human-readable error
123
+ message explaining why the email address is not valid, or
124
+ - Returns an object with a normalized form of the email address (which
125
+ you should use!) and other information about it.
126
+
127
+ When an email address is not valid, `validate_email` raises either an
128
+ `EmailSyntaxError` if the form of the address is invalid or an
129
+ `EmailUndeliverableError` if the domain name fails DNS checks. Both
130
+ exception classes are subclasses of `EmailNotValidError`, which in turn
131
+ is a subclass of `ValueError`.
132
+
133
+ But when an email address is valid, an object is returned containing
134
+ a normalized form of the email address (which you should use!) and
135
+ other information.
136
+
137
+ The validator doesn't, by default, permit obsoleted forms of email addresses
138
+ that no one uses anymore even though they are still valid and deliverable, since
139
+ they will probably give you grief if you're using email for login. (See
140
+ later in the document about how to allow some obsolete forms.)
141
+
142
+ The validator optionally checks that the domain name in the email address has
143
+ a DNS MX record indicating that it can receive email. (Except a Null MX record.
144
+ If there is no MX record, a fallback A/AAAA-record is permitted, unless
145
+ a reject-all SPF record is present.) DNS is slow and sometimes unavailable or
146
+ unreliable, so consider whether these checks are useful for your use case and
147
+ turn them off if they aren't.
148
+ There is nothing to be gained by trying to actually contact an SMTP server, so
149
+ that's not done here. For privacy, security, and practicality reasons, servers
150
+ are good at not giving away whether an address is
151
+ deliverable or not: email addresses that appear to accept mail at first
152
+ can bounce mail after a delay, and bounced mail may indicate a temporary
153
+ failure of a good email address (sometimes an intentional failure, like
154
+ greylisting).
155
+
156
+ ### Options
157
+
158
+ The `validate_email` function also accepts the following keyword arguments
159
+ (defaults are as shown below):
160
+
161
+ `check_deliverability=True`: If true, DNS queries are made to check that the domain name in the email address (the part after the @-sign) can receive mail, as described above. Set to `False` to skip this DNS-based check. It is recommended to pass `False` when performing validation for login pages (but not account creation pages) since re-validation of a previously validated domain in your database by querying DNS at every login is probably undesirable. You can also set `email_validator.CHECK_DELIVERABILITY` to `False` to turn this off for all calls by default.
162
+
163
+ `dns_resolver=None`: Pass an instance of [dns.resolver.Resolver](https://dnspython.readthedocs.io/en/latest/resolver-class.html) to control the DNS resolver including setting a timeout and [a cache](https://dnspython.readthedocs.io/en/latest/resolver-caching.html). The `caching_resolver` function shown below is a helper function to construct a dns.resolver.Resolver with a [LRUCache](https://dnspython.readthedocs.io/en/latest/resolver-caching.html#dns.resolver.LRUCache). Reuse the same resolver instance across calls to `validate_email` to make use of the cache.
164
+
165
+ `test_environment=False`: If `True`, DNS-based deliverability checks are disabled and `test` and `**.test` domain names are permitted (see below). You can also set `email_validator.TEST_ENVIRONMENT` to `True` to turn it on for all calls by default.
166
+
167
+ `allow_smtputf8=True`: Set to `False` to prohibit internationalized addresses that would
168
+ require the
169
+ [SMTPUTF8](https://tools.ietf.org/html/rfc6531) extension. You can also set `email_validator.ALLOW_SMTPUTF8` to `False` to turn it off for all calls by default.
170
+
171
+ `allow_quoted_local=False`: Set to `True` to allow obscure and potentially problematic email addresses in which the part of the address before the @-sign contains spaces, @-signs, or other surprising characters when the local part is surrounded in quotes (so-called quoted-string local parts). In the object returned by `validate_email`, the normalized local part removes any unnecessary backslash-escaping and even removes the surrounding quotes if the address would be valid without them. You can also set `email_validator.ALLOW_QUOTED_LOCAL` to `True` to turn this on for all calls by default.
172
+
173
+ `allow_domain_literal=False`: Set to `True` to allow bracketed IPv4 and "IPv6:"-prefixed IPv6 addresses in the domain part of the email address. No deliverability checks are performed for these addresses. In the object returned by `validate_email`, the normalized domain will use the condensed IPv6 format, if applicable. The object's `domain_address` attribute will hold the parsed `ipaddress.IPv4Address` or `ipaddress.IPv6Address` object if applicable. You can also set `email_validator.ALLOW_DOMAIN_LITERAL` to `True` to turn this on for all calls by default.
174
+
175
+ `allow_display_name=False`: Set to `True` to allow a display name and bracketed address in the input string, like `My Name <me@example.org>`. It's implemented in the spirit but not the letter of RFC 5322 3.4, so it may be stricter or more relaxed than what you want. The display name, if present, is provided in the returned object's `display_name` field after being unquoted and unescaped. You can also set `email_validator.ALLOW_DISPLAY_NAME` to `True` to turn this on for all calls by default.
176
+
177
+ `allow_empty_local=False`: Set to `True` to allow an empty local part (i.e.
178
+ `@example.com`), e.g. for validating Postfix aliases.
179
+
180
+ `strict=False`: Set to `True` to perform additional syntax checks (currently only a local part length check). This should be used by mail service providers at address creation to ensure email addresses meet broad compatibility requirements.
181
+
182
+ ### DNS timeout and cache
183
+
184
+ When validating many email addresses or to control the timeout (the default is 15 seconds), create a caching [dns.resolver.Resolver](https://dnspython.readthedocs.io/en/latest/resolver-class.html) to reuse in each call. The `caching_resolver` function returns one easily for you:
185
+
186
+ ```python
187
+ from email_validator import validate_email, caching_resolver
188
+
189
+ resolver = caching_resolver(timeout=10)
190
+
191
+ while True:
192
+ validate_email(email, dns_resolver=resolver)
193
+ ```
194
+
195
+ ### Test addresses
196
+
197
+ This library rejects email addresses that use the [Special Use Domain Names](https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml) `invalid`, `localhost`, `test`, and some others by raising `EmailSyntaxError`. This is to protect your system from abuse: You probably don't want a user to be able to cause an email to be sent to `localhost` (although they might be able to still do so via a malicious MX record). However, in your non-production test environments you may want to use `@test` or `@myname.test` email addresses. There are three ways you can allow this:
198
+
199
+ 1. Add `test_environment=True` to the call to `validate_email` (see above).
200
+ 2. Set `email_validator.TEST_ENVIRONMENT` to `True` globally.
201
+ 3. Remove the special-use domain name that you want to use from `email_validator.SPECIAL_USE_DOMAIN_NAMES`, e.g.:
202
+
203
+ ```python
204
+ import email_validator
205
+ email_validator.SPECIAL_USE_DOMAIN_NAMES.remove("test")
206
+ ```
207
+
208
+ It is tempting to use `@example.com/net/org` in tests. They are *not* in this library's `SPECIAL_USE_DOMAIN_NAMES` list so you can, but shouldn't, use them. These domains are reserved to IANA for use in documentation so there is no risk of accidentally emailing someone at those domains. But beware that this library will nevertheless reject these domain names if DNS-based deliverability checks are not disabled because these domains do not resolve to domains that accept email. In tests, consider using your own domain name or `@test` or `@myname.test` instead.
209
+
210
+ Internationalized email addresses
211
+ ---------------------------------
212
+
213
+ The email protocol SMTP and the domain name system DNS have historically
214
+ only allowed English (ASCII) characters in email addresses and domain names,
215
+ respectively. Each has adapted to internationalization in a separate
216
+ way, creating two separate aspects to email address internationalization.
217
+
218
+ (If your mail submission library doesn't support Unicode at all, then
219
+ immediately prior to mail submission you must replace the email address with
220
+ its ASCII-ized form. This library gives you back the ASCII-ized form in the
221
+ `ascii_email` field in the returned object.)
222
+
223
+ ### Internationalized domain names (IDN)
224
+
225
+ The first is [internationalized domain names (RFC
226
+ 5891)](https://tools.ietf.org/html/rfc5891), a.k.a IDNA 2008. The DNS
227
+ system has not been updated with Unicode support. Instead, internationalized
228
+ domain names are converted into a special IDNA ASCII "[Punycode](https://www.rfc-editor.org/rfc/rfc3492.txt)"
229
+ form starting with `xn--`. When an email address has non-ASCII
230
+ characters in its domain part, the domain part is replaced with its IDNA
231
+ ASCII equivalent form in the process of mail transmission. Your mail
232
+ submission library probably does this for you transparently. ([Compliance
233
+ around the web is not very good though](http://archives.miloush.net/michkap/archive/2012/02/27/10273315.html).) This library conforms to IDNA 2008
234
+ using the [idna](https://github.com/kjd/idna) module by Kim Davies.
235
+
236
+ ### Internationalized local parts
237
+
238
+ The second sort of internationalization is internationalization in the
239
+ *local* part of the address (before the @-sign). In non-internationalized
240
+ email addresses, only English letters, numbers, and some punctuation
241
+ (`._!#$%&'^``*+-=~/?{|}`) are allowed. In internationalized email address
242
+ local parts, a wider range of Unicode characters are allowed.
243
+
244
+ Email addresses with these non-ASCII characters require that your mail
245
+ submission library and all the mail servers along the route to the destination,
246
+ including your own outbound mail server, all support the
247
+ [SMTPUTF8 (RFC 6531)](https://tools.ietf.org/html/rfc6531) extension.
248
+ Support for SMTPUTF8 varies. If you know ahead of time that SMTPUTF8 is not
249
+ supported by your mail submission stack, then you must filter out addresses that
250
+ require SMTPUTF8 using the `allow_smtputf8=False` keyword argument (see above).
251
+ This will cause the validation function to raise a `EmailSyntaxError` if
252
+ delivery would require SMTPUTF8. If you do not set `allow_smtputf8=False`,
253
+ you can also check the value of the `smtputf8` field in the returned object.
254
+
255
+ ### Unsafe Unicode characters are rejected
256
+
257
+ A surprisingly large number of Unicode characters are not safe to display,
258
+ especially when the email address is concatenated with other text, so this
259
+ library tries to protect you by not permitting reserved, non-, private use,
260
+ formatting (which can be used to alter the display order of characters),
261
+ whitespace, and control characters, and combining characters
262
+ as the first character of the local part and the domain name (so that they
263
+ cannot combine with something outside of the email address string or with
264
+ the @-sign). See https://qntm.org/safe and https://trojansource.codes/
265
+ for relevant prior work. (Other than whitespace, these are checks that
266
+ you should be applying to nearly all user inputs in a security-sensitive
267
+ context.) This does not guard against the well known problem that many
268
+ Unicode characters look alike, which can be used to fool humans reading
269
+ displayed text.
270
+
271
+
272
+ Normalization
273
+ -------------
274
+
275
+ ### Unicode Normalization
276
+
277
+ The use of Unicode in email addresses introduced a normalization
278
+ problem. Different Unicode strings can look identical and have the same
279
+ semantic meaning to the user. The `normalized` field returned on successful
280
+ validation provides the correctly normalized form of the given email
281
+ address.
282
+
283
+ For example, the CJK fullwidth Latin letters are considered semantically
284
+ equivalent in domain names to their ASCII counterparts. This library
285
+ normalizes them to their ASCII counterparts (as required by IDNA):
286
+
287
+ ```python
288
+ emailinfo = validate_email("me@Domain.com")
289
+ print(emailinfo.normalized)
290
+ print(emailinfo.ascii_email)
291
+ # prints "me@domain.com" twice
292
+ ```
293
+
294
+ Because an end-user might type their email address in different (but
295
+ equivalent) un-normalized forms at different times, you ought to
296
+ replace what they enter with the normalized form immediately prior to
297
+ going into your database (during account creation), querying your database
298
+ (during login), or sending outbound mail.
299
+
300
+ The normalizations include lowercasing the domain part of the email
301
+ address (domain names are case-insensitive), [Unicode "NFC"
302
+ normalization](https://en.wikipedia.org/wiki/Unicode_equivalence) of the
303
+ whole address (which turns characters plus [combining
304
+ characters](https://en.wikipedia.org/wiki/Combining_character) into
305
+ precomposed characters where possible, replacement of [fullwidth and
306
+ halfwidth
307
+ characters](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
308
+ in the domain part, possibly other
309
+ [UTS46](http://unicode.org/reports/tr46) mappings on the domain part,
310
+ and conversion from Punycode to Unicode characters.
311
+
312
+ Normalization may change the characters in the email address and the
313
+ length of the email address, such that a string might be a valid address
314
+ before normalization but invalid after, or vice versa. This library only
315
+ permits addresses that are valid both before and after normalization.
316
+
317
+ (See [RFC 6532 (internationalized email) section
318
+ 3.1](https://tools.ietf.org/html/rfc6532#section-3.1) and [RFC 5895
319
+ (IDNA 2008) section 2](http://www.ietf.org/rfc/rfc5895.txt).)
320
+
321
+ ### Other Normalization
322
+
323
+ Normalization is also applied to quoted-string local parts and domain
324
+ literal IPv6 addresses if you have allowed them by the `allow_quoted_local`
325
+ and `allow_domain_literal` options. In quoted-string local parts, unnecessary
326
+ backslash escaping is removed and even the surrounding quotes are removed if
327
+ they are unnecessary. For IPv6 domain literals, the IPv6 address is
328
+ normalized to condensed form. [RFC 2142](https://datatracker.ietf.org/doc/html/rfc2142)
329
+ also requires lowercase normalization for some specific mailbox names like `postmaster@`.
330
+
331
+
332
+ Examples
333
+ --------
334
+
335
+ For the email address `test@joshdata.me`, the returned object is:
336
+
337
+ ```python
338
+ ValidatedEmail(
339
+ normalized='test@joshdata.me',
340
+ local_part='test',
341
+ domain='joshdata.me',
342
+ ascii_email='test@joshdata.me',
343
+ ascii_local_part='test',
344
+ ascii_domain='joshdata.me',
345
+ smtputf8=False)
346
+ ```
347
+
348
+ For the fictitious but valid address `example@ツ.ⓁⒾⒻⒺ`, which has an
349
+ internationalized domain but ASCII local part, the returned object is:
350
+
351
+ ```python
352
+ ValidatedEmail(
353
+ normalized='example@ツ.life',
354
+ local_part='example',
355
+ domain='ツ.life',
356
+ ascii_email='example@xn--bdk.life',
357
+ ascii_local_part='example',
358
+ ascii_domain='xn--bdk.life',
359
+ smtputf8=False)
360
+
361
+ ```
362
+
363
+ Note that `normalized` and other fields provide a normalized form of the
364
+ email address, domain name, and (in other cases) local part (see earlier
365
+ discussion of normalization), which you should use in your database.
366
+
367
+ Calling `validate_email` with the ASCII form of the above email address,
368
+ `example@xn--bdk.life`, returns the exact same information (i.e., the
369
+ `normalized` field always will contain Unicode characters, not Punycode).
370
+
371
+ For the fictitious address `ツ-test@joshdata.me`, which has an
372
+ internationalized local part, the returned object is:
373
+
374
+ ```python
375
+ ValidatedEmail(
376
+ normalized='ツ-test@joshdata.me',
377
+ local_part='ツ-test',
378
+ domain='joshdata.me',
379
+ ascii_email=None,
380
+ ascii_local_part=None,
381
+ ascii_domain='joshdata.me',
382
+ smtputf8=True)
383
+ ```
384
+
385
+ Now `smtputf8` is `True` and `ascii_email` is `None` because the local
386
+ part of the address is internationalized. The `local_part` and `normalized` fields
387
+ return the normalized form of the address. (Because of Unicode normalization,
388
+ it is possible in edge cases for `smtputf8` to be `True` based on the original
389
+ email address when `ascii_email` is also present in the ValidatedEmail.)
390
+
391
+ Return value
392
+ ------------
393
+
394
+ When an email address passes validation, the fields in the returned object
395
+ are:
396
+
397
+ | Field | Value |
398
+ | -----:|-------|
399
+ | `normalized` | The normalized form of the email address that you should put in your database. This combines the `local_part` and `domain` fields (see below). |
400
+ | `ascii_email` | If set, an ASCII-only form of the normalized email address by replacing the domain part with [IDNA](https://tools.ietf.org/html/rfc5891) [Punycode](https://www.rfc-editor.org/rfc/rfc3492.txt). This field will be present when an ASCII-only form of the email address exists (including if the email address is already ASCII). If the local part of the email address contains internationalized characters, `ascii_email` will be `None`. If set, it merely combines `ascii_local_part` and `ascii_domain`. |
401
+ | `local_part` | The normalized local part of the given email address (before the @-sign). Normalization includes Unicode NFC normalization and removing unnecessary quoted-string quotes and backslashes. If `allow_quoted_local` is True and the surrounding quotes are necessary, the quotes _will_ be present in this field. |
402
+ | `ascii_local_part` | If set, the local part, which is composed of ASCII characters only. |
403
+ | `domain` | The canonical internationalized Unicode form of the domain part of the email address. If the returned string contains non-ASCII characters, either the [SMTPUTF8](https://tools.ietf.org/html/rfc6531) feature of your mail relay will be required to transmit the message or else the email address's domain part must be converted to IDNA ASCII first: Use `ascii_domain` field instead. |
404
+ | `ascii_domain` | The [IDNA](https://tools.ietf.org/html/rfc5891) [Punycode](https://www.rfc-editor.org/rfc/rfc3492.txt)-encoded form of the domain part of the given email address, as it would be transmitted on the wire. |
405
+ | `domain_address` | If domain literals are allowed and if the email address contains one, an `ipaddress.IPv4Address` or `ipaddress.IPv6Address` object. |
406
+ | `display_name` | If no display name was present and angle brackets do not surround the address, this will be `None`; otherwise, it will be set to the display name, or the empty string if there were angle brackets but no display name. If the display name was quoted, it will be unquoted and unescaped. |
407
+ | `smtputf8` | A boolean indicating that the [SMTPUTF8](https://tools.ietf.org/html/rfc6531) feature of your mail relay will be required to transmit messages to this address because the local part of the address has non-ASCII characters (the local part cannot be IDNA-encoded). If `allow_smtputf8=False` is passed as an argument, this flag will always be false because an exception is raised if it would have been true. |
408
+ | `mx` | A list of (priority, domain) tuples of MX records specified in the DNS for the domain (see [RFC 5321 section 5](https://tools.ietf.org/html/rfc5321#section-5)). May be `None` if the deliverability check could not be completed because of a temporary issue like a timeout. |
409
+ | `mx_fallback_type` | `None` if an `MX` record is found. If no MX records are actually specified in DNS and instead are inferred, through an obsolete mechanism, from A or AAAA records, the value is the type of DNS record used instead (`A` or `AAAA`). May be `None` if the deliverability check could not be completed because of a temporary issue like a timeout. |
410
+ | `spf` | Any SPF record found while checking deliverability. Only set if the SPF record is queried. |
411
+
412
+ Assumptions
413
+ -----------
414
+
415
+ By design, this validator does not pass all email addresses that
416
+ strictly conform to the standards. Many email address forms are obsolete
417
+ or likely to cause trouble:
418
+
419
+ * The validator assumes the email address is intended to be
420
+ usable on the public Internet. The domain part
421
+ of the email address must be a resolvable domain name
422
+ (see the deliverability checks described above).
423
+ Most [Special Use Domain Names](https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml)
424
+ and their subdomains, as well as
425
+ domain names without a `.`, are rejected as a syntax error
426
+ (except see the `test_environment` parameter above).
427
+ * Obsolete email syntaxes are rejected:
428
+ The unusual ["(comment)" syntax](https://github.com/JoshData/python-email-validator/issues/77)
429
+ is rejected. Extremely old obsolete syntaxes are
430
+ rejected. Quoted-string local parts and domain-literal addresses
431
+ are rejected by default, but there are options to allow them (see above).
432
+ No one uses these forms anymore, and I can't think of any reason why anyone
433
+ using this library would need to accept them.
434
+
435
+ Testing
436
+ -------
437
+
438
+ Tests can be run using
439
+
440
+ ```sh
441
+ pip install -r test_requirements.txt
442
+ make test
443
+ ```
444
+
445
+ Tests run with mocked DNS responses. When adding or changing tests, temporarily turn on the `BUILD_MOCKED_DNS_RESPONSE_DATA` flag in `tests/mocked_dns_responses.py` to re-build the database of mocked responses from live queries.
446
+
447
+ For Project Maintainers
448
+ -----------------------
449
+
450
+ The package is distributed as a universal wheel and as a source package.
451
+
452
+ To release:
453
+
454
+ * Update CHANGELOG.md.
455
+ * Update the version number in `email_validator/version.py`.
456
+ * Make & push a commit with the new version number and make sure tests pass.
457
+ * Make a release at https://github.com/JoshData/python-email-validator/releases/new creating a new tag (or use command below).
458
+ * Publish a source and wheel distribution to pypi (see command below).
459
+
460
+ ```sh
461
+ git tag v$(cat email_validator/version.py | sed "s/.* = //" | sed 's/"//g')
462
+ git push --tags
463
+ ./release_to_pypi.sh
464
+ ```
465
+
466
+ License
467
+ -------
468
+
469
+ This project is free of any copyright restrictions per the [Unlicense](https://unlicense.org/). (Prior to Feb. 4, 2024, the project was made available under the terms of the [CC0 1.0 Universal public domain dedication](http://creativecommons.org/publicdomain/zero/1.0/).) See [LICENSE](LICENSE) and [CONTRIBUTING.md](CONTRIBUTING.md).
@@ -0,0 +1,27 @@
1
+ ../../../bin/email_validator,sha256=DxIl6RFo_dPlje68P-u8Rw4ZhAdWDYVlxS5t3Zs8NLo,207
2
+ email_validator-2.4.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ email_validator-2.4.0.dist-info/METADATA,sha256=FojCCmOiunO9dobyjS2MyOLDD3czzErwfEvCx2lwVdQ,26248
4
+ email_validator-2.4.0.dist-info/RECORD,,
5
+ email_validator-2.4.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
6
+ email_validator-2.4.0.dist-info/entry_points.txt,sha256=zRM_6bNIUSHTbNx5u6M3nK1MAguvryrc9hICC6HyrBg,66
7
+ email_validator-2.4.0.dist-info/licenses/LICENSE,sha256=ZyF5dS4QkTSj-yvdB4Cyn9t6A5dPD1hqE66tUSlWLUw,1212
8
+ email_validator-2.4.0.dist-info/top_level.txt,sha256=fYDOSWFZke46ut7WqdOAJjjhlpPYAaOwOwIsh3s8oWI,16
9
+ email_validator/__init__.py,sha256=g3oVBGdXGJATgBnVqt5Q7pUhXM9QrmOl5qWSu_RtWmQ,4381
10
+ email_validator/__main__.py,sha256=VNIhYTL69wVumUTAgEd9Dq4FjBgGwMZOnI6uXlI4duI,2657
11
+ email_validator/__pycache__/__init__.cpython-312.pyc,,
12
+ email_validator/__pycache__/__main__.cpython-312.pyc,,
13
+ email_validator/__pycache__/deliverability.cpython-312.pyc,,
14
+ email_validator/__pycache__/exceptions.cpython-312.pyc,,
15
+ email_validator/__pycache__/rfc_constants.cpython-312.pyc,,
16
+ email_validator/__pycache__/syntax.cpython-312.pyc,,
17
+ email_validator/__pycache__/types.cpython-312.pyc,,
18
+ email_validator/__pycache__/validate_email.cpython-312.pyc,,
19
+ email_validator/__pycache__/version.cpython-312.pyc,,
20
+ email_validator/deliverability.py,sha256=Tpk64UAcDNDsJHxi84-HVPp1-HPYRPAC5oNQ90z2XfU,7204
21
+ email_validator/exceptions.py,sha256=Ry2j5FMpEe9JthmTF3zF5pGgWer-QmWc1m0szXAZ7fo,434
22
+ email_validator/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ email_validator/rfc_constants.py,sha256=LhUiBZLBw_Nn-KHkH--nVwOWFlgz2aCuauj98ZSl-gk,3443
24
+ email_validator/syntax.py,sha256=Zmlr3a7O8_VZjwFXnXATuRCirao_m4qWD19wMtBAXZw,41911
25
+ email_validator/types.py,sha256=H3GhPwsWhO0rc_hOTYgnHue1Mb2k720AFzpzyAhMbPA,5659
26
+ email_validator/validate_email.py,sha256=9pfDDniwTE7tgHvR_v2dtg_D1AioonevD6vdw7jb9ww,10284
27
+ email_validator/version.py,sha256=yLaFvd-K80rs_ClRVYULStijkok4RfYSaanIt_E-aKM,22
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ email_validator = email_validator.__main__:main
@@ -0,0 +1,27 @@
1
+ This is free and unencumbered software released into the public
2
+ domain.
3
+
4
+ Anyone is free to copy, modify, publish, use, compile, sell, or
5
+ distribute this software, either in source code form or as a
6
+ compiled binary, for any purpose, commercial or non-commercial,
7
+ and by any means.
8
+
9
+ In jurisdictions that recognize copyright laws, the author or
10
+ authors of this software dedicate any and all copyright
11
+ interest in the software to the public domain. We make this
12
+ dedication for the benefit of the public at large and to the
13
+ detriment of our heirs and successors. We intend this
14
+ dedication to be an overt act of relinquishment in perpetuity
15
+ of all present and future rights to this software under
16
+ copyright law.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
22
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
+ THE SOFTWARE.
26
+
27
+ For more information, please refer to <https://unlicense.org/>