maleo-schemas 0.0.1__tar.gz

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.
@@ -0,0 +1,57 @@
1
+ # Proprietary Software License
2
+
3
+ **Copyright (c) 2025 Agra Bima Yuda / Nexmedis**
4
+
5
+ ## License Grant
6
+
7
+ This software and associated documentation files (the "Software") are proprietary and confidential to Agra Bima Yuda and/or Nexmedis ("Licensor"). All rights reserved.
8
+
9
+ ## Restrictions
10
+
11
+ **NO PERMISSION** is granted to any person to:
12
+
13
+ 1. **Use** the Software for any purpose without explicit written permission from the Licensor
14
+ 2. **Copy, modify, merge, publish, distribute, sublicense, or sell** copies of the Software
15
+ 3. **Reverse engineer, decompile, or disassemble** the Software
16
+ 4. **Create derivative works** based upon the Software
17
+ 5. **Remove or alter** any proprietary notices, labels, or marks on the Software
18
+
19
+ ## Permitted Use
20
+
21
+ Use of this Software is permitted only under the following conditions:
22
+
23
+ 1. **Authorized Users**: Only individuals or entities explicitly authorized by the Licensor in writing
24
+ 2. **Internal Use Only**: The Software may only be used for internal business purposes of the authorized entity
25
+ 3. **No Redistribution**: The Software may not be shared, distributed, or made available to any third party
26
+
27
+ ## Ownership
28
+
29
+ The Software is and remains the exclusive property of the Licensor. This license does not grant any ownership rights in the Software.
30
+
31
+ ## Confidentiality
32
+
33
+ The Software contains proprietary and confidential information. Recipients agree to:
34
+
35
+ 1. Maintain the confidentiality of the Software
36
+ 2. Use the same degree of care to protect the Software as they use for their own confidential information, but no less than reasonable care
37
+ 3. Not disclose the Software to any third party without prior written consent
38
+
39
+ ## Termination
40
+
41
+ This license is effective until terminated. The Licensor may terminate this license at any time without notice. Upon termination, all rights granted herein cease immediately, and the recipient must destroy all copies of the Software.
42
+
43
+ ## Disclaimer of Warranty
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
46
+
47
+ ## Limitation of Liability
48
+
49
+ IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50
+
51
+ ## Governing Law
52
+
53
+ This license shall be governed by and construed in accordance with the laws of Indonesia, without regard to its conflict of law provisions.
54
+
55
+ ---
56
+
57
+ For licensing inquiries, contact: agra@nexmedis.com
@@ -0,0 +1,111 @@
1
+ Metadata-Version: 2.4
2
+ Name: maleo-schemas
3
+ Version: 0.0.1
4
+ Summary: Schemas package for MaleoSuite
5
+ Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
+ License: Proprietary
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: annotated-types>=0.7.0
11
+ Requires-Dist: anyio>=4.10.0
12
+ Requires-Dist: black>=25.1.0
13
+ Requires-Dist: cachetools>=5.5.2
14
+ Requires-Dist: certifi>=2025.8.3
15
+ Requires-Dist: cffi>=1.17.1
16
+ Requires-Dist: cfgv>=3.4.0
17
+ Requires-Dist: charset-normalizer>=3.4.3
18
+ Requires-Dist: click>=8.2.1
19
+ Requires-Dist: cryptography>=45.0.7
20
+ Requires-Dist: distlib>=0.4.0
21
+ Requires-Dist: fastapi>=0.116.1
22
+ Requires-Dist: filelock>=3.19.1
23
+ Requires-Dist: google-api-core>=2.25.1
24
+ Requires-Dist: google-auth>=2.40.3
25
+ Requires-Dist: google-cloud-appengine-logging>=1.6.2
26
+ Requires-Dist: google-cloud-audit-log>=0.3.2
27
+ Requires-Dist: google-cloud-core>=2.4.3
28
+ Requires-Dist: google-cloud-logging>=3.12.1
29
+ Requires-Dist: google-cloud-pubsub>=2.31.1
30
+ Requires-Dist: googleapis-common-protos>=1.70.0
31
+ Requires-Dist: grpc-google-iam-v1>=0.14.2
32
+ Requires-Dist: grpcio>=1.74.0
33
+ Requires-Dist: grpcio-status>=1.74.0
34
+ Requires-Dist: h11>=0.16.0
35
+ Requires-Dist: httpcore>=1.0.9
36
+ Requires-Dist: httpx>=0.28.1
37
+ Requires-Dist: identify>=2.6.13
38
+ Requires-Dist: idna>=3.10
39
+ Requires-Dist: importlib_metadata>=8.7.0
40
+ Requires-Dist: maleo-constants>=0.0.4
41
+ Requires-Dist: maleo-dtos>=0.0.2
42
+ Requires-Dist: maleo-enums>=0.0.6
43
+ Requires-Dist: maleo-logging>=0.0.4
44
+ Requires-Dist: maleo-mixins>=0.0.9
45
+ Requires-Dist: maleo-types-base>=0.0.2
46
+ Requires-Dist: maleo-types-controllers>=0.0.1
47
+ Requires-Dist: maleo-types-enums>=0.0.4
48
+ Requires-Dist: maleo-utils>=0.0.3
49
+ Requires-Dist: mypy_extensions>=1.1.0
50
+ Requires-Dist: nodeenv>=1.9.1
51
+ Requires-Dist: opentelemetry-api>=1.36.0
52
+ Requires-Dist: opentelemetry-sdk>=1.36.0
53
+ Requires-Dist: opentelemetry-semantic-conventions>=0.57b0
54
+ Requires-Dist: packaging>=25.0
55
+ Requires-Dist: pathspec>=0.12.1
56
+ Requires-Dist: platformdirs>=4.4.0
57
+ Requires-Dist: pre_commit>=4.3.0
58
+ Requires-Dist: proto-plus>=1.26.1
59
+ Requires-Dist: protobuf>=6.32.0
60
+ Requires-Dist: pyasn1>=0.6.1
61
+ Requires-Dist: pyasn1_modules>=0.4.2
62
+ Requires-Dist: pycparser>=2.22
63
+ Requires-Dist: pycryptodome>=3.23.0
64
+ Requires-Dist: pydantic>=2.11.7
65
+ Requires-Dist: pydantic-settings>=2.10.1
66
+ Requires-Dist: pydantic_core>=2.33.2
67
+ Requires-Dist: python-dotenv>=1.1.1
68
+ Requires-Dist: PyYAML>=6.0.2
69
+ Requires-Dist: requests>=2.32.5
70
+ Requires-Dist: rsa>=4.9.1
71
+ Requires-Dist: sniffio>=1.3.1
72
+ Requires-Dist: starlette>=0.47.3
73
+ Requires-Dist: typing-inspection>=0.4.1
74
+ Requires-Dist: typing_extensions>=4.15.0
75
+ Requires-Dist: ua-parser>=1.0.1
76
+ Requires-Dist: ua-parser-builtins>=0.18.0.post1
77
+ Requires-Dist: urllib3>=2.5.0
78
+ Requires-Dist: user-agents>=2.2.0
79
+ Requires-Dist: virtualenv>=20.34.0
80
+ Requires-Dist: zipp>=3.23.0
81
+ Dynamic: license-file
82
+
83
+ # README #
84
+
85
+ This README would normally document whatever steps are necessary to get your application up and running.
86
+
87
+ ### What is this repository for? ###
88
+
89
+ * Quick summary
90
+ * Version
91
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
92
+
93
+ ### How do I get set up? ###
94
+
95
+ * Summary of set up
96
+ * Configuration
97
+ * Dependencies
98
+ * Database configuration
99
+ * How to run tests
100
+ * Deployment instructions
101
+
102
+ ### Contribution guidelines ###
103
+
104
+ * Writing tests
105
+ * Code review
106
+ * Other guidelines
107
+
108
+ ### Who do I talk to? ###
109
+
110
+ * Repo owner or admin
111
+ * Other community or team contact
@@ -0,0 +1,29 @@
1
+ # README #
2
+
3
+ This README would normally document whatever steps are necessary to get your application up and running.
4
+
5
+ ### What is this repository for? ###
6
+
7
+ * Quick summary
8
+ * Version
9
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
10
+
11
+ ### How do I get set up? ###
12
+
13
+ * Summary of set up
14
+ * Configuration
15
+ * Dependencies
16
+ * Database configuration
17
+ * How to run tests
18
+ * Deployment instructions
19
+
20
+ ### Contribution guidelines ###
21
+
22
+ * Writing tests
23
+ * Code review
24
+ * Other guidelines
25
+
26
+ ### Who do I talk to? ###
27
+
28
+ * Repo owner or admin
29
+ * Other community or team contact
@@ -0,0 +1,111 @@
1
+ Metadata-Version: 2.4
2
+ Name: maleo-schemas
3
+ Version: 0.0.1
4
+ Summary: Schemas package for MaleoSuite
5
+ Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
+ License: Proprietary
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: annotated-types>=0.7.0
11
+ Requires-Dist: anyio>=4.10.0
12
+ Requires-Dist: black>=25.1.0
13
+ Requires-Dist: cachetools>=5.5.2
14
+ Requires-Dist: certifi>=2025.8.3
15
+ Requires-Dist: cffi>=1.17.1
16
+ Requires-Dist: cfgv>=3.4.0
17
+ Requires-Dist: charset-normalizer>=3.4.3
18
+ Requires-Dist: click>=8.2.1
19
+ Requires-Dist: cryptography>=45.0.7
20
+ Requires-Dist: distlib>=0.4.0
21
+ Requires-Dist: fastapi>=0.116.1
22
+ Requires-Dist: filelock>=3.19.1
23
+ Requires-Dist: google-api-core>=2.25.1
24
+ Requires-Dist: google-auth>=2.40.3
25
+ Requires-Dist: google-cloud-appengine-logging>=1.6.2
26
+ Requires-Dist: google-cloud-audit-log>=0.3.2
27
+ Requires-Dist: google-cloud-core>=2.4.3
28
+ Requires-Dist: google-cloud-logging>=3.12.1
29
+ Requires-Dist: google-cloud-pubsub>=2.31.1
30
+ Requires-Dist: googleapis-common-protos>=1.70.0
31
+ Requires-Dist: grpc-google-iam-v1>=0.14.2
32
+ Requires-Dist: grpcio>=1.74.0
33
+ Requires-Dist: grpcio-status>=1.74.0
34
+ Requires-Dist: h11>=0.16.0
35
+ Requires-Dist: httpcore>=1.0.9
36
+ Requires-Dist: httpx>=0.28.1
37
+ Requires-Dist: identify>=2.6.13
38
+ Requires-Dist: idna>=3.10
39
+ Requires-Dist: importlib_metadata>=8.7.0
40
+ Requires-Dist: maleo-constants>=0.0.4
41
+ Requires-Dist: maleo-dtos>=0.0.2
42
+ Requires-Dist: maleo-enums>=0.0.6
43
+ Requires-Dist: maleo-logging>=0.0.4
44
+ Requires-Dist: maleo-mixins>=0.0.9
45
+ Requires-Dist: maleo-types-base>=0.0.2
46
+ Requires-Dist: maleo-types-controllers>=0.0.1
47
+ Requires-Dist: maleo-types-enums>=0.0.4
48
+ Requires-Dist: maleo-utils>=0.0.3
49
+ Requires-Dist: mypy_extensions>=1.1.0
50
+ Requires-Dist: nodeenv>=1.9.1
51
+ Requires-Dist: opentelemetry-api>=1.36.0
52
+ Requires-Dist: opentelemetry-sdk>=1.36.0
53
+ Requires-Dist: opentelemetry-semantic-conventions>=0.57b0
54
+ Requires-Dist: packaging>=25.0
55
+ Requires-Dist: pathspec>=0.12.1
56
+ Requires-Dist: platformdirs>=4.4.0
57
+ Requires-Dist: pre_commit>=4.3.0
58
+ Requires-Dist: proto-plus>=1.26.1
59
+ Requires-Dist: protobuf>=6.32.0
60
+ Requires-Dist: pyasn1>=0.6.1
61
+ Requires-Dist: pyasn1_modules>=0.4.2
62
+ Requires-Dist: pycparser>=2.22
63
+ Requires-Dist: pycryptodome>=3.23.0
64
+ Requires-Dist: pydantic>=2.11.7
65
+ Requires-Dist: pydantic-settings>=2.10.1
66
+ Requires-Dist: pydantic_core>=2.33.2
67
+ Requires-Dist: python-dotenv>=1.1.1
68
+ Requires-Dist: PyYAML>=6.0.2
69
+ Requires-Dist: requests>=2.32.5
70
+ Requires-Dist: rsa>=4.9.1
71
+ Requires-Dist: sniffio>=1.3.1
72
+ Requires-Dist: starlette>=0.47.3
73
+ Requires-Dist: typing-inspection>=0.4.1
74
+ Requires-Dist: typing_extensions>=4.15.0
75
+ Requires-Dist: ua-parser>=1.0.1
76
+ Requires-Dist: ua-parser-builtins>=0.18.0.post1
77
+ Requires-Dist: urllib3>=2.5.0
78
+ Requires-Dist: user-agents>=2.2.0
79
+ Requires-Dist: virtualenv>=20.34.0
80
+ Requires-Dist: zipp>=3.23.0
81
+ Dynamic: license-file
82
+
83
+ # README #
84
+
85
+ This README would normally document whatever steps are necessary to get your application up and running.
86
+
87
+ ### What is this repository for? ###
88
+
89
+ * Quick summary
90
+ * Version
91
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
92
+
93
+ ### How do I get set up? ###
94
+
95
+ * Summary of set up
96
+ * Configuration
97
+ * Dependencies
98
+ * Database configuration
99
+ * How to run tests
100
+ * Deployment instructions
101
+
102
+ ### Contribution guidelines ###
103
+
104
+ * Writing tests
105
+ * Code review
106
+ * Other guidelines
107
+
108
+ ### Who do I talk to? ###
109
+
110
+ * Repo owner or admin
111
+ * Other community or team contact
@@ -0,0 +1,17 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ maleo_schemas.egg-info/PKG-INFO
5
+ maleo_schemas.egg-info/SOURCES.txt
6
+ maleo_schemas.egg-info/dependency_links.txt
7
+ maleo_schemas.egg-info/requires.txt
8
+ maleo_schemas.egg-info/top_level.txt
9
+ src/__init__.py
10
+ src/request.py
11
+ src/response.py
12
+ src/operation/__init__.py
13
+ src/operation/action.py
14
+ src/operation/base.py
15
+ src/operation/request.py
16
+ src/operation/resource.py
17
+ src/operation/system.py
@@ -0,0 +1,71 @@
1
+ annotated-types>=0.7.0
2
+ anyio>=4.10.0
3
+ black>=25.1.0
4
+ cachetools>=5.5.2
5
+ certifi>=2025.8.3
6
+ cffi>=1.17.1
7
+ cfgv>=3.4.0
8
+ charset-normalizer>=3.4.3
9
+ click>=8.2.1
10
+ cryptography>=45.0.7
11
+ distlib>=0.4.0
12
+ fastapi>=0.116.1
13
+ filelock>=3.19.1
14
+ google-api-core>=2.25.1
15
+ google-auth>=2.40.3
16
+ google-cloud-appengine-logging>=1.6.2
17
+ google-cloud-audit-log>=0.3.2
18
+ google-cloud-core>=2.4.3
19
+ google-cloud-logging>=3.12.1
20
+ google-cloud-pubsub>=2.31.1
21
+ googleapis-common-protos>=1.70.0
22
+ grpc-google-iam-v1>=0.14.2
23
+ grpcio>=1.74.0
24
+ grpcio-status>=1.74.0
25
+ h11>=0.16.0
26
+ httpcore>=1.0.9
27
+ httpx>=0.28.1
28
+ identify>=2.6.13
29
+ idna>=3.10
30
+ importlib_metadata>=8.7.0
31
+ maleo-constants>=0.0.4
32
+ maleo-dtos>=0.0.2
33
+ maleo-enums>=0.0.6
34
+ maleo-logging>=0.0.4
35
+ maleo-mixins>=0.0.9
36
+ maleo-types-base>=0.0.2
37
+ maleo-types-controllers>=0.0.1
38
+ maleo-types-enums>=0.0.4
39
+ maleo-utils>=0.0.3
40
+ mypy_extensions>=1.1.0
41
+ nodeenv>=1.9.1
42
+ opentelemetry-api>=1.36.0
43
+ opentelemetry-sdk>=1.36.0
44
+ opentelemetry-semantic-conventions>=0.57b0
45
+ packaging>=25.0
46
+ pathspec>=0.12.1
47
+ platformdirs>=4.4.0
48
+ pre_commit>=4.3.0
49
+ proto-plus>=1.26.1
50
+ protobuf>=6.32.0
51
+ pyasn1>=0.6.1
52
+ pyasn1_modules>=0.4.2
53
+ pycparser>=2.22
54
+ pycryptodome>=3.23.0
55
+ pydantic>=2.11.7
56
+ pydantic-settings>=2.10.1
57
+ pydantic_core>=2.33.2
58
+ python-dotenv>=1.1.1
59
+ PyYAML>=6.0.2
60
+ requests>=2.32.5
61
+ rsa>=4.9.1
62
+ sniffio>=1.3.1
63
+ starlette>=0.47.3
64
+ typing-inspection>=0.4.1
65
+ typing_extensions>=4.15.0
66
+ ua-parser>=1.0.1
67
+ ua-parser-builtins>=0.18.0.post1
68
+ urllib3>=2.5.0
69
+ user-agents>=2.2.0
70
+ virtualenv>=20.34.0
71
+ zipp>=3.23.0
@@ -0,0 +1,101 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "maleo-schemas"
7
+ version = "0.0.1"
8
+ description = "Schemas package for MaleoSuite"
9
+ authors = [
10
+ { name = "Agra Bima Yuda", email = "agra@nexmedis.com" }
11
+ ]
12
+ license = { text = "Proprietary"}
13
+ readme = "README.md"
14
+ requires-python = ">=3.12"
15
+ dependencies = [
16
+ "annotated-types>=0.7.0",
17
+ "anyio>=4.10.0",
18
+ "black>=25.1.0",
19
+ "cachetools>=5.5.2",
20
+ "certifi>=2025.8.3",
21
+ "cffi>=1.17.1",
22
+ "cfgv>=3.4.0",
23
+ "charset-normalizer>=3.4.3",
24
+ "click>=8.2.1",
25
+ "cryptography>=45.0.7",
26
+ "distlib>=0.4.0",
27
+ "fastapi>=0.116.1",
28
+ "filelock>=3.19.1",
29
+ "google-api-core>=2.25.1",
30
+ "google-auth>=2.40.3",
31
+ "google-cloud-appengine-logging>=1.6.2",
32
+ "google-cloud-audit-log>=0.3.2",
33
+ "google-cloud-core>=2.4.3",
34
+ "google-cloud-logging>=3.12.1",
35
+ "google-cloud-pubsub>=2.31.1",
36
+ "googleapis-common-protos>=1.70.0",
37
+ "grpc-google-iam-v1>=0.14.2",
38
+ "grpcio>=1.74.0",
39
+ "grpcio-status>=1.74.0",
40
+ "h11>=0.16.0",
41
+ "httpcore>=1.0.9",
42
+ "httpx>=0.28.1",
43
+ "identify>=2.6.13",
44
+ "idna>=3.10",
45
+ "importlib_metadata>=8.7.0",
46
+ "maleo-constants>=0.0.4",
47
+ "maleo-dtos>=0.0.2",
48
+ "maleo-enums>=0.0.6",
49
+ "maleo-logging>=0.0.4",
50
+ "maleo-mixins>=0.0.9",
51
+ "maleo-types-base>=0.0.2",
52
+ "maleo-types-controllers>=0.0.1",
53
+ "maleo-types-enums>=0.0.4",
54
+ "maleo-utils>=0.0.3",
55
+ "mypy_extensions>=1.1.0",
56
+ "nodeenv>=1.9.1",
57
+ "opentelemetry-api>=1.36.0",
58
+ "opentelemetry-sdk>=1.36.0",
59
+ "opentelemetry-semantic-conventions>=0.57b0",
60
+ "packaging>=25.0",
61
+ "pathspec>=0.12.1",
62
+ "platformdirs>=4.4.0",
63
+ "pre_commit>=4.3.0",
64
+ "proto-plus>=1.26.1",
65
+ "protobuf>=6.32.0",
66
+ "pyasn1>=0.6.1",
67
+ "pyasn1_modules>=0.4.2",
68
+ "pycparser>=2.22",
69
+ "pycryptodome>=3.23.0",
70
+ "pydantic>=2.11.7",
71
+ "pydantic-settings>=2.10.1",
72
+ "pydantic_core>=2.33.2",
73
+ "python-dotenv>=1.1.1",
74
+ "PyYAML>=6.0.2",
75
+ "requests>=2.32.5",
76
+ "rsa>=4.9.1",
77
+ "sniffio>=1.3.1",
78
+ "starlette>=0.47.3",
79
+ "typing-inspection>=0.4.1",
80
+ "typing_extensions>=4.15.0",
81
+ "ua-parser>=1.0.1",
82
+ "ua-parser-builtins>=0.18.0.post1",
83
+ "urllib3>=2.5.0",
84
+ "user-agents>=2.2.0",
85
+ "virtualenv>=20.34.0",
86
+ "zipp>=3.23.0",
87
+ ]
88
+
89
+ [tool.setuptools]
90
+ packages = [
91
+ "maleo.schemas",
92
+ "maleo.schemas.operation",
93
+ ]
94
+
95
+ [tool.setuptools.package-data]
96
+ "maleo.schemas" = ["*.json", "*.yaml"]
97
+ "maleo.schemas.operation" = ["*.json", "*.yaml"]
98
+
99
+ [tool.setuptools.package-dir]
100
+ "maleo.schemas" = "src"
101
+ "maleo.schemas.operation" = "src/operation"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
File without changes
@@ -0,0 +1,9 @@
1
+ from pydantic import BaseModel, Field
2
+ from typing import Generic, Optional, TypeVar
3
+
4
+
5
+ OperationActionT = TypeVar("OperationActionT", bound=Optional[BaseModel])
6
+
7
+
8
+ class OperationActionMixin(BaseModel, Generic[OperationActionT]):
9
+ action: OperationActionT = Field(..., description="Action.")