omlish 0.0.0.dev284__py3-none-any.whl → 0.0.0.dev286__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 (107) hide show
  1. omlish/__about__.py +6 -2
  2. omlish/dataclasses/__init__.py +58 -60
  3. omlish/dataclasses/api/__init__.py +25 -0
  4. omlish/dataclasses/api/classes/__init__.py +0 -0
  5. omlish/dataclasses/api/classes/conversion.py +30 -0
  6. omlish/dataclasses/api/classes/decorator.py +145 -0
  7. omlish/dataclasses/api/classes/make.py +109 -0
  8. omlish/dataclasses/api/classes/metadata.py +133 -0
  9. omlish/dataclasses/api/classes/params.py +78 -0
  10. omlish/dataclasses/api/fields/__init__.py +0 -0
  11. omlish/dataclasses/api/fields/building.py +120 -0
  12. omlish/dataclasses/api/fields/constructor.py +56 -0
  13. omlish/dataclasses/api/fields/conversion.py +191 -0
  14. omlish/dataclasses/api/fields/metadata.py +94 -0
  15. omlish/dataclasses/concerns/__init__.py +17 -0
  16. omlish/dataclasses/concerns/abc.py +15 -0
  17. omlish/dataclasses/concerns/copy.py +63 -0
  18. omlish/dataclasses/concerns/doc.py +53 -0
  19. omlish/dataclasses/concerns/eq.py +60 -0
  20. omlish/dataclasses/concerns/fields.py +119 -0
  21. omlish/dataclasses/concerns/frozen.py +133 -0
  22. omlish/dataclasses/concerns/hash.py +165 -0
  23. omlish/dataclasses/concerns/init.py +453 -0
  24. omlish/dataclasses/concerns/matchargs.py +27 -0
  25. omlish/dataclasses/concerns/mro.py +16 -0
  26. omlish/dataclasses/concerns/order.py +87 -0
  27. omlish/dataclasses/concerns/override.py +98 -0
  28. omlish/dataclasses/concerns/params.py +14 -0
  29. omlish/dataclasses/concerns/replace.py +48 -0
  30. omlish/dataclasses/concerns/repr.py +95 -0
  31. omlish/dataclasses/{impl → concerns}/slots.py +25 -1
  32. omlish/dataclasses/debug.py +2 -0
  33. omlish/dataclasses/errors.py +115 -0
  34. omlish/dataclasses/generation/__init__.py +0 -0
  35. omlish/dataclasses/generation/base.py +38 -0
  36. omlish/dataclasses/generation/compilation.py +258 -0
  37. omlish/dataclasses/generation/execution.py +195 -0
  38. omlish/dataclasses/generation/globals.py +83 -0
  39. omlish/dataclasses/generation/idents.py +6 -0
  40. omlish/dataclasses/generation/mangling.py +18 -0
  41. omlish/dataclasses/generation/manifests.py +20 -0
  42. omlish/dataclasses/generation/ops.py +97 -0
  43. omlish/dataclasses/generation/plans.py +35 -0
  44. omlish/dataclasses/generation/processor.py +179 -0
  45. omlish/dataclasses/generation/registry.py +42 -0
  46. omlish/dataclasses/generation/utils.py +83 -0
  47. omlish/dataclasses/{impl/reflect.py → inspect.py} +53 -90
  48. omlish/dataclasses/{impl/internals.py → internals.py} +26 -32
  49. omlish/dataclasses/metaclass/__init__.py +0 -0
  50. omlish/dataclasses/metaclass/bases.py +69 -0
  51. omlish/dataclasses/metaclass/confer.py +65 -0
  52. omlish/dataclasses/metaclass/meta.py +115 -0
  53. omlish/dataclasses/metaclass/specs.py +38 -0
  54. omlish/dataclasses/processing/__init__.py +0 -0
  55. omlish/dataclasses/processing/base.py +83 -0
  56. omlish/dataclasses/processing/driving.py +49 -0
  57. omlish/dataclasses/processing/priority.py +13 -0
  58. omlish/dataclasses/processing/registry.py +81 -0
  59. omlish/dataclasses/reflection.py +81 -0
  60. omlish/dataclasses/specs.py +224 -0
  61. omlish/dataclasses/tools/__init__.py +0 -0
  62. omlish/dataclasses/{impl → tools}/as_.py +23 -8
  63. omlish/dataclasses/tools/iter.py +27 -0
  64. omlish/dataclasses/tools/modifiers.py +52 -0
  65. omlish/dataclasses/tools/replace.py +17 -0
  66. omlish/dataclasses/tools/repr.py +12 -0
  67. omlish/dataclasses/{static.py → tools/static.py} +25 -4
  68. omlish/dataclasses/utils.py +54 -109
  69. omlish/diag/__init__.py +4 -4
  70. omlish/inject/impl/origins.py +1 -1
  71. omlish/lang/cached/function.py +4 -2
  72. omlish/lang/maybes.py +17 -0
  73. omlish/lite/maybes.py +17 -0
  74. omlish/marshal/objects/dataclasses.py +3 -7
  75. omlish/marshal/objects/helpers.py +3 -3
  76. omlish/secrets/marshal.py +1 -1
  77. omlish/secrets/secrets.py +1 -1
  78. omlish/sql/queries/base.py +1 -1
  79. omlish/text/minja.py +81 -25
  80. omlish/text/templating.py +116 -0
  81. omlish/typedvalues/marshal.py +2 -2
  82. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/METADATA +4 -1
  83. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/RECORD +87 -46
  84. omlish/dataclasses/impl/LICENSE +0 -279
  85. omlish/dataclasses/impl/__init__.py +0 -33
  86. omlish/dataclasses/impl/api.py +0 -278
  87. omlish/dataclasses/impl/copy.py +0 -30
  88. omlish/dataclasses/impl/errors.py +0 -53
  89. omlish/dataclasses/impl/fields.py +0 -245
  90. omlish/dataclasses/impl/frozen.py +0 -93
  91. omlish/dataclasses/impl/hashing.py +0 -86
  92. omlish/dataclasses/impl/init.py +0 -199
  93. omlish/dataclasses/impl/main.py +0 -93
  94. omlish/dataclasses/impl/metaclass.py +0 -235
  95. omlish/dataclasses/impl/metadata.py +0 -75
  96. omlish/dataclasses/impl/order.py +0 -57
  97. omlish/dataclasses/impl/overrides.py +0 -53
  98. omlish/dataclasses/impl/params.py +0 -128
  99. omlish/dataclasses/impl/processing.py +0 -24
  100. omlish/dataclasses/impl/replace.py +0 -40
  101. omlish/dataclasses/impl/repr.py +0 -66
  102. omlish/dataclasses/impl/simple.py +0 -50
  103. omlish/dataclasses/impl/utils.py +0 -167
  104. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/WHEEL +0 -0
  105. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/entry_points.txt +0 -0
  106. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/licenses/LICENSE +0 -0
  107. {omlish-0.0.0.dev284.dist-info → omlish-0.0.0.dev286.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,116 @@
1
+ import abc
2
+ import dataclasses as dc
3
+ import string
4
+ import typing as ta
5
+
6
+ from .. import lang
7
+ from .minja import MinjaTemplate
8
+ from .minja import MinjaTemplateParam
9
+ from .minja import compile_minja_template
10
+
11
+
12
+ if ta.TYPE_CHECKING:
13
+ import jinja2
14
+ else:
15
+ jinja2 = lang.proxy_import('jinja2')
16
+
17
+
18
+ ##
19
+
20
+
21
+ class Templater(lang.Abstract):
22
+ @dc.dataclass(frozen=True)
23
+ class Context:
24
+ env: ta.Mapping[str, ta.Any] | None = None
25
+
26
+ @abc.abstractmethod
27
+ def render(self, ctx: Context) -> str:
28
+ raise NotImplementedError
29
+
30
+
31
+ ##
32
+
33
+
34
+ @dc.dataclass(frozen=True)
35
+ class FormatTemplater(Templater):
36
+ """https://docs.python.org/3/library/string.html#format-specification-mini-language"""
37
+
38
+ fmt: str
39
+
40
+ def render(self, ctx: Templater.Context) -> str:
41
+ return self.fmt.format(**(ctx.env or {}))
42
+
43
+
44
+ ##
45
+
46
+
47
+ @dc.dataclass(frozen=True)
48
+ class Pep292Templater(Templater):
49
+ """https://peps.python.org/pep-0292/"""
50
+
51
+ tmpl: string.Template
52
+
53
+ def render(self, ctx: Templater.Context) -> str:
54
+ return self.tmpl.substitute(ctx.env or {})
55
+
56
+ @classmethod
57
+ def from_string(cls, src: str) -> 'Pep292Templater':
58
+ return cls(string.Template(src))
59
+
60
+ ##
61
+
62
+
63
+ @dc.dataclass(frozen=True)
64
+ class MinjaTemplater(Templater):
65
+ tmpl: MinjaTemplate
66
+
67
+ ENV_IDENT: ta.ClassVar[str] = 'env'
68
+
69
+ def render(self, ctx: Templater.Context) -> str:
70
+ return self.tmpl(**{self.ENV_IDENT: ctx.env or {}})
71
+
72
+ @classmethod
73
+ def from_string(
74
+ cls,
75
+ src: str,
76
+ **ns: ta.Any,
77
+ ) -> 'MinjaTemplater':
78
+ tmpl = compile_minja_template(
79
+ src,
80
+ [
81
+ MinjaTemplateParam(cls.ENV_IDENT),
82
+ *[
83
+ MinjaTemplateParam.new(k, v)
84
+ for k, v in ns.items()
85
+ ],
86
+ ],
87
+ )
88
+
89
+ return cls(tmpl)
90
+
91
+
92
+ ##
93
+
94
+
95
+ @dc.dataclass(frozen=True)
96
+ class JinjaTemplater(Templater):
97
+ tmpl: jinja2.Template
98
+
99
+ def render(self, ctx: Templater.Context) -> str:
100
+ return self.tmpl.render(**(ctx.env or {}))
101
+
102
+ @classmethod
103
+ def from_string(
104
+ cls,
105
+ src: str,
106
+ *,
107
+ env: jinja2.Environment | None = None,
108
+ **kwargs: ta.Any,
109
+ ) -> 'JinjaTemplater':
110
+ if env is None:
111
+ env = jinja2.Environment()
112
+ tmpl = env.from_string(src)
113
+ return cls(
114
+ tmpl,
115
+ **kwargs,
116
+ )
@@ -32,7 +32,7 @@ class TypedValueMarshalerFactory(msh.MarshalerFactoryMatchClass):
32
32
  ))
