DefPixel 0.1.2__69-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 (155) hide show
  1. DefPixel/DataAccessObject/Configuration.py +15 -0
  2. DefPixel/DataAccessObject/Connection.py +25 -0
  3. DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/Array.py +16 -0
  4. DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/JavaScriptObjectNotation.py +74 -0
  5. DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/__init__.py +51 -0
  6. DefPixel/DataAccessObject/Implements/PostgreSQL/Column.py +34 -0
  7. DefPixel/DataAccessObject/Implements/PostgreSQL/Compiler.py +161 -0
  8. DefPixel/DataAccessObject/Implements/PostgreSQL/Configuration.py +116 -0
  9. DefPixel/DataAccessObject/Implements/PostgreSQL/Connection.py +138 -0
  10. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraint.py +18 -0
  11. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Check.py +23 -0
  12. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Columns.py +24 -0
  13. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/ForeignKey.py +56 -0
  14. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/PrimaryKey.py +21 -0
  15. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Unique.py +25 -0
  16. DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/__init__.py +13 -0
  17. DefPixel/DataAccessObject/Implements/PostgreSQL/Context.py +48 -0
  18. DefPixel/DataAccessObject/Implements/PostgreSQL/Cursor.py +123 -0
  19. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Create.py +181 -0
  20. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Delete.py +31 -0
  21. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Drop.py +53 -0
  22. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Get.py +24 -0
  23. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Insert.py +98 -0
  24. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Query.py +37 -0
  25. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Select.py +122 -0
  26. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Update.py +57 -0
  27. DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/__init__.py +19 -0
  28. DefPixel/DataAccessObject/Implements/PostgreSQL/Expr.py +11 -0
  29. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Common.py +180 -0
  30. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Compare.py +87 -0
  31. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Condition.py +155 -0
  32. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/JavaScriptObjectNotation.py +53 -0
  33. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Operator.py +42 -0
  34. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/String.py +48 -0
  35. DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/__init__.py +75 -0
  36. DefPixel/DataAccessObject/Implements/PostgreSQL/Function.py +11 -0
  37. DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/Common.py +142 -0
  38. DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/DateTime.py +219 -0
  39. DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/JavaScriptObjectNotation.py +100 -0
  40. DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/Sequence.py +55 -0
  41. DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/__init__.py +91 -0
  42. DefPixel/DataAccessObject/Implements/PostgreSQL/Index.py +135 -0
  43. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/FullOuter.py +15 -0
  44. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/Inner.py +15 -0
  45. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/Join.py +41 -0
  46. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/LeftOuter.py +15 -0
  47. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/RightOuter.py +15 -0
  48. DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/__init__.py +15 -0
  49. DefPixel/DataAccessObject/Implements/PostgreSQL/Mapping.py +359 -0
  50. DefPixel/DataAccessObject/Implements/PostgreSQL/Orders.py +59 -0
  51. DefPixel/DataAccessObject/Implements/PostgreSQL/Pool.py +84 -0
  52. DefPixel/DataAccessObject/Implements/PostgreSQL/Schema.py +28 -0
  53. DefPixel/DataAccessObject/Implements/PostgreSQL/Sequence.py +55 -0
  54. DefPixel/DataAccessObject/Implements/PostgreSQL/Session.py +84 -0
  55. DefPixel/DataAccessObject/Implements/PostgreSQL/Type.py +113 -0
  56. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Array.py +61 -0
  57. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Binary.py +34 -0
  58. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Bool.py +29 -0
  59. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/DateTime.py +120 -0
  60. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/JavaScriptObjectNotation.py +52 -0
  61. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Numeric.py +151 -0
  62. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Size.py +13 -0
  63. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/String.py +80 -0
  64. DefPixel/DataAccessObject/Implements/PostgreSQL/Types/__init__.py +76 -0
  65. DefPixel/DataAccessObject/Implements/PostgreSQL/__init__.py +85 -0
  66. DefPixel/DataAccessObject/Implements/Sqlite/Configuration.py +16 -0
  67. DefPixel/DataAccessObject/Implements/Sqlite/Connection.py +96 -0
  68. DefPixel/DataAccessObject/Implements/Sqlite/Constraint.py +9 -0
  69. DefPixel/DataAccessObject/Implements/Sqlite/Constraints/ForeignKey.py +16 -0
  70. DefPixel/DataAccessObject/Implements/Sqlite/Constraints/PrimaryKey.py +15 -0
  71. DefPixel/DataAccessObject/Implements/Sqlite/Constraints/Unique.py +25 -0
  72. DefPixel/DataAccessObject/Implements/Sqlite/Constraints/__init__.py +11 -0
  73. DefPixel/DataAccessObject/Implements/Sqlite/Context.py +36 -0
  74. DefPixel/DataAccessObject/Implements/Sqlite/Cursor.py +87 -0
  75. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Create.py +115 -0
  76. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Delete.py +35 -0
  77. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Drop.py +34 -0
  78. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Get.py +24 -0
  79. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Insert.py +59 -0
  80. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Select.py +109 -0
  81. DefPixel/DataAccessObject/Implements/Sqlite/Executors/Update.py +34 -0
  82. DefPixel/DataAccessObject/Implements/Sqlite/Executors/__init__.py +19 -0
  83. DefPixel/DataAccessObject/Implements/Sqlite/Expr.py +42 -0
  84. DefPixel/DataAccessObject/Implements/Sqlite/Exprs/Alias.py +20 -0
  85. DefPixel/DataAccessObject/Implements/Sqlite/Exprs/Is.py +29 -0
  86. DefPixel/DataAccessObject/Implements/Sqlite/Exprs/__init__.py +13 -0
  87. DefPixel/DataAccessObject/Implements/Sqlite/Filters/Compare.py +149 -0
  88. DefPixel/DataAccessObject/Implements/Sqlite/Filters/Operator.py +26 -0
  89. DefPixel/DataAccessObject/Implements/Sqlite/Filters/String.py +23 -0
  90. DefPixel/DataAccessObject/Implements/Sqlite/Filters/__init__.py +30 -0
  91. DefPixel/DataAccessObject/Implements/Sqlite/Function.py +15 -0
  92. DefPixel/DataAccessObject/Implements/Sqlite/Functions/Common.py +34 -0
  93. DefPixel/DataAccessObject/Implements/Sqlite/Functions/Condition.py +21 -0
  94. DefPixel/DataAccessObject/Implements/Sqlite/Functions/__init__.py +16 -0
  95. DefPixel/DataAccessObject/Implements/Sqlite/Index.py +23 -0
  96. DefPixel/DataAccessObject/Implements/Sqlite/Joins/FullOuter.py +19 -0
  97. DefPixel/DataAccessObject/Implements/Sqlite/Joins/Inner.py +19 -0
  98. DefPixel/DataAccessObject/Implements/Sqlite/Joins/Join.py +31 -0
  99. DefPixel/DataAccessObject/Implements/Sqlite/Joins/LeftOuter.py +19 -0
  100. DefPixel/DataAccessObject/Implements/Sqlite/Joins/RightOuter.py +19 -0
  101. DefPixel/DataAccessObject/Implements/Sqlite/Joins/__init__.py +13 -0
  102. DefPixel/DataAccessObject/Implements/Sqlite/Mapping.py +303 -0
  103. DefPixel/DataAccessObject/Implements/Sqlite/Orders/Ascend.py +24 -0
  104. DefPixel/DataAccessObject/Implements/Sqlite/Orders/Descend.py +24 -0
  105. DefPixel/DataAccessObject/Implements/Sqlite/Orders/__init__.py +9 -0
  106. DefPixel/DataAccessObject/Implements/Sqlite/Session.py +60 -0
  107. DefPixel/DataAccessObject/Implements/Sqlite/Type.py +75 -0
  108. DefPixel/DataAccessObject/Implements/Sqlite/Types/Binary.py +28 -0
  109. DefPixel/DataAccessObject/Implements/Sqlite/Types/DateTime.py +42 -0
  110. DefPixel/DataAccessObject/Implements/Sqlite/Types/Numeric.py +49 -0
  111. DefPixel/DataAccessObject/Implements/Sqlite/Types/String.py +28 -0
  112. DefPixel/DataAccessObject/Implements/Sqlite/Types/__init__.py +34 -0
  113. DefPixel/DataAccessObject/Implements/Sqlite/__init__.py +39 -0
  114. DefPixel/DataAccessObject/Implements/__init__.py +1 -0
  115. DefPixel/DataAccessObject/Properties/Database/Context.py +33 -0
  116. DefPixel/DataAccessObject/Properties/Database/Cursor.py +27 -0
  117. DefPixel/DataAccessObject/Properties/Database/Database.py +48 -0
  118. DefPixel/DataAccessObject/Properties/Database/Executor.py +38 -0
  119. DefPixel/DataAccessObject/Properties/Database/Executors.py +31 -0
  120. DefPixel/DataAccessObject/Properties/Database/Fetch.py +37 -0
  121. DefPixel/DataAccessObject/Properties/Database/Filter.py +21 -0
  122. DefPixel/DataAccessObject/Properties/Database/Run.py +39 -0
  123. DefPixel/DataAccessObject/Properties/Database/Session.py +36 -0
  124. DefPixel/DataAccessObject/Properties/Database/__init__.py +25 -0
  125. DefPixel/DataAccessObject/Properties/Dataclass.py +25 -0
  126. DefPixel/DataAccessObject/Properties/Document/Document.py +36 -0
  127. DefPixel/DataAccessObject/Properties/Document/__init__.py +7 -0
  128. DefPixel/DataAccessObject/Properties/Index/Index.py +48 -0
  129. DefPixel/DataAccessObject/Properties/Index/__init__.py +7 -0
  130. DefPixel/DataAccessObject/Properties/KeyValue/KeyValue.py +44 -0
  131. DefPixel/DataAccessObject/Properties/KeyValue/__init__.py +7 -0
  132. DefPixel/DataAccessObject/Properties/__init__.py +15 -0
  133. DefPixel/DataAccessObject/__init__.py +9 -0
  134. DefPixel/Validator/Pattern.py +36 -0
  135. DefPixel/Validator/Patterns/Array.py +30 -0
  136. DefPixel/Validator/Patterns/Common.py +92 -0
  137. DefPixel/Validator/Patterns/Compare.py +180 -0
  138. DefPixel/Validator/Patterns/Condition.py +60 -0
  139. DefPixel/Validator/Patterns/DataObject.py +85 -0
  140. DefPixel/Validator/Patterns/DateTime.py +111 -0
  141. DefPixel/Validator/Patterns/Number.py +43 -0
  142. DefPixel/Validator/Patterns/Object.py +150 -0
  143. DefPixel/Validator/Patterns/Size.py +110 -0
  144. DefPixel/Validator/Patterns/String.py +85 -0
  145. DefPixel/Validator/Patterns/Type.py +350 -0
  146. DefPixel/Validator/Patterns/__init__.py +137 -0
  147. DefPixel/Validator/Validate.py +29 -0
  148. DefPixel/Validator/Validator.py +30 -0
  149. DefPixel/Validator/__init__.py +11 -0
  150. DefPixel/__init__.py +0 -0
  151. defpixel-0.1.2.dist-info/METADATA +179 -0
  152. defpixel-0.1.2.dist-info/RECORD +155 -0
  153. defpixel-0.1.2.dist-info/WHEEL +6 -0
  154. defpixel-0.1.2.dist-info/licenses/LICENSE +674 -0
  155. defpixel-0.1.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,137 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ # COMMON