33
33
  def _build_scalar(self, ctx: msh.MarshalContext, rty: rfl.Type) -> msh.Marshaler:
34
34
  dc_rfl = dc.reflect(check.isinstance(rty, type))
35
- v_rty = check.single(dc_rfl.generic_replaced_field_annotations.values())
35
+ v_rty = check.single(dc_rfl.fields_inspection.generic_replaced_field_annotations.values())
36
36
  v_m = ctx.make(v_rty)
37
37
  return msh.WrappedMarshaler(lambda _, o: o.v, v_m)
38
38
 
@@ -58,7 +58,7 @@ class TypedValueUnmarshalerFactory(msh.UnmarshalerFactoryMatchClass):
58
58
  def _build_scalar(self, ctx: msh.UnmarshalContext, rty: rfl.Type) -> msh.Unmarshaler:
59
59
  rty = check.isinstance(rty, type)
60
60
  dc_rfl = dc.reflect(rty)
61
- v_rty = check.single(dc_rfl.generic_replaced_field_annotations.values())
61
+ v_rty = check.single(dc_rfl.fields_inspection.generic_replaced_field_annotations.values())
62
62
  v_u = ctx.make(v_rty)
63
63
  return msh.WrappedUnmarshaler(lambda _, v: rty(v), v_u)
64
64
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omlish
3
- Version: 0.0.0.dev284
3
+ Version: 0.0.0.dev286
4
4
  Summary: omlish
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -42,6 +42,7 @@ Requires-Dist: asyncpg~=0.30; extra == "all"
42
42
  Requires-Dist: apsw~=3.49; extra == "all"
43
43
  Requires-Dist: sqlean.py~=3.47; extra == "all"
44
44
  Requires-Dist: duckdb~=1.2; extra == "all"
45
+ Requires-Dist: jinja2~=3.1; extra == "all"
45
46
  Requires-Dist: pytest~=8.3; extra == "all"
46
47
  Requires-Dist: anyio~=4.9; extra == "all"
47
48
  Requires-Dist: sniffio~=1.3; extra == "all"
@@ -88,6 +89,8 @@ Requires-Dist: asyncpg~=0.30; extra == "sqldrivers"
88
89
  Requires-Dist: apsw~=3.49; extra == "sqldrivers"
89
90
  Requires-Dist: sqlean.py~=3.47; extra == "sqldrivers"
90
91
  Requires-Dist: duckdb~=1.2; extra == "sqldrivers"
92
+ Provides-Extra: templates
93
+ Requires-Dist: jinja2~=3.1; extra == "templates"
91
94
  Provides-Extra: testing
92
95
  Requires-Dist: pytest~=8.3; extra == "testing"
93
96
  Provides-Extra: plus
@@ -1,5 +1,5 @@
1
1
  omlish/.manifests.json,sha256=pjGUyLHaoWpPqRP3jz2u1fC1qoRc2lvrEcpU_Ax2tdg,8253
2
- omlish/__about__.py,sha256=dKiKmm0e4VLsAkPFstjb0fKd9_2ulpG5GqwUNof8Oas,3380
2
+ omlish/__about__.py,sha256=ZhuYDjbIjfMV2ZweBFzU-Nn4cTzE8Xb5UKLXCDiLtzI,3444
3
3
  omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
4
4
  omlish/c3.py,sha256=rer-TPOFDU6fYq_AWio_AmA-ckZ8JDY5shIzQ_yXfzA,8414
5
5
  omlish/cached.py,sha256=MLap_p0rdGoDIMVhXVHm1tsbcWobJF0OanoodV03Ju8,542
@@ -202,34 +202,74 @@ omlish/daemons/services.py,sha256=YYp2SMkJ71WgzOcYSXjWHeAyKKxu3j1dfuJvWkl0Dgw,34
202
202
  omlish/daemons/spawning.py,sha256=psR73zOYjMKTqNpx1bMib8uU9wAZz62tw5TaWHrTdyY,5337
203
203
  omlish/daemons/targets.py,sha256=00KmtlknMhQ5PyyVAhWl3rpeTMPym0GxvHHq6mYPZ7c,3051
204
204
  omlish/daemons/waiting.py,sha256=RfgD1L33QQVbD2431dkKZGE4w6DUcGvYeRXXi8puAP4,1676
205
- omlish/dataclasses/__init__.py,sha256=ESQFwRKhBVu9b8372Kc9IQL_VxbvYD70YpuvRMiVtvI,1731
206
- omlish/dataclasses/static.py,sha256=6pZG2iTR9NN8pKm-5ukDABnaVlTKFOzMwkg-rbxURoo,7691
207
- omlish/dataclasses/utils.py,sha256=BTXYyH0enSEP5kWxMnPTJ8_UPd7h4wF2RVPITNC8H4M,3872
208
- omlish/dataclasses/impl/LICENSE,sha256=Oy-B_iHRgcSZxZolbI4ZaEVdZonSaaqFNzv7avQdo78,13936
209
- omlish/dataclasses/impl/__init__.py,sha256=zqGBC5gSbjJxaqG_zS1LL1PX-zAfhIua8UqOE4IwO2k,789
210
- omlish/dataclasses/impl/api.py,sha256=eIWSmgsjEnstK6jkyygpJwEY7x6VU8_pJ_XltpalqD0,7013
211
- omlish/dataclasses/impl/as_.py,sha256=CD-t7hkC1EP2F_jvZKIA_cVoDuwZ-Ln_xC4fJumPYX0,2598
212
- omlish/dataclasses/impl/copy.py,sha256=Tn8_n6Vohs-w4otbGdubBEvhd3TsSTaM3EfNGdS2LYo,591
213
- omlish/dataclasses/impl/errors.py,sha256=vL1VKqbjQXGPfvYUz7gQfhnWJKe7JJqUN4QK96pitPA,1280
214
- omlish/dataclasses/impl/fields.py,sha256=TLhHUvEX9P8cxwkLlB6jbIpRlQYaqCnVUaaP8VSUNJk,6893
215
- omlish/dataclasses/impl/frozen.py,sha256=x87DSM8FIMZ3c_BIUE8NooCkExFjPsabeqIueEP5qKs,2988
216
- omlish/dataclasses/impl/hashing.py,sha256=0Gr6XIRkKy4pr-mdHblIlQCy3mBxycjMqJk3oZDw43s,3215
217
- omlish/dataclasses/impl/init.py,sha256=7pC392bJD-yzlerO1DlvTUtOPsVvGmlPWIv_zTylTto,6405
218
- omlish/dataclasses/impl/internals.py,sha256=UvZYjrLT1S8ntyxJ_vRPIkPOF00K8HatGAygErgoXTU,2990
219
- omlish/dataclasses/impl/main.py,sha256=bWnqEDOfITjEwkLokTvOegp88KaQXJFun3krgxt3aE0,2647
220
- omlish/dataclasses/impl/metaclass.py,sha256=rhcMHNJYISgMkC95Yq14aLEs48iK9Rzma5yb7-4mPIk,4965
221
- omlish/dataclasses/impl/metadata.py,sha256=4veWwTr-aA0KP-Y1cPEeOcXHup9EKJTYNJ0ozIxtzD4,1401
222
- omlish/dataclasses/impl/order.py,sha256=dPmSNDBQAAVu_UPMZODjlT5mSBJIbPCCJ8bwbxrmkJ8,1587
223
- omlish/dataclasses/impl/overrides.py,sha256=g9aCzaDDKyek8-yXRvtAcu1B1nCphWDYr4InHDlgbKk,1732
224
- omlish/dataclasses/impl/params.py,sha256=HMhvtsPup6WQOPLEVXTHgVvDWHk-kX-E2GAZxWXa6R0,3009
225
- omlish/dataclasses/impl/processing.py,sha256=DFxyFjL_h3awRyF_5eyTnB8QkuApx7Zc4QFnVoltlao,459
226
- omlish/dataclasses/impl/reflect.py,sha256=ndX22d9bd9m_GAajPFQdnrw98AGw75lH9_tb-kdHwAs,5597
227
- omlish/dataclasses/impl/replace.py,sha256=wS9GHX4fIwaPv1JBJzIewdBfXyK3X3V7_t55Da87dYo,1217
228
- omlish/dataclasses/impl/repr.py,sha256=hk6HwKTLA0tb698CfiO8RYAqtpHQbGCpymm_Eo-B-2Y,1876
229
- omlish/dataclasses/impl/simple.py,sha256=Q272TYXifB5iKtydByxyzraeQHX6aXDY0VKO1-AKBF4,1771
230
- omlish/dataclasses/impl/slots.py,sha256=uiUB391b2WG9Xak8ckXeGawhpc38dZEhEp60uQgiY-w,5275
231
- omlish/dataclasses/impl/utils.py,sha256=aER2iL3UAtgS1BdLuEvTr9Tr2wC28wk1kiOeO-jIymw,6138
232
- omlish/diag/__init__.py,sha256=4S8v0myJM4Zld6_FV6cPe_nSv0aJb6kXftEit0HkiGE,1141
205
+ omlish/dataclasses/__init__.py,sha256=xo5rJYrQ2JE5jcX4fHv5e9bC6RIXFd-K8yurUP20oO8,1834
206
+ omlish/dataclasses/debug.py,sha256=giBiv6aXvX0IagwNCW64qBzNjfOFr3-VmgDy_KYlb-k,29
207
+ omlish/dataclasses/errors.py,sha256=tyv3WR6az66uGGiq9FIuCHvy1Ef-G7zeMY7mMG6hy2Y,2527
208
+ omlish/dataclasses/inspect.py,sha256=BlpPghVCU3w_YDnONEqqE99YHzJM2q3eoqe39YX25Ko,4596
209
+ omlish/dataclasses/internals.py,sha256=qFSDQzBtukvYO5QMoZx83nwyNA53S-8jJyB9l1e1oZ0,2975
210
+ omlish/dataclasses/reflection.py,sha256=5N4acL27xwSnQJvoks6ts2JseGfwL_P9D2gM9vqtAFM,2243
211
+ omlish/dataclasses/specs.py,sha256=h9qD2xAijKAS95Iw3GUPx3mj1peoUOlgh7aXtqVfmDU,6073
212
+ omlish/dataclasses/utils.py,sha256=_1B6tEkkcxHVoLBEo34ebR_0E-iZW7W0zFTo27EdSqY,1854
213
+ omlish/dataclasses/api/__init__.py,sha256=GFodt19CKrfuBpdv1EUqVUCPAFIlHPnabE2G8QJElBY,426
214
+ omlish/dataclasses/api/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
215
+ omlish/dataclasses/api/classes/conversion.py,sha256=x1Ayo5W3t8lVh10KGH_ZBJ_kK7HqcdI2LdJA6mR_WXQ,810
216
+ omlish/dataclasses/api/classes/decorator.py,sha256=4IiMWsCeXD7lubTZC_becVsi8zsIIH8fN2PbP-fFZE0,2990
217
+ omlish/dataclasses/api/classes/make.py,sha256=O3iWvCMHW4XJXmHHDvNsh5rhkPh9VQ-iCPMUGPWETAM,2629
218
+ omlish/dataclasses/api/classes/metadata.py,sha256=2YafXunxqbqnHIdp5gsiGLyH7cWg9FR5wCwcxlLFd20,2685
219
+ omlish/dataclasses/api/classes/params.py,sha256=qmHuGC4vB8o-7cnRXllVz_WNprx2fsyrNzPY2mYC5FM,1680
220
+ omlish/dataclasses/api/fields/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
221
+ omlish/dataclasses/api/fields/building.py,sha256=YVAJZ2c318vK0YWz9VU8_MdjA5qNjqsI3N85K-bD0TI,3314
222
+ omlish/dataclasses/api/fields/constructor.py,sha256=dRnVR5srD-8nNaMxdkWh0oFPINwOu-D7n4QItI6AWPs,1310
223
+ omlish/dataclasses/api/fields/conversion.py,sha256=Pye4KOON78CBgDzwTqNb5fx8wE7uvlKcwVfQ2nhDzrM,5134
224
+ omlish/dataclasses/api/fields/metadata.py,sha256=4hGRvG96qPNeipbnHlnbDNWqCANGCuE9BmjKUzTEzRQ,1689
225
+ omlish/dataclasses/concerns/__init__.py,sha256=4Goga5wAOAbK6KcoHWC8jDC8M9ywgH7PfmXXxgCYCC8,208
226
+ omlish/dataclasses/concerns/abc.py,sha256=ok2qE9ltgZXdf34YtLElTr7A-IYErJvVfP1-G2t2Sbc,391
227
+ omlish/dataclasses/concerns/copy.py,sha256=U8kSHEvVupvXArS3OPB7GK_M7aPO9R3_Uk1nqHqxmJ8,1761
228
+ omlish/dataclasses/concerns/doc.py,sha256=SL0hj4EzXrVOhaDzHVDGnzylkOU7mcXtr9Tm3wuZnQQ,1344
229
+ omlish/dataclasses/concerns/eq.py,sha256=PI0KKzJyIziRLgcjl8efjapf8baaRCdcuyGW83bCpEo,1720
230
+ omlish/dataclasses/concerns/fields.py,sha256=-VnI7al9sKRs0xTCy-IUhl3EgCKBX5vczDUZNu72_KY,3311
231
+ omlish/dataclasses/concerns/frozen.py,sha256=IWfar9VIkMezE8Bh9duB5vVXy1qyABa1YEOwHVJOCqE,3872
232
+ omlish/dataclasses/concerns/hash.py,sha256=ouX8zyae_IUAMEd-0dvUAPO9bbp5AM1evumyUSr5inY,4815
233
+ omlish/dataclasses/concerns/init.py,sha256=_Yv4g7paBtkxnm3CgglBSAOQnoRAULv9HwvZg_od3WM,14542
234
+ omlish/dataclasses/concerns/matchargs.py,sha256=maHlfPCcHvAOGuXoLGu66ZizHdizU-UIrFCYbNMPR5g,748
235
+ omlish/dataclasses/concerns/mro.py,sha256=8bonGwAkNUazM_Wea6saW02S3gvGy5eGWKouOb9hvUw,407
236
+ omlish/dataclasses/concerns/order.py,sha256=f1JVDkeTWllO9Tu79xKkjHul-_rpsYZXHMTnca8Di30,2469
237
+ omlish/dataclasses/concerns/override.py,sha256=eegJ4KRs-p3Oj5ipY1eySwXJ3vFyVXG5gWRQZcsmvUQ,2810
238
+ omlish/dataclasses/concerns/params.py,sha256=ZrNGBUp87YkrOMW7bYn0GdYk9PuDHzxdwKn477lqUyE,404
239
+ omlish/dataclasses/concerns/replace.py,sha256=Q11NjVMMHVh9MjJ6osaXNFG5HuGWQM6qDgWK7IN0IIc,1501
240
+ omlish/dataclasses/concerns/repr.py,sha256=Ft8V0aqxNHz29fOAQsRoFTlLybbgGeT2QbSxXJa7Gyc,2855
241
+ omlish/dataclasses/concerns/slots.py,sha256=xg6346UT_oUlb0kYaWFbeJUKzZcpQx4nJkT86CXfI5c,5922
242
+ omlish/dataclasses/generation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
+ omlish/dataclasses/generation/base.py,sha256=adi68lJogtjx1SoxGJ5hqC-f-CMX2gWi8iALmucIwKo,686
244
+ omlish/dataclasses/generation/compilation.py,sha256=IRvt8AJlLdyq3boTs0e1V0U8Dkf85V1wmKNPl82ZnCQ,6995
245
+ omlish/dataclasses/generation/execution.py,sha256=ygCGB_88cluih-Q3H1toxOgabyTzHyO4WNUZNkrDtBc,4818
246
+ omlish/dataclasses/generation/globals.py,sha256=vN41vhYJ6P8fmxajSjHs3ic3yuE-ZctwQHmixRV6RNg,2674
247
+ omlish/dataclasses/generation/idents.py,sha256=GHvfuZMmmibJNxAM-8pZPTSy1kCC4oLx8Lb-jgriZsc,182
248
+ omlish/dataclasses/generation/mangling.py,sha256=AUtTMjAAuQ_kUfE-CypnpRsiM10EAkMkUMyouud2qs0,302
249
+ omlish/dataclasses/generation/manifests.py,sha256=tRLO59eysC13z_lbPxaErPy-xM3BIBRpj8MhmbYoGnE,309
250
+ omlish/dataclasses/generation/ops.py,sha256=dWse_SsoXtpDqXzDPJOqBeb9G5F7RrEChfGl4iTL0QE,1718
251
+ omlish/dataclasses/generation/plans.py,sha256=c3TRwa20quN-DrM-eI2KoTG4XVyL3n12RcwZoJxEgB0,536
252
+ omlish/dataclasses/generation/processor.py,sha256=_rt_GHdx_pi5seRMzIu6DvLEx4MYGsG8CKykxqDiu1s,4689
253
+ omlish/dataclasses/generation/registry.py,sha256=_Cfvs9QY6f8Pvf9cKUi-OTI-qaDem3z5jcWkSDNk3kQ,1006
254
+ omlish/dataclasses/generation/utils.py,sha256=u6DWRvzxgqrxqyfAGzNOyDvnOJYdMTYyZ7l1oOOiXrI,2089
255
+ omlish/dataclasses/metaclass/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
+ omlish/dataclasses/metaclass/bases.py,sha256=OSvFRx1PZ1HoBzT0YpsXy-AwAdWnNrcQ5p-teTIr7nY,1196
257
+ omlish/dataclasses/metaclass/confer.py,sha256=yj31r3Vi1bdEvBRBjQML5IBzqEtDpzH3xC3LGkUAkKI,1327
258
+ omlish/dataclasses/metaclass/meta.py,sha256=0MQG7Sl1y8QccGRgLOC0VoLDTMBG6VoyT-wZdthO1zI,2639
259
+ omlish/dataclasses/metaclass/specs.py,sha256=djzkHK95h06Cgrx8rr3SGkv2gOvL-fPOhWOBWbbN8h4,789
260
+ omlish/dataclasses/processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
+ omlish/dataclasses/processing/base.py,sha256=wkPDfeojZ2mg72yifMW7VNpJBEgEbaC3Qr_bd8_aV5E,1827
262
+ omlish/dataclasses/processing/driving.py,sha256=AwT4kvh_GdSDfYVLBjBdkVmbO7U5LK95A_K3qTK01MY,1031
263
+ omlish/dataclasses/processing/priority.py,sha256=57jdwUZ29Z9ZtKWIzyar4raNLHNrWd0c29ZLv2hcfjo,260
264
+ omlish/dataclasses/processing/registry.py,sha256=iNDHwW1gsq8gTMi4XvNBBzab0OYdSKvDLQw9gCBt2FI,1884
265
+ omlish/dataclasses/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
266
+ omlish/dataclasses/tools/as_.py,sha256=3mTFXf563Z4ZZnbCzJHv83WizOYBs2mpigJCamxTlpQ,2893
267
+ omlish/dataclasses/tools/iter.py,sha256=JQUFG4Gn-xthhJ3OEqXLOWkq2KhRMuIqvEow0HcFPZg,540
268
+ omlish/dataclasses/tools/modifiers.py,sha256=xo6D4yl58HhJrFwV1JeoNrLrgC4MUA6SAXCGoyV-gnM,1212
269
+ omlish/dataclasses/tools/replace.py,sha256=izM9lPT6AhEtjqn22auqaofa0j69KO7iootF-2Uj4cY,396
270
+ omlish/dataclasses/tools/repr.py,sha256=KFvF6uv2YYIKq8O3ZNbEAS1tqRQALsJ-SUlBNPd5_GI,190
271
+ omlish/dataclasses/tools/static.py,sha256=4TOwUmSthWUin0UMtZYw0O8APJYRAD39O3TW7WZShic,8665
272
+ omlish/diag/__init__.py,sha256=c1q8vuapGH1YiYdU300FIJXMI1MOcnLNBZXr-zc8BXk,1181
233
273
  omlish/diag/asts.py,sha256=MWh9XAG3m9L10FIJCyoNT2aU4Eft6tun_x9K0riq6Dk,3332
234
274
  omlish/diag/debug.py,sha256=ClED7kKXeVMyKrjGIxcq14kXk9kvUJfytBQwK9y7c4Q,1637
235
275
  omlish/diag/lslocks.py,sha256=fWI3SZwgEkhipVfSqvzVzREJRShcDYmlYByHBT0LToc,1744
@@ -380,7 +420,7 @@ omlish/inject/impl/elements.py,sha256=PM_055moROskSTQqmohEa6I0tt1OQ-VRNArXCMG6vy
380
420
  omlish/inject/impl/injector.py,sha256=LJGmK1g6fiLSE1AFc6lTzgmvA-IQ11dlsKkGcMR7uKQ,7557
381
421
  omlish/inject/impl/inspect.py,sha256=reXkNsjyvJXva5379tHTWklVK0vzqGLP0BgI_4VVPgQ,3116
382
422
  omlish/inject/impl/multis.py,sha256=j2QHSpJp0jPv10yZEZJwi0w62kXFQ25gkHa026xv4-Q,2053
383
- omlish/inject/impl/origins.py,sha256=-cdcwz3BWb5LuC9Yn5ynYOwyPsKH06-kCc-3U0PxZ5w,1640
423
+ omlish/inject/impl/origins.py,sha256=dgGdkoMN6I4DZrWjlpZYijeFsrF6Up1WPq_QSAgTtuQ,1676
384
424
  omlish/inject/impl/privates.py,sha256=alpCYyk5VJ9lJknbRH2nLVNFYVvFhkj-VC1Vco3zCFQ,2613
385
425
  omlish/inject/impl/providers.py,sha256=QnwhsujJFIHC0JTgd2Wlo1kP53i3CWTrj1nKU2DNxwg,2375
386
426
  omlish/inject/impl/proxy.py,sha256=gyCME_W48Zrl7QJMKiIPwGpSctf5fhvh4ZldgtA9MEE,1641
@@ -432,7 +472,7 @@ omlish/lang/functions.py,sha256=kSdVUJZmRcncMdU43rcQLZ5E2NMcRz6X6pppwLNHiWk,5762
432
472
  omlish/lang/generators.py,sha256=5tbjVAywiZH6oAdj1sJLRMtIkC9y3rAkecLT7Z3m7_g,5251
433
473
  omlish/lang/imports.py,sha256=aC1u2eTrxHhhxShKbJvXswe3aJ7K76vT4YK8LrsvRWU,10476
434
474
  omlish/lang/iterables.py,sha256=HOjcxOwyI5bBApDLsxRAGGhTTmw7fdZl2kEckxRVl-0,1994
435
- omlish/lang/maybes.py,sha256=IPlfurHCebyDamB2scqP-JmUODN1TWr7ZL1T7qz6Jzo,3421
475
+ omlish/lang/maybes.py,sha256=pb1YrxmpXy-hWKmWR89GxXqZq1MoUD1uuTaTX30peh0,3697
436
476
  omlish/lang/objects.py,sha256=q1T26cxLkejU5XMl5iEVC9IIhjib0VBpe7JCo2bz2Ws,5411
437
477
  omlish/lang/outcomes.py,sha256=mpFy_VoM-b74L1aCFsjsZVUHx_icZ1AHMOKeVesjOp4,8628
438
478
  omlish/lang/params.py,sha256=QmNVBfJsfxjDG5ilDPgHV7sK4UwRztkSQdLTo0umb8I,6648
@@ -442,7 +482,7 @@ omlish/lang/strings.py,sha256=egdv8PxLNG40-5V93agP5j2rBUDIsahCx048zV7uEbU,4690
442
482
  omlish/lang/sys.py,sha256=b4qOPiJZQru_mbb04FNfOjYWUxlV2becZOoc-yya_rQ,411
443
483
  omlish/lang/typing.py,sha256=Zdad9Zv0sa-hIaUXPrzPidT7sDVpRcussAI7D-j-I1c,3296
444
484
  omlish/lang/cached/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
445
- omlish/lang/cached/function.py,sha256=s0GImf5JUfjQd1FERSsuM2-AQqdY2a05tozEcNIUk7w,9457
485
+ omlish/lang/cached/function.py,sha256=Nqr7XDVQdD21TawF-O9YG4jU4RwlBri-E1SusrDrmzo,9560
446
486
  omlish/lang/cached/property.py,sha256=WHYyg4-6EA86TcNMfbXTjVhjEZPc0kngt9hfY3WN5w8,2768
447
487
  omlish/lang/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
448
488
  omlish/lang/classes/abstract.py,sha256=n4rDlDraUKxPF0GtOWEFZ6mEzEDmP7Z8LSI6Jww_thw,3715
@@ -468,7 +508,7 @@ omlish/lite/inject.py,sha256=-tTsOqqef-Ix5Tgl2DP_JAsNWJQDFUptERl3lk14Uzs,29007
468
508
  omlish/lite/json.py,sha256=7-02Ny4fq-6YAu5ynvqoijhuYXWpLmfCI19GUeZnb1c,740