4
+ from .Common import (
5
+ SetDefault,
6
+ IsOptional,
7
+ IsNotToNone,
8
+ IsNotEmpty,
9
+ )
10
+
11
+ # SIZE
12
+ from .Size import (
13
+ IsSizeOf,
14
+ IsSizeIn,
15
+ IsMinSizeOf,
16
+ IsMaxSizeOf,
17
+ )
18
+
19
+ # COMPARE
20
+ from .Compare import (
21
+ IsEqualTo,
22
+ IsNotEqualTo,
23
+ IsGreaterThan,
24
+ IsGreaterEqualTo,
25
+ IsLessEqualTo,
26
+ IsLessThan,
27
+ IsIn,
28
+ IsNotIn,
29
+ )
30
+
31
+ # CONDITION
32
+ from .Condition import (
33
+ All,
34
+ Any,
35
+ )
36
+
37
+ # TYPE
38
+ from .Type import (
39
+ IsTypeOf,
40
+ IsBool,
41
+ IsInteger,
42
+ IsFloat,
43
+ IsNumber,
44
+ IsString,
45
+ IsList,
46
+ IsTuple,
47
+ IsSet,
48
+ IsArray,
49
+ IsObject,
50
+ IsByteString,
51
+ IsByteArray,
52
+ IsDecimal,
53
+ IsDataObject,
54
+ ToTypeOf,
55
+ ToBool,
56
+ ToInteger,
57
+ ToFloat,
58
+ ToString,
59
+ ToList,
60
+ ToTuple,
61
+ ToSet,
62
+ ToObject,
63
+ ToByteString,
64
+ ToByteArray,
65
+ ToDecimal,
66
+ ToDataObject,
67
+ )
68
+ from .DateTime import (
69
+ IsDateTime,
70
+ IsDate,
71
+ IsTime,
72
+ ToDateTime,
73
+ ToDate,
74
+ ToTime,
75
+ )
76
+
77
+
78
+ __all__ = (
79
+ # COMMON
80
+ 'SetDefault',
81
+ 'IsOptional',
82
+ 'IsNotToNone',
83
+ 'IsNotEmpty',
84
+ # SIZE
85
+ 'IsSizeOf',
86
+ 'IsSizeIn',
87
+ 'IsMinSizeOf',
88
+ 'IsMaxSizeOf',
89
+ # COMPARE
90
+ 'IsEqualTo',
91
+ 'IsNotEqualTo',
92
+ 'IsGreaterThan',
93
+ 'IsGreaterEqualTo',
94
+ 'IsLessEqualTo',
95
+ 'IsLessThan',
96
+ 'IsIn',
97
+ 'IsNotIn',
98
+ # CONDITION
99
+ 'All',
100
+ 'Any',
101
+ # TYPE
102
+ 'IsTypeOf',
103
+ 'IsBool',
104
+ 'IsInteger',
105
+ 'IsFloat',
106
+ 'IsNumber',
107
+ 'IsString',
108
+ 'IsList',
109
+ 'IsTuple',
110
+ 'IsSet',
111
+ 'IsArray',
112
+ 'IsObject',
113
+ 'IsByteString',
114
+ 'IsByteArray',
115
+ 'IsDecimal',
116
+ 'IsDataObject',
117
+ 'ToTypeOf',
118
+ 'ToBool',
119
+ 'ToInteger',
120
+ 'ToFloat',
121
+ 'ToString',
122
+ 'ToList',
123
+ 'ToTuple',
124
+ 'ToSet',
125
+ 'ToObject',
126
+ 'ToByteString',
127
+ 'ToByteArray',
128
+ 'ToDecimal',
129
+ 'ToDataObject',
130
+ # DateTime
131
+ 'IsDateTime',
132
+ 'IsDate',
133
+ 'IsTime',
134
+ 'ToDateTime',
135
+ 'ToDate',
136
+ 'ToTime',
137
+ )
@@ -0,0 +1,29 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from .Validator import Validator
4
+ from .Patterns import IsObject
5
+ from .Patterns.Object import IsMappingOf
6
+
7
+ from functools import wraps
8
+ from inspect import signature
9
+
10
+ __all__ = (
11
+ 'Validate',
12
+ )
13
+
14
+
15
+ class Validate(object):
16
+ """Decorator for Validator of Function and Method"""
17
+ def __init__(self, mappings: dict):
18
+ self.mappings = mappings
19
+ return
20
+
21
+ def __call__(self, fn: callable):
22
+ @wraps(fn)
23
+ def wrapper(*args, **kwargs):
24
+ validator = Validator(IsObject(IsMappingOf(self.mappings)))
25
+ bound = signature(fn).bind(*args, **kwargs)
26
+ bound.apply_defaults()
27
+ bound.arguments = validator(dict(bound.arguments))
28
+ return fn(*bound.args, **bound.kwargs)
29
+ return wrapper
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from .Pattern import Pattern
4
+
5
+ __all__ = (
6
+ 'Validator',
7
+ )
8
+
9
+
10
+ class Validator(object):
11
+ """
12
+ Validator Class
13
+ """
14
+ def __init__(self, *args):
15
+ for pattern in args:
16
+ if not isinstance(pattern, Pattern):
17
+ raise RuntimeError('{} must be based {}'.format(pattern, Pattern))
18
+ self.patterns = args
19
+ return
20
+
21
+ def __call__(self, parameter):
22
+ for pattern in self.patterns:
23
+ parameter = pattern(parameter)
24
+ return parameter
25
+
26
+ def __repr__(self):
27
+ return 'Validator({})'.format(
28
+ ', '.join([repr(p) for p in self.patterns])
29
+ )
30
+
@@ -0,0 +1,11 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from .Validator import Validator
4
+ from .Pattern import Pattern
5
+ from .Validate import Validate
6
+
7
+ __all__ = (
8
+ 'Validator',
9
+ 'Pattern',
10
+ 'Validate',
11
+ )
DefPixel/__init__.py ADDED
File without changes
@@ -0,0 +1,179 @@
1
+ Metadata-Version: 2.4
2
+ Name: DefPixel
3
+ Version: 0.1.2
4
+ Summary: A Python toolkit for data connections, modling, and access
5
+ Home-page: https://github.com/yong5eon/DefPixel
6
+ Author: Heo Yongseon
7
+ Project-URL: Source, https://github.com/yong5eon/DefPixel
8
+ Project-URL: Issues, https://github.com/yong5eon/DefPixel/issues
9
+ Project-URL: Releases, https://github.com/yong5eon/DefPixel/releases
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Provides-Extra: postgresql
19
+ Requires-Dist: psycopg[binary,pool]<4,>=3.3; extra == "postgresql"
20
+ Dynamic: author
21
+ Dynamic: classifier
22
+ Dynamic: description
23
+ Dynamic: description-content-type
24
+ Dynamic: home-page
25
+ Dynamic: license-file
26
+ Dynamic: project-url
27
+ Dynamic: provides-extra
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # DefPixel
32
+
33
+ Define your data connections, models, and access in Python.
34
+
35
+ **Define your pixels.**<br>
36
+ **Shape your voxels.**
37
+
38
+ DefPixel is a Python library for defining data source connections, models, and access. Use a provided data access implementation or build your own, and work with data directly or through standard dataclasses.
39
+
40
+ ## Connect · model · use
41
+
42
+ - Define connections: storage-specific configuration and data access capabilities.
43
+ - Define models: storage specifications and validation rules attached to standard dataclasses.
44
+ - Use your data: direct access without models, or storage and retrieval through models.
45
+
46
+ Configuration and Connection provide connection foundations. Database, KeyValue, Document, and Index Protocols describe capabilities. Modeling approaches and support vary by implementation. Validators also provide independent value validation and conversion.
47
+
48
+ ## Requirements and installation
49
+
50
+ Python 3.10+ is required.
51
+
52
+ ### Sqlite
53
+
54
+ The Sqlite implementation is included in the base installation and uses Python's standard-library `sqlite3`. Model-based usage requires Sqlite 3.35+ as used by Python.
55
+
56
+ ```shell
57
+ pip install DefPixel
58
+ ```
59
+
60
+ ### PostgreSQL
61
+
62
+ Install the `PostgreSQL` extra to include the PostgreSQL driver. A running PostgreSQL 15–18 server is required. This installation also includes the Sqlite implementation.
63
+
64
+ ```shell
65
+ pip install "DefPixel[PostgreSQL]"
66
+ ```
67
+
68
+ ## Usage at a glance
69
+
70
+ ### Database
71
+
72
+ #### Sqlite
73
+
74
+ Execute SQL directly for dictionary results or map standard dataclasses to tables and retrieve objects. This complete example requires Sqlite 3.35+ as used by Python.
75
+
76
+ ```python
77
+ from dataclasses import dataclass
78
+ from DefPixel.DataAccessObject.Implements.Sqlite import (
79
+ Configuration, Connection, column, table,
80
+ )
81
+ from DefPixel.DataAccessObject.Implements.Sqlite.Constraints import PrimaryKey
82
+ from DefPixel.DataAccessObject.Implements.Sqlite.Executors import Create, Insert, Select
83
+ from DefPixel.DataAccessObject.Implements.Sqlite.Types import Integer, Text
84
+
85
+
86
+ @table(name='users', constraints=(PrimaryKey('id'),))
87
+ @dataclass
88
+ class User:
89
+ id: int = column(Integer())
90
+ name: str = column(Text())
91
+
92
+
93
+ connection = Connection(Configuration(':memory:'))
94
+ connection.connect()
95
+ try:
96
+ with connection.session() as session:
97
+ session.run(Create(User))
98
+ session.run(Insert(User).values(id=1, name='Alice'))
99
+
100
+ rows = session.execute(
101
+ 'SELECT id, name FROM users WHERE id = ?', 1,
102
+ ).rows()
103
+ print(rows)
104
+
105
+ users = session.run(Select(User), fetch=User)
106
+ print(users)
107
+ finally:
108
+ connection.close()
109
+ ```
110
+
111
+ Output:
112
+
113
+ ```text
114
+ [{'id': 1, 'name': 'Alice'}]
115
+ [User(id=1, name='Alice')]
116
+ ```
117
+
118
+ Sessions commit on normal completion and roll back on exceptions. Direct SQL does not require models. Models remain ordinary Python objects; attribute assignment does not automatically persist changes. No custom Model base class or Service/Repository/DTO structure is required.
119
+
120
+ #### PostgreSQL
121
+
122
+ PostgreSQL also supports direct SQL alongside dataclass mappings. Install the PostgreSQL extra above and adjust the connection settings for your server. Run this example in a development database: it creates and drops the `defpixel_readme_users` table.
123
+
124
+ ```python
125
+ from dataclasses import dataclass
126
+ from DefPixel.DataAccessObject.Implements.PostgreSQL import (
127
+ Configuration, Connection, Create, Drop, Insert, PrimaryKey, Select, column, table,
128
+ )
129
+ from DefPixel.DataAccessObject.Implements.PostgreSQL.Types import Integer, Text
130
+
131
+
132
+ @table('defpixel_readme_users', constraints=PrimaryKey('defpixel_readme_users_pk', 'id'))
133
+ @dataclass
134
+ class User:
135
+ id: int = column(Integer())
136
+ name: str = column(Text())
137
+
138
+
139
+ connection = Connection(Configuration(
140
+ host='127.0.0.1', port=5432, database='defpixel',
141
+ username='defpixel', password='change-me-local-only',
142
+ ))
143
+ connection.connect()
144
+ try:
145
+ with connection.session() as session:
146
+ session.run(Create(User))
147
+ session.run(Insert(User).values(id=1, name='Alice'))
148
+
149
+ rows = session.execute(
150
+ 'SELECT id, name FROM defpixel_readme_users WHERE id = %s', 1,
151
+ ).rows()
152
+ print(rows)
153
+
154
+ users = session.run(Select(User), fetch=User)
155
+ print(users)
156
+ session.run(Drop(User))
157
+ finally:
158
+ connection.close()
159
+ ```
160
+
161
+ Output:
162
+
163
+ ```text
164
+ [{'id': 1, 'name': 'Alice'}]
165
+ [User(id=1, name='Alice')]
166
+ ```
167
+
168
+ Direct SQL binds positional arguments with `%s` and keyword arguments with `%(name)s`. PostgreSQL constraints take a name as their first argument.
169
+
170
+ ## Supported implementations
171
+
172
+ - Sqlite: direct SQL, dataclass mappings, CRUD, tables, views, constraints, indexes, joins, aggregates, and transactions. Sqlite modeling requires Sqlite 3.35+.
173
+ - PostgreSQL: direct SQL, dataclass mappings, CRUD, schemas, sequences, tables, views, constraints, indexes, joins, aggregate/window/JSON functions, nested transactions, and connection pools. Requires PostgreSQL 15–18 and the `PostgreSQL` extra.
174
+
175
+ ## Build your own
176
+
177
+ Implement the capability Protocols for the store you need, without inheriting a provided implementation or adapting every store to SQL.
178
+
179
+ The source repository includes step-by-step implementation development guides and Sqlite and PostgreSQL user manuals.
@@ -0,0 +1,155 @@
1
+ DefPixel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ DefPixel/DataAccessObject/Configuration.py,sha256=vX8QcjmRceE469N-KMjd08NDZme8fD0h-k6oFFcvSDQ,321
3
+ DefPixel/DataAccessObject/Connection.py,sha256=Noi8dIBgZ3drfCe37Cq6RAahBNIri50tZbeonCXe0tI,639
4
+ DefPixel/DataAccessObject/__init__.py,sha256=O_GTr0rSz0KddlR8a-Xq0pV81IOsj8-0wBnMSvFwY6w,149
5
+ DefPixel/DataAccessObject/Implements/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
6
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Column.py,sha256=5R1mIp6LDIB1IIG2w1Mm3U6qFerNF7Tp5zzvStM2lP0,606
7
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Compiler.py,sha256=uuDs4BRFX4kVLXjL1Xdt-1JbHG--nMYYJXGDMsX2YA4,4033
8
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Configuration.py,sha256=AEPQzOLp1knO4afwoa_IxQAunBOOPtmdGZqjVuwvCoI,3287
9
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Connection.py,sha256=I6SBlDc8vMBeLSft_YqmSm_SuciidhwLqhNO0IRVB9k,3395
10
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraint.py,sha256=lEmteXdgmB1QiFOIHPoY2iWCDzuCzr138lyVIDLOYCg,244
11
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Context.py,sha256=uUU-TNn9150ra2HOgKdG-SdX66O68I-U0BiHxOnB59g,1057
12
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Cursor.py,sha256=2Obx8hjFfBq_GgYy63ppFcd-cGH4fpcVqsB3MlXkpnc,2537
13
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Expr.py,sha256=bkGyjtN6IiuQeg0MH8xzaduYUfMrvNngMvmYmNtzZdo,181
14
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Function.py,sha256=5JX3TnUIfwLeeSkEfbi6ERpIAOYq6EqkEhInemVFikk,187
15
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Index.py,sha256=9MUNZ0S8eOV8iSZfkKgSO0GEFI12BY-t_9Hi0MgYB8M,2952
16
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Mapping.py,sha256=EpHprVDo0D4PVy9KMQWFkWeAwz26XSYaQZrEJWUoQc0,8761
17
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Orders.py,sha256=Wsnd5plXQ6QCEGCNs6-TLGTkeua6R-Fk254qDl7M7Fw,1058
18
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Pool.py,sha256=5W3ofM_gCzCNgHbynVfetWk7sznfaUJuXHutpGaj554,2231
19
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Schema.py,sha256=mSAqGX57Qm8umhPRcPSkQewSOLC-KYsi-TV9XRH_VRc,441
20
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Sequence.py,sha256=d8BqM3DhQ-xVeRuJ9ihuwdbsioiTxzHBpC-uH62cq_A,1216
21
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Session.py,sha256=liX03RAyHYfm34JO9GKu-fGl7C66TckYHgHipqH76QA,2281
22
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Type.py,sha256=wace2HKa9BxufMhgix3NsQs96yiCVgludkIUDW0y9U8,2778
23
+ DefPixel/DataAccessObject/Implements/PostgreSQL/__init__.py,sha256=DdH_v1Z9AMrfLPi4pNY4DwBxxthO_TFbMgCRMv-RAsY,1300
24
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/Array.py,sha256=ix5jaHMiQoWtH85HADwZV1XEl_nuL33PGFV6Xqr0eqo,289
25
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/JavaScriptObjectNotation.py,sha256=vkVb7xzC8qr-NEuOXXQrO2mJM5qp3CKPJ40RY5yb0No,1737
26
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Adapters/__init__.py,sha256=LhfavnmA91kLsUieCtrfk8XLyu3OfdKTo5GfFYceWb0,1247
27
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Check.py,sha256=RvxduIw4-1Sw4W7w1ha20QmoaSoQcEGajCtTb5ti5PM,427
28
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Columns.py,sha256=6EJrBO0Hk-4n2tmDnXIAJoCQjhNIYcB4fXkBvfGZ_p4,678
29
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/ForeignKey.py,sha256=zr_TZKkyPNzjnPNUi1_-too-05Hoim4JT6sZiKKEiEs,1438
30
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/PrimaryKey.py,sha256=gXFoOcwbceBrYx0FhhSrCUwflQ7pgxLOgfa7VOtivE8,299
31
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/Unique.py,sha256=H001YH9mN5TvkmoRS_V_mLaSjU1EnGlgADWK3DGK2OA,462
32
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Constraints/__init__.py,sha256=L38DmHNASR0GiBMHI5uW35g1C9RNnVJixDPAYH3WN6w,212
33
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Create.py,sha256=kdX8B1XZmEujeHrG2GvuNe6HPhP-LwK4YyFbo29fsiU,5375
34
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Delete.py,sha256=_xIHCUWZzqgROZOm-sISIN3YCgcFHGd6sf8awmXteyc,705
35
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Drop.py,sha256=CurqTMi8gYtZkEgicOC_slCEcMCDAQSCXw23SJWXj9k,1282
36
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Get.py,sha256=Ah6Eo2r8esGvd_yBbNkdb1vWcf9d9tme2KY2x9n9l2o,320
37
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Insert.py,sha256=rxvfkRPTPlUheZV-p85qUfTWJvL7e7-Z8Tj8Yzl21eU,2309
38
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Query.py,sha256=RJOb_TbQJd41CEFifnQ9tJUE5yPKQxkIFGFYqQ5hLQs,689
39
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Select.py,sha256=RkDjWlFxsHDX57-BAxN39AmY7iEFLVlLt5ZmaPJqPxo,2857
40
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/Update.py,sha256=xFuunAaii0CTAkbXne8GvttPvePlqpYiScJedtHFQWQ,1286
41
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Executors/__init__.py,sha256=G6NVlSCABqI6feWyK-5bqlrsGcqD42jod47AobhDJ0o,290
42
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Common.py,sha256=65t1NClKO5eKLPAZUC2J7fFe34zF7mGc2d_qaQ-Ap5I,3838
43
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Compare.py,sha256=Ngn65LfdvsLC1-5VULz3YH_r-lfcUvTK0teqe50ILhY,1748
44
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Condition.py,sha256=pNbJgQr5mjN6kSUACHx7KEmW6P9KUkkopYpx6CMDVQw,3045
45
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/JavaScriptObjectNotation.py,sha256=EVoA2BdIBfp1Wbgd0nN-nOzJWU9bnOJHJbTVthZ6uTE,1181
46
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/Operator.py,sha256=nHcJjsJ5Apii8ZmZvrR8ZuUVYS9A5UAzjwlJRM8_jmc,839
47
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/String.py,sha256=IjXeY9zi5Dz0q43Y7361epWBGTHntpXrnws0-HJXyAo,828
48
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Exprs/__init__.py,sha256=I-vkovnnK-qoDoGgGyM1INqwVOkKpxSjYzIOnTZWaCw,865
49
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/Common.py,sha256=wbNnbC6Ii8BVJef_MSCs-HCHYKotuIDmJUm3BG2_RBg,2632
50
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/DateTime.py,sha256=4hJyXk8alQEv0FwcWM05O_O8gYS8CZnhsPt4jQ5kH5k,4141
51
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/JavaScriptObjectNotation.py,sha256=1DOLGhxeAIrR8TQrmrVt9fk6yjt6UOy8pNtDm9njdao,2280
52
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/Sequence.py,sha256=Ev_7R8SNE3_Lyob9Ck5d7F77XSvepc9JWl5CnKTBGDI,1315
53
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Functions/__init__.py,sha256=9WfXTciddsQ0cgJ-wbam9xc6zKOk5j9D_FjeNtxZox0,1091
54
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/FullOuter.py,sha256=c2CNw2echKzZuNXwTVp5DnI5QUehFYHXCKu65hvo6Gk,217
55
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/Inner.py,sha256=xB5lRIwuqgOvN0009T0GfEmaJigmQfUSSwTCg0pz-58,199
56
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/Join.py,sha256=DYsGFEPx0hM5wQPeUEialsdov-9Tn6OxGUz8HT4ycLc,1007
57
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/LeftOuter.py,sha256=H533yKWFD8IbuSYtbOKpZnxR2gcuDQv-VE-2_kYeFII,217
58
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/RightOuter.py,sha256=ei7Riikrfk30Q5qp9vtY4MOUdK2GOGQUQS9N6QJDR4I,221
59
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Joins/__init__.py,sha256=KNl-lMbG1v9j86bxuBkkeEKDLBxdCGKh8DhQTFwajHA,250
60
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Array.py,sha256=PdMZExrRFJnFKowNmuN4Zbh8DdTLbuO_xqrO5OsqLpk,1281
61
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Binary.py,sha256=Qo_dbiKX3FV0jmfRP2fSODB5QER0xTiamnPyOCeIPvo,530
62
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Bool.py,sha256=P97FVp3iSUyiaVcUSun0t6NKeysJzObaoBuhpsHyulM,370
63
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/DateTime.py,sha256=8hD187crLylq888_AaLgUu6YZrCfrZzqg1v8TjbzadQ,2458
64
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/JavaScriptObjectNotation.py,sha256=caAWDG_7j5mTWjMeu6yjGm9xip8leFe9sLOvh0l38pw,954
65
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Numeric.py,sha256=8CZE7BP3PAqz-azGaDGLqxA9o1jR4FAxZflTa2SxXKg,2581
66
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/Size.py,sha256=DyNpDTbatlWNn8fhPE-NLq1qKqLvCkGBKY2pY-8tGvU,262
67
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/String.py,sha256=iXcAuQSZrCJAWAdM1N4csvFpKxyoO06wT9Pcr-UjUus,1235
68
+ DefPixel/DataAccessObject/Implements/PostgreSQL/Types/__init__.py,sha256=D34zU9CUpNWWIQWJSOE05bMt36J2ipicT8tZXPrDG4M,1354
69
+ DefPixel/DataAccessObject/Implements/Sqlite/Configuration.py,sha256=9PdXvH1fm3VDELKm6HgvbC7WR0Zu_BZlCFHdwvO_hxs,328
70
+ DefPixel/DataAccessObject/Implements/Sqlite/Connection.py,sha256=8oUTl54MYS6cSGFZlWNpQncLqcmP1b6xfS0e4JwVN9Q,1725
71
+ DefPixel/DataAccessObject/Implements/Sqlite/Constraint.py,sha256=EEWD2w3vNzx47nGDv6uWrkOSDSBgGR7JvT5IHKO1YVo,128
72
+ DefPixel/DataAccessObject/Implements/Sqlite/Context.py,sha256=liR5jvuGC39i4_GIkhPWUVYELFlkEnf1sfiyif-YjCU,716
73
+ DefPixel/DataAccessObject/Implements/Sqlite/Cursor.py,sha256=PFQkGUWmQigqZsBOSyJqCqy5FZhUPkfw0SL5x4DD9rs,1733
74
+ DefPixel/DataAccessObject/Implements/Sqlite/Expr.py,sha256=1ScoQDjFE4PvR0X7unV8-3RKuH83G1WznFCzw4-y5dc,1016
75
+ DefPixel/DataAccessObject/Implements/Sqlite/Function.py,sha256=Ij8BrjQLLfKrwznKynZvCcDJwYhJ_O5GTz2BtaVuFa0,287
76
+ DefPixel/DataAccessObject/Implements/Sqlite/Index.py,sha256=uYBmlDUzsHpQWPxKAdqheVAqbZfnX2bx8pSAPVpRjcQ,392
77
+ DefPixel/DataAccessObject/Implements/Sqlite/Mapping.py,sha256=tTuAO_ox5_lJimpDHQIJI0XWlRaoHh64lDk4jeRHpCM,7324
78
+ DefPixel/DataAccessObject/Implements/Sqlite/Session.py,sha256=TyYBt6TTyP22RiKTokwlZ8qJwmiW9LHAKCmsUXGnt5I,1552
79
+ DefPixel/DataAccessObject/Implements/Sqlite/Type.py,sha256=RWLBBFWF72ctSVaXtFndirF1YY1_MO2fTCkSO4xi_tE,1538
80
+ DefPixel/DataAccessObject/Implements/Sqlite/__init__.py,sha256=x4SrGf5lfwnQOv97jTprKW1XaWdlNGL0BxTTMuhdC20,628
81
+ DefPixel/DataAccessObject/Implements/Sqlite/Constraints/ForeignKey.py,sha256=RhcawmCjRdl9IIAXGtj1sRTppOXSVhRKi0qVhM7O5Ls,382
82
+ DefPixel/DataAccessObject/Implements/Sqlite/Constraints/PrimaryKey.py,sha256=R8OWgZxl2xeNcMkK8Mb0nX6Sh28inXWs40G-d-qmHuc,283
83
+ DefPixel/DataAccessObject/Implements/Sqlite/Constraints/Unique.py,sha256=dmkY7mavoWX_G7aNDRjYp10NjlRp0usN1NzIGhgBzLQ,436
84
+ DefPixel/DataAccessObject/Implements/Sqlite/Constraints/__init__.py,sha256=ihf2F0HHMQuVBZj488xjWDLL5E8q3ILMn0tWJ4gPPZs,178
85
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Create.py,sha256=KUYMPzY15m4kMe9xctO97Jk9IHsUTuNhFbVGFlQERwU,3724
86
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Delete.py,sha256=j3owVMaMVqOkrgxTl-zNwOfg9qmI4TEzNIBE4lnY7U4,637
87
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Drop.py,sha256=yXbxnBKcfvyBmvYeqc2emKHqx_WPsJskJSQCOoAt3lI,569
88
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Get.py,sha256=QrU7cVQooHiQoLkz4IldQn1lwkH_T4aBcK9ao0ZNavE,344
89
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Insert.py,sha256=HWuCvniA3kwpT8lPlla2sKkyn8oiIHX1i5FsDq09WcQ,1144
90
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Select.py,sha256=Mhg9Kclo5c8ZYxRmf_1a4uVTYSQ1AT_MuJTKuvXuvh4,2292
91
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/Update.py,sha256=_rSkVcqOo3SiIQ_Fre_EIJraLfsjHe6EiEo5slCjl_4,735
92
+ DefPixel/DataAccessObject/Implements/Sqlite/Executors/__init__.py,sha256=WL7-56bAp3cuySJK4nMjec4ntZoaxE5MlsBcgyQ08jU,291
93
+ DefPixel/DataAccessObject/Implements/Sqlite/Exprs/Alias.py,sha256=KjA8AbaaKND3BTD-xQ5xfd4pplVg2ApcgFjDYOygQ4o,289
94
+ DefPixel/DataAccessObject/Implements/Sqlite/Exprs/Is.py,sha256=gaoxzxopzhYm2MAYKfZoAD5-WykRS2o1CplV7zb9id0,424
95
+ DefPixel/DataAccessObject/Implements/Sqlite/Exprs/__init__.py,sha256=xsXa2Kwu333v4ta0Vn5PNvSn_r0u_PahAJlJYaJtUPI,141
96
+ DefPixel/DataAccessObject/Implements/Sqlite/Filters/Compare.py,sha256=brpigQpH4aEt_dKg8nDYUIGmCZBXXrVIq2AfGcwNJNo,3136
97
+ DefPixel/DataAccessObject/Implements/Sqlite/Filters/Operator.py,sha256=tT0OjZMUS8d2rZaVspbJfFpi1r3Exr1q3W1mOFVZmJw,394
98
+ DefPixel/DataAccessObject/Implements/Sqlite/Filters/String.py,sha256=Y4ezV_FWaRUZRVmuyyd6ZCopz8wQdUnEuaTKgLk6dqw,340
99
+ DefPixel/DataAccessObject/Implements/Sqlite/Filters/__init__.py,sha256=JZ5F2LsPIaoylXmmZKxtzxEyzADrpqX6exN-wTdG6aI,336
100
+ DefPixel/DataAccessObject/Implements/Sqlite/Functions/Common.py,sha256=NlhrqBECN5y_WgwHuiHDmgOMG6Fg14l2pDTUwkM7mWY,561
101
+ DefPixel/DataAccessObject/Implements/Sqlite/Functions/Condition.py,sha256=1UjopuQvWy0DgRRGpcxUr6gE_CGPkmRA1g1lO_Y80y0,415
102
+ DefPixel/DataAccessObject/Implements/Sqlite/Functions/__init__.py,sha256=QZ_NTW23OlcOhoa3Z7Ubwpo-v9ePF9ghur57jnkWtFo,160
103
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/FullOuter.py,sha256=i_rihxmoHsY3ANmBhPes1zYVo2_wHeMTbK4TFqZ0S6E,347
104
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/Inner.py,sha256=uEGasqpmU7IbtPHSwTq2cK9R6lgxoelUjgxPxjCzcI0,325
105
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/Join.py,sha256=Fy4Q1qXjRhjYn8nVPIKWCXcvATKjbAaHSQgML2g6L0M,492
106
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/LeftOuter.py,sha256=Spg1oWNBysGpL_KZPzvttBwb5HP1fDg1O3uzVy_Zzwo,342
107
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/RightOuter.py,sha256=_dWi0F65WDUjpnATDTQiRTObu7fAATFaKPV6p7pv7DE,352
108
+ DefPixel/DataAccessObject/Implements/Sqlite/Joins/__init__.py,sha256=apE9Gssjlvlwcj84Ncd7Cjfjc3_AESfBTIehq6zE390,219
109
+ DefPixel/DataAccessObject/Implements/Sqlite/Orders/Ascend.py,sha256=c_kBy8DP3TsoCDsAewtQ95gUpJlptZvMWR291OrdYC0,416
110
+ DefPixel/DataAccessObject/Implements/Sqlite/Orders/Descend.py,sha256=4TjRet_8BcNRrVjk5wJwUgpVvGESPWMsM8Utjm_l9YE,420
111
+ DefPixel/DataAccessObject/Implements/Sqlite/Orders/__init__.py,sha256=5B_qdFCZ2T5zLgzscKT0f3K5gRnMYWZ0-9QKvXbvovM,119
112
+ DefPixel/DataAccessObject/Implements/Sqlite/Types/Binary.py,sha256=RWEa2lpYFkRJRIo8Dt_e3X979jY4Bvxgg5I9gMCl08M,371
113
+ DefPixel/DataAccessObject/Implements/Sqlite/Types/DateTime.py,sha256=Gq4Z9RI05s_rMmgxDLACoBQpW93iHHqBYlxJJJ2eMes,794
114
+ DefPixel/DataAccessObject/Implements/Sqlite/Types/Numeric.py,sha256=yK8xDXQv8Mali-_KelpKu3CFcuFYq-CKMOb6TbomyZQ,656
115
+ DefPixel/DataAccessObject/Implements/Sqlite/Types/String.py,sha256=eHKAth6NzJydfV3OIjddE8KN10RKspXMmE-K-r3k_1I,363
116
+ DefPixel/DataAccessObject/Implements/Sqlite/Types/__init__.py,sha256=nBFrp4ou4Ya8jgC27hLD1v8wNoMLYyf7LEuoyOKodD8,497
117
+ DefPixel/DataAccessObject/Properties/Dataclass.py,sha256=0C3TJUM8yu-xWlG2YSX3Nn_91TeLlZ71iJPwvC38lVw,510
118
+ DefPixel/DataAccessObject/Properties/__init__.py,sha256=o0eygFnqsiVn6mRUKgbvzPX9MRBfXjB0GlbEOvE4HgE,254
119
+ DefPixel/DataAccessObject/Properties/Database/Context.py,sha256=FSfm_kTXHAsqTMLhkeDvlUDGGAPwg6pbs0shgItygbc,747
120
+ DefPixel/DataAccessObject/Properties/Database/Cursor.py,sha256=pcrdtShABO5-frJaFU6V4Sy8Dr53uO9HmnQp0tbGRJE,581
121
+ DefPixel/DataAccessObject/Properties/Database/Database.py,sha256=gml4LCEpWFWPurtp-lTtW8oX1rECNc8py9FnYsHbUKA,1337
122
+ DefPixel/DataAccessObject/Properties/Database/Executor.py,sha256=Uj3wTamWdurcCIIsyNyRtYzr3L2rKm_fbbckTyZNN5E,528
123
+ DefPixel/DataAccessObject/Properties/Database/Executors.py,sha256=uCrA8jzvXDLNDkYqZ9CZopQxICE_bSVt8qE7g3R2zrE,462
124
+ DefPixel/DataAccessObject/Properties/Database/Fetch.py,sha256=63GprAKEYIaRVEJEs4L9XBTsr1fRO9Yjw0l6w-ex28A,663
125
+ DefPixel/DataAccessObject/Properties/Database/Filter.py,sha256=v_lj7w80j88Ec68aNH9_Z7MFQrgtCXrrDzRwgF9F5VY,396
126
+ DefPixel/DataAccessObject/Properties/Database/Run.py,sha256=WLeSy5u2nLoXptXmUZ-CJqqmxCmaENgHAMS2hjWv78k,716
127
+ DefPixel/DataAccessObject/Properties/Database/Session.py,sha256=cvkORRfd6QsOHSsVCAM4j5nmZFD8TBKURSB55-IvZeM,908
128
+ DefPixel/DataAccessObject/Properties/Database/__init__.py,sha256=usBvrpiudUyfJwWFfXXVrGsZ9XaTO4OZUFmB2DFX144,399
129
+ DefPixel/DataAccessObject/Properties/Document/Document.py,sha256=DotRohWuvQCunIgOoYvdNfHmAW6mN-bd5wm5p1Hluys,946
130
+ DefPixel/DataAccessObject/Properties/Document/__init__.py,sha256=-p_0CYWIy3nk1u_EvgvOY4MBiWoIUNfP84NtuEdm3n4,84
131
+ DefPixel/DataAccessObject/Properties/Index/Index.py,sha256=h16ULzdadi5NfZ1VDct14rlojjmWwFdj1Q2HkrTH-UI,1386
132
+ DefPixel/DataAccessObject/Properties/Index/__init__.py,sha256=QeHKZq8mmOk_Lmtx88a8ZbCMMNrZ_TSStviXWEjGDjs,75
133
+ DefPixel/DataAccessObject/Properties/KeyValue/KeyValue.py,sha256=TqvAP7nNDQpoB6mnl0okF_Tr_3rFlBioBYwhGBzuKBQ,1209
134
+ DefPixel/DataAccessObject/Properties/KeyValue/__init__.py,sha256=AZBc44CWC4MVN5sz3sr2H7Fe4h-xDmuK0uBWp97TPYg,84
135
+ DefPixel/Validator/Pattern.py,sha256=gRRlEzS908b9OCXRpFnEG4gujNKCSTlhPUGwWGi-Dqg,674
136
+ DefPixel/Validator/Validate.py,sha256=2Edk1sWh5_4QdYTc1xakDLPXMAWNrrjso1TLi7ZQ4Gg,700
137
+ DefPixel/Validator/Validator.py,sha256=lvJGzDKecKIBAQrfFuSHBRUh6PCxiHRsabul6cYxcdA,556
138
+ DefPixel/Validator/__init__.py,sha256=juhR_lm3XpqU-BUnTjbaYbFNXa_zs9Xi9-x_9EyvJgE,172
139
+ DefPixel/Validator/Patterns/Array.py,sha256=XPc88iPhU2k30TIyMsB6pdDqUO_wjv-5YP96mTHbApc,514
140
+ DefPixel/Validator/Patterns/Common.py,sha256=JJIOAcPO6epnIINaVu5SuwmnQoK3rLQn6vYyZ3JBuX8,1817
141
+ DefPixel/Validator/Patterns/Compare.py,sha256=5xYVvaiQydvIi8WYgIADltSk0tz_ki76k-c89vZsFcw,3726
142
+ DefPixel/Validator/Patterns/Condition.py,sha256=V8iEG9onH6bxlUnqFY8jDdmm6BIx2SBeEJAluVHeEUM,1135
143
+ DefPixel/Validator/Patterns/DataObject.py,sha256=BTdbKGSYs1ebXNXmKP2m3T0iJeTBxIwgwl45gacpuUA,2258
144
+ DefPixel/Validator/Patterns/DateTime.py,sha256=2ejPyRxFbvWf_0FmUrtXTBTvMnp8nakfW_TyCsRY_h4,2515
145
+ DefPixel/Validator/Patterns/Number.py,sha256=k59Ue1Sw-D1iWz8OywjQljPVXdZlTawSl9jBpPjJKKY,919
146
+ DefPixel/Validator/Patterns/Object.py,sha256=94aa5eC35dZyrgBlbAEH5eB7v9YB8k_haru_EBeU1vw,3563
147
+ DefPixel/Validator/Patterns/Size.py,sha256=n-PdMTYNCw0-KN2wqWqK7nN6smVvrGLO4YfwBLlGA9Y,2016
148
+ DefPixel/Validator/Patterns/String.py,sha256=sR4s0GM1J8r1kiOyu4HkDUgIrz-9PvLthHM1IFTgSqw,1805
149
+ DefPixel/Validator/Patterns/Type.py,sha256=-z75Q3vYw6Br7T-gACIZNLV2PLLkFdHn67VcLxTDqEs,8758
150
+ DefPixel/Validator/Patterns/__init__.py,sha256=2Kkk6BrvcLl0C22I0WhGphp2dF55Ig2b3LY0DMDNWm8,1603
151
+ defpixel-0.1.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
152
+ defpixel-0.1.2.dist-info/METADATA,sha256=TbbOSABKsj_GerJAqsCPoCLWqCgotXqg7EkaKWHEgM0,6188
153
+ defpixel-0.1.2.dist-info/WHEEL,sha256=E2U9ODVl4Jc00juNXyUgwx4gEN_ZHzQESMIIlgOSNTk,101
154
+ defpixel-0.1.2.dist-info/top_level.txt,sha256=q8GXppLfIcF9XRgxaOnzWmk1HvM4fsQQW3eVlmvsatw,9
155
+ defpixel-0.1.2.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+ Build: 69
6
+