469
509
  omlish/lite/logs.py,sha256=CWFG0NKGhqNeEgryF5atN2gkPYbUdTINEw_s1phbINM,51
470
510
  omlish/lite/marshal.py,sha256=4DCbLoimLwJakihpvMjJ_kpc7v9aZQY8P3-gkoqEGUE,18471
471
- omlish/lite/maybes.py,sha256=7OlHJ8Q2r4wQ-aRbZSlJY7x0e8gDvufFdlohGEIJ3P4,833
511
+ omlish/lite/maybes.py,sha256=I7b2dJFkDll4B_QDlI6iKJG8fy91L6_Tj_s5eB3KI7Q,1013
472
512
  omlish/lite/pycharm.py,sha256=pUOJevrPClSqTCEOkQBO11LKX2003tfDcp18a03QFrc,1163
473
513
  omlish/lite/reflect.py,sha256=pzOY2PPuHH0omdtglkN6DheXDrGopdL3PtTJnejyLFU,2189
474
514
  omlish/lite/reprs.py,sha256=QI5VBtvq_TW1TojWL25c04QfOABLi8Smt5jc5J-bArc,2008
@@ -519,8 +559,8 @@ omlish/marshal/composite/newtypes.py,sha256=5-te247TiPYf84oFhf59tqIOOByXj8i9KaHT
519
559
  omlish/marshal/composite/optionals.py,sha256=MnecrmrJYjQvYJipIHNCDq78oH09dOjnw5pvaMKqoeU,1537
520
560
  omlish/marshal/composite/wrapped.py,sha256=jOsn3h1vLIqcoSTB-0KObnsdbV8jSVWJYbf7Kg9AUwg,750
521
561
  omlish/marshal/objects/__init__.py,sha256=F4wej8L_tedC8ETYxAnmKfdPR9TjsqIus9Z3nZofYuc,182
522
- omlish/marshal/objects/dataclasses.py,sha256=egC4dSInycPZuvPGW9-f4AyC1nw2gaN_tS8LvoRVAuM,9050
523
- omlish/marshal/objects/helpers.py,sha256=85GZp4h3Yo0GYGmnZpKgNxkWnSk8h2R21nfDLU2DtM0,1110
562
+ omlish/marshal/objects/dataclasses.py,sha256=klXXY1zOKh_FYlw6L5ZNPjpXSk0ntUGxSOrm309WoiY,8953
563
+ omlish/marshal/objects/helpers.py,sha256=H3K0J4fsJTaBVi7m6Be066YmlsRmOet48sop3LBr1wU,1104
524
564
  omlish/marshal/objects/marshal.py,sha256=JarKGecMgaFYSUHUj-ZUYVP9HK6u2rjpBb3DWX9Uhh0,2648
525
565
  omlish/marshal/objects/metadata.py,sha256=2_rESnslP5fwtEW1xy9ECJg64uA4cQBuYcGkRfPElts,3342
526
566
  omlish/marshal/objects/namedtuples.py,sha256=8de8L7rwmvr_LLBHHfOl2wHObxc_1yZ8fC_J25yZi7Q,2866
@@ -580,11 +620,11 @@ omlish/reflect/types.py,sha256=Cn9FYGoiCNt0FS0YLiTTAR12WKcesWMapCrVYcb8IDo,9225
580
620
  omlish/secrets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
581
621
  omlish/secrets/all.py,sha256=SGB1KrlNrxlNpazEHYy95NTzteLi8ndoEgMhU7luBl8,420
582
622
  omlish/secrets/crypto.py,sha256=9D21lnvPhStwu8arD4ssT0ih0bDG-nlqIRdVgYL40xA,3708
583
- omlish/secrets/marshal.py,sha256=Jat6jTr0Fv3YBwqmq_DO2xahwn9qIeILrIybJ0vk34U,1989
623
+ omlish/secrets/marshal.py,sha256=u90n1OfRfdpH1T2F0xK_pAPH1ENYL6acFt6XdVd3KvI,1986
584
624
  omlish/secrets/openssl.py,sha256=UT_dXJ4zA1s9e-UHoW_NLGHQO7iouUNPnJNkkpuw3JI,6213
585
625
  omlish/secrets/pwgen.py,sha256=5k7QMSysUfv9F65TDMdDlrhTIKy6QbMG3KT2HNVmnVg,1712
586
626
  omlish/secrets/pwhash.py,sha256=Jctv3QzcMvVPXJsWA3w3LDUlzmyUDGEWG9sLiJz1xaw,4107
587
- omlish/secrets/secrets.py,sha256=QNgOmRcIRK2fx49bIbBBM2rYbe6IhhLgk8fKvq8guoI,7963
627
+ omlish/secrets/secrets.py,sha256=mRajnNFbrHPLSz21OEinE_k-FjirXARIxFLOq2JbPAo,7969
588
628
  omlish/secrets/ssl.py,sha256=_72xTNP6a1Xw0Pweuow9WK5yveqJ7hmjhala9iMnrAk,152
589
629
  omlish/secrets/subprocesses.py,sha256=ZdShw4jrGDdyQW8mRMgl106-9qpCEq2J6w_x7ruz1wk,1217
590
630
  omlish/secrets/tempssl.py,sha256=X_cAQbeaz-YcH8SzQ0luYTktIGJv4KMpfTD3t9l9Gqk,1879
@@ -702,7 +742,7 @@ omlish/sql/parsing/_antlr/MinisqlParser.py,sha256=y9SFjXdQlWYJa2PbPm30d5SfcYM_8M
702
742
  omlish/sql/parsing/_antlr/MinisqlVisitor.py,sha256=NCPorucLLOZ-Q99BtNbDOAfHytQl8wyroR8pI1uVovg,10030
703
743
  omlish/sql/parsing/_antlr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
704
744
  omlish/sql/queries/__init__.py,sha256=2Wb05RFCKYZR3wO5YM60txNgjiDLJMYXC4gKAIUSsmc,1415
705
- omlish/sql/queries/base.py,sha256=eFYRjPXjXf0ntcDcMQ3x14BgQNp1MDPKKBNNF7oMe8E,3231
745
+ omlish/sql/queries/base.py,sha256=pQ6p8dSsHwsWa-lmK2h8RY2UJ1mwJRhByOgrCIW3dBs,3229
706
746
  omlish/sql/queries/binary.py,sha256=dcEzeEn104AMPuQ7QrJU2O-YCN3SUdxB5S4jaWKOUqY,2253
707
747
  omlish/sql/queries/exprs.py,sha256=dG9L218QtJM1HtDYIMWqHimK03N6AL1WONk3FvVRcXY,1480
708
748
  omlish/sql/queries/idents.py,sha256=w2RxO6SR3K-u30S259OtnAZaPv7YA70PzY9R7RtuCQ8,891
@@ -776,9 +816,10 @@ omlish/text/glyphsplit.py,sha256=HI8TWDUaF_tJG5RnIdIjtUH_lYnjYZ7KZBANSxOXGZc,380
776
816
  omlish/text/indent.py,sha256=LOQgHskHMLVrRC6HLL9uIWay517dpvPEYQK0Igm-wm8,1341
777
817
  omlish/text/linecache.py,sha256=hRYlEhD63ZfA6_ZOTkQIcnON-3W56QMAhcG3vEJqj9M,1858
778
818
  omlish/text/mangle.py,sha256=d7j2_HPxoxF5VrLD1TShOSfnhBLH_-lQe_OH2kl0yHg,2790
779
- omlish/text/minja.py,sha256=jZC-fp3Xuhx48ppqsf2Sf1pHbC0t8XBB7UpUUoOk2Qw,5751
819
+ omlish/text/minja.py,sha256=e7XiY8IvF4Df-7hxhdC_qizHm9T4SIbFJR7enUg_Zmc,7252
780
820
  omlish/text/parts.py,sha256=Q9NvoyEGQKIWgiPD4D_Qc66cWAuyEKE033dT9m7c3Wk,6662
781
821
  omlish/text/random.py,sha256=8feS5JE_tSjYlMl-lp0j93kCfzBae9AM2cXlRLebXMA,199
822
+ omlish/text/templating.py,sha256=UyYIs0wMigCDws0XfO3mYkJFH0-tO1IBaxWL7v2J3pw,2417
782
823
  omlish/text/go/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
783
824
  omlish/text/go/quoting.py,sha256=N9EYdnFdEX_A8fOviH-1w4jwV3XOQ7VU2WsoUNubYVY,9137
784
825
  omlish/typedvalues/__init__.py,sha256=c3IQmRneMmH6JRcafprqmBILWD89b-IyIll6MgahGCI,562
@@ -786,12 +827,12 @@ omlish/typedvalues/accessor.py,sha256=0k21N-CkjGaY6zCwugsRfOC_CDkqk7wNz4oxO1_6EE
786
827
  omlish/typedvalues/collection.py,sha256=jsXSggmMMvGATcJgQkUXt5Guwq8aquw73_OIC-e6U0I,5300
787
828
  omlish/typedvalues/generic.py,sha256=byWG_gMXhNelckUwdmOoJE9FKkL71Q4BSi4ZLyy0XZ0,788
788
829
  omlish/typedvalues/holder.py,sha256=4SwRezsmuDDEO5gENGx8kTm30pblF5UktoEAu02i-Gk,1554
789
- omlish/typedvalues/marshal.py,sha256=eWMrmuzPk3pX5AlILc5YBvuJBUHRQA_vwkxRm5aHiGs,4209
830
+ omlish/typedvalues/marshal.py,sha256=Rr-4DZ90BoD5Z9gT18QhZH2yMA3-gPJBK8GUrGkp8VA,4245
790
831
  omlish/typedvalues/reflect.py,sha256=y_7IY8_4cLVRvD3ug-_-cDaO5RtzC1rLVFzkeAPALf8,683
791
832
  omlish/typedvalues/values.py,sha256=Q_5IiQM3Vka4wGVd-scaslb4-oCMjFcIOksIrKE-JIM,1229
792
- omlish-0.0.0.dev284.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
793
- omlish-0.0.0.dev284.dist-info/METADATA,sha256=bHeP3QMi-PvToEI46Ha5Gt_1dVI5uXLwIP1lrp8Rjms,4198
794
- omlish-0.0.0.dev284.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
795
- omlish-0.0.0.dev284.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
796
- omlish-0.0.0.dev284.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
797
- omlish-0.0.0.dev284.dist-info/RECORD,,
833
+ omlish-0.0.0.dev286.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
834
+ omlish-0.0.0.dev286.dist-info/METADATA,sha256=BEzmqld_-rBasXOChJ8Y3nUGtxUxj1Ck952qZyvSHbE,4316
835
+ omlish-0.0.0.dev286.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
836
+ omlish-0.0.0.dev286.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
837
+ omlish-0.0.0.dev286.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
838
+ omlish-0.0.0.dev286.dist-info/RECORD,,
@@ -1,279 +0,0 @@
1
- A. HISTORY OF THE SOFTWARE
2
- ==========================
3
-
4
- Python was created in the early 1990s by Guido van Rossum at Stichting
5
- Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
6
- as a successor of a language called ABC. Guido remains Python's
7
- principal author, although it includes many contributions from others.
8
-
9
- In 1995, Guido continued his work on Python at the Corporation for
10
- National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
11
- in Reston, Virginia where he released several versions of the
12
- software.
13
-
14
- In May 2000, Guido and the Python core development team moved to
15
- BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
- year, the PythonLabs team moved to Digital Creations, which became
17
- Zope Corporation. In 2001, the Python Software Foundation (PSF, see
18
- https://www.python.org/psf/) was formed, a non-profit organization
19
- created specifically to own Python-related Intellectual Property.
20
- Zope Corporation was a sponsoring member of the PSF.
21
-
22
- All Python releases are Open Source (see https://opensource.org for
23
- the Open Source Definition). Historically, most, but not all, Python
24
- releases have also been GPL-compatible; the table below summarizes
25
- the various releases.
26
-
27
- Release Derived Year Owner GPL-
28
- from compatible? (1)
29
-
30
- 0.9.0 thru 1.2 1991-1995 CWI yes
31
- 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
32
- 1.6 1.5.2 2000 CNRI no
33
- 2.0 1.6 2000 BeOpen.com no
34
- 1.6.1 1.6 2001 CNRI yes (2)
35
- 2.1 2.0+1.6.1 2001 PSF no
36
- 2.0.1 2.0+1.6.1 2001 PSF yes
37
- 2.1.1 2.1+2.0.1 2001 PSF yes
38
- 2.1.2 2.1.1 2002 PSF yes
39
- 2.1.3 2.1.2 2002 PSF yes
40
- 2.2 and above 2.1.1 2001-now PSF yes
41
-
42
- Footnotes:
43
-
44
- (1) GPL-compatible doesn't mean that we're distributing Python under
45
- the GPL. All Python licenses, unlike the GPL, let you distribute
46
- a modified version without making your changes open source. The
47
- GPL-compatible licenses make it possible to combine Python with
48
- other software that is released under the GPL; the others don't.
49
-
50
- (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
51
- because its license has a choice of law clause. According to
52
- CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
53
- is "not incompatible" with the GPL.
54
-
55
- Thanks to the many outside volunteers who have worked under Guido's
56
- direction to make these releases possible.
57
-
58
-
59
- B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
60
- ===============================================================
61
-
62
- Python software and documentation are licensed under the
63
- Python Software Foundation License Version 2.
64
-
65
- Starting with Python 3.8.6, examples, recipes, and other code in
66
- the documentation are dual licensed under the PSF License Version 2
67
- and the Zero-Clause BSD license.
68
-
69
- Some software incorporated into Python is under different licenses.
70
- The licenses are listed with code falling under that license.
71
-
72
-
73
- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
74
- --------------------------------------------
75
-
76
- 1. This LICENSE AGREEMENT is between the Python Software Foundation
77
- ("PSF"), and the Individual or Organization ("Licensee") accessing and
78
- otherwise using this software ("Python") in source or binary form and
79
- its associated documentation.
80
-
81
- 2. Subject to the terms and conditions of this License Agreement, PSF hereby
82
- grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
83
- analyze, test, perform and/or display publicly, prepare derivative works,
84
- distribute, and otherwise use Python alone or in any derivative version,
85
- provided, however, that PSF's License Agreement and PSF's notice of copyright,
86
- i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
87
- 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;
88
- All Rights Reserved" are retained in Python alone or in any derivative version
89
- prepared by Licensee.
90
-
91
- 3. In the event Licensee prepares a derivative work that is based on
92
- or incorporates Python or any part thereof, and wants to make
93
- the derivative work available to others as provided herein, then
94
- Licensee hereby agrees to include in any such work a brief summary of
95
- the changes made to Python.
96
-
97
- 4. PSF is making Python available to Licensee on an "AS IS"
98
- basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
99
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
100
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
101
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
102
- INFRINGE ANY THIRD PARTY RIGHTS.
103
-
104
- 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
105
- FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
106
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
107
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
108
-
109
- 6. This License Agreement will automatically terminate upon a material
110
- breach of its terms and conditions.
111
-
112
- 7. Nothing in this License Agreement shall be deemed to create any
113
- relationship of agency, partnership, or joint venture between PSF and
114
- Licensee. This License Agreement does not grant permission to use PSF
115
- trademarks or trade name in a trademark sense to endorse or promote
116
- products or services of Licensee, or any third party.
117
-
118
- 8. By copying, installing or otherwise using Python, Licensee
119
- agrees to be bound by the terms and conditions of this License
120
- Agreement.
121
-
122
-
123
- BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
124
- -------------------------------------------
125
-
126
- BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
127
-
128
- 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
129
- office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
130
- Individual or Organization ("Licensee") accessing and otherwise using
131
- this software in source or binary form and its associated
132
- documentation ("the Software").
133
-
134
- 2. Subject to the terms and conditions of this BeOpen Python License
135
- Agreement, BeOpen hereby grants Licensee a non-exclusive,
136
- royalty-free, world-wide license to reproduce, analyze, test, perform
137
- and/or display publicly, prepare derivative works, distribute, and
138
- otherwise use the Software alone or in any derivative version,
139
- provided, however, that the BeOpen Python License is retained in the
140
- Software, alone or in any derivative version prepared by Licensee.
141
-
142
- 3. BeOpen is making the Software available to Licensee on an "AS IS"
143
- basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
144
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
145
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
146
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
147
- INFRINGE ANY THIRD PARTY RIGHTS.
148
-
149
- 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
150
- SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
151
- AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
152
- DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
153
-
154
- 5. This License Agreement will automatically terminate upon a material
155
- breach of its terms and conditions.
156
-
157
- 6. This License Agreement shall be governed by and interpreted in all
158
- respects by the law of the State of California, excluding conflict of
159
- law provisions. Nothing in this License Agreement shall be deemed to
160
- create any relationship of agency, partnership, or joint venture
161
- between BeOpen and Licensee. This License Agreement does not grant
162
- permission to use BeOpen trademarks or trade names in a trademark
163
- sense to endorse or promote products or services of Licensee, or any
164
- third party. As an exception, the "BeOpen Python" logos available at
165
- http://www.pythonlabs.com/logos.html may be used according to the
166
- permissions granted on that web page.
167
-
168
- 7. By copying, installing or otherwise using the software, Licensee
169
- agrees to be bound by the terms and conditions of this License
170
- Agreement.
171
-
172
-
173
- CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
174
- ---------------------------------------
175
-
176
- 1. This LICENSE AGREEMENT is between the Corporation for National
177
- Research Initiatives, having an office at 1895 Preston White Drive,
178
- Reston, VA 20191 ("CNRI"), and the Individual or Organization
179
- ("Licensee") accessing and otherwise using Python 1.6.1 software in
180
- source or binary form and its associated documentation.
181
-
182
- 2. Subject to the terms and conditions of this License Agreement, CNRI
183
- hereby grants Licensee a nonexclusive, royalty-free, world-wide
184
- license to reproduce, analyze, test, perform and/or display publicly,
185
- prepare derivative works, distribute, and otherwise use Python 1.6.1
186
- alone or in any derivative version, provided, however, that CNRI's
187
- License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
188
- 1995-2001 Corporation for National Research Initiatives; All Rights
189
- Reserved" are retained in Python 1.6.1 alone or in any derivative
190
- version prepared by Licensee. Alternately, in lieu of CNRI's License
191
- Agreement, Licensee may substitute the following text (omitting the
192
- quotes): "Python 1.6.1 is made available subject to the terms and
193
- conditions in CNRI's License Agreement. This Agreement together with
194
- Python 1.6.1 may be located on the internet using the following
195
- unique, persistent identifier (known as a handle): 1895.22/1013. This
196
- Agreement may also be obtained from a proxy server on the internet
197
- using the following URL: http://hdl.handle.net/1895.22/1013".
198
-
199
- 3. In the event Licensee prepares a derivative work that is based on
200
- or incorporates Python 1.6.1 or any part thereof, and wants to make
201
- the derivative work available to others as provided herein, then
202
- Licensee hereby agrees to include in any such work a brief summary of
203
- the changes made to Python 1.6.1.
204
-
205
- 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
206
- basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
207
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
208
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
209
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
210
- INFRINGE ANY THIRD PARTY RIGHTS.
211
-
212
- 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
213
- 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
214
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
215
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
216
-
217
- 6. This License Agreement will automatically terminate upon a material
218
- breach of its terms and conditions.
219
-
220
- 7. This License Agreement shall be governed by the federal
221
- intellectual property law of the United States, including without
222
- limitation the federal copyright law, and, to the extent such
223
- U.S. federal law does not apply, by the law of the Commonwealth of
224
- Virginia, excluding Virginia's conflict of law provisions.
225
- Notwithstanding the foregoing, with regard to derivative works based
226
- on Python 1.6.1 that incorporate non-separable material that was
227
- previously distributed under the GNU General Public License (GPL), the
228
- law of the Commonwealth of Virginia shall govern this License
229
- Agreement only as to issues arising under or with respect to
230
- Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
231
- License Agreement shall be deemed to create any relationship of
232
- agency, partnership, or joint venture between CNRI and Licensee. This
233
- License Agreement does not grant permission to use CNRI trademarks or
234
- trade name in a trademark sense to endorse or promote products or
235
- services of Licensee, or any third party.
236
-
237
- 8. By clicking on the "ACCEPT" button where indicated, or by copying,
238
- installing or otherwise using Python 1.6.1, Licensee agrees to be
239
- bound by the terms and conditions of this License Agreement.
240
-
241
- ACCEPT
242
-
243
-
244
- CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
245
- --------------------------------------------------
246
-
247
- Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
248
- The Netherlands. All rights reserved.
249
-
250
- Permission to use, copy, modify, and distribute this software and its
251
- documentation for any purpose and without fee is hereby granted,
252
- provided that the above copyright notice appear in all copies and that
253
- both that copyright notice and this permission notice appear in
254
- supporting documentation, and that the name of Stichting Mathematisch
255
- Centrum or CWI not be used in advertising or publicity pertaining to
256
- distribution of the software without specific, written prior
257
- permission.
258
-
259
- STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
260
- THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
261
- FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
262
- FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
263
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
264
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
265
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
266
-
267
- ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
268
- ----------------------------------------------------------------------
269
-
270
- Permission to use, copy, modify, and/or distribute this software for any
271
- purpose with or without fee is hereby granted.
272
-
273
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
274
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
275
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
276
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
277
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
278
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
279
- PERFORMANCE OF THIS SOFTWARE.