maya-cli 0.1.1__tar.gz → 0.1.3__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,157 @@
1
+ Metadata-Version: 2.2
2
+ Name: maya-cli
3
+ Version: 0.1.3
4
+ Summary: Maya CLI - AI Project Generator
5
+ Home-page: https://github.com/anointingmayami/Maya.ai
6
+ Author: King Anointing Joseph Mayami
7
+ Author-email: anointingmayami@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: click
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: requires-dist
21
+ Dynamic: requires-python
22
+ Dynamic: summary
23
+
24
+ # Maya CLI - Developer Documentation
25
+
26
+ ## Overview
27
+ Maya CLI is a command-line interface (CLI) designed to assist in AI project generation, optimization, security enforcement, and best practices validation. This documentation provides a guide on how to use each CLI command effectively.
28
+
29
+ ## Installation
30
+ Before using Maya CLI, ensure that the required dependencies are installed:
31
+ ```sh
32
+ pip install -r requirements.txt
33
+ ```
34
+
35
+ ## Commands
36
+ ### 1. Create a New AI Project
37
+ #### Command:
38
+ ```sh
39
+ maya create <project_name>
40
+ ```
41
+ #### Description:
42
+ Creates a new AI project structure.
43
+
44
+ #### Example:
45
+ ```sh
46
+ maya create my_ai_project
47
+ ```
48
+
49
+ ### 2. Check Best Practices
50
+ #### Command:
51
+ ```sh
52
+ maya check_best_practices [folder] [filename]
53
+ ```
54
+ #### Description:
55
+ Validates Python code against best practices.
56
+
57
+ #### Example:
58
+ ```sh
59
+ maya check_best_practices api my_script.py
60
+ ```
61
+
62
+ ### 3. Set Environment Variable
63
+ #### Command:
64
+ ```sh
65
+ maya set_env <key> <value>
66
+ ```
67
+ #### Description:
68
+ Sets a key-value pair in the `.env` file.
69
+
70
+ #### Example:
71
+ ```sh
72
+ maya set_env OPENAI_API_KEY my_api_key
73
+ ```
74
+
75
+ ### 4. Optimize AI Scripts
76
+ #### Command:
77
+ ```sh
78
+ maya optimize [target]
79
+ ```
80
+ #### Description:
81
+ Optimizes AI scripts with caching and async processing.
82
+
83
+ #### Example:
84
+ ```sh
85
+ maya optimize my_project
86
+ ```
87
+
88
+ ### 5. Enforce API Security
89
+ #### Command:
90
+ ```sh
91
+ maya isSecured <target> [filename]
92
+ ```
93
+ #### Description:
94
+ Checks and enforces API security measures including authentication, encryption, and rate limiting.
95
+
96
+ #### Example:
97
+ ```sh
98
+ maya isSecured api my_api.py
99
+ ```
100
+
101
+ ### 6. Check Code Ethics
102
+ #### Command:
103
+ ```sh
104
+ maya check_ethics <target> [filename]
105
+ ```
106
+ #### Description:
107
+ Validates code efficiency, accuracy, and best practices.
108
+
109
+ #### Example:
110
+ ```sh
111
+ maya check_ethics my_project
112
+ ```
113
+
114
+ ### 7. Generate Documentation
115
+ #### Command:
116
+ ```sh
117
+ maya doc <target> <filename>
118
+ ```
119
+ #### Description:
120
+ Generates a `README.md` documentation for the given file.
121
+
122
+ #### Example:
123
+ ```sh
124
+ maya doc api my_script.py
125
+ ```
126
+
127
+ ### 8. Generate Codex Report
128
+ #### Command:
129
+ ```sh
130
+ maya codex <target> <filename>
131
+ ```
132
+ #### Description:
133
+ Provides an in-depth analysis and recommendations for the given file.
134
+
135
+ #### Example:
136
+ ```sh
137
+ maya codex ai_model model.py
138
+ ```
139
+
140
+ ### 9. Enforce Compliance & Regulation
141
+ #### Command:
142
+ ```sh
143
+ maya regulate <target> [filename]
144
+ ```
145
+ #### Description:
146
+ Ensures compliance with GDPR, CCPA, AI Act, and ISO 42001 AI governance standards.
147
+
148
+ #### Example:
149
+ ```sh
150
+ maya regulate my_project
151
+ ```
152
+
153
+ ## Logging
154
+ Maya CLI logs all operations in `maya_cli.log`. Check this file for debugging and issue tracking.
155
+
156
+ ## Contact
157
+ For support or feature requests, reach out to the development team via GitHub or email.
@@ -0,0 +1,134 @@
1
+ # Maya CLI - Developer Documentation
2
+
3
+ ## Overview
4
+ Maya CLI is a command-line interface (CLI) designed to assist in AI project generation, optimization, security enforcement, and best practices validation. This documentation provides a guide on how to use each CLI command effectively.
5
+
6
+ ## Installation
7
+ Before using Maya CLI, ensure that the required dependencies are installed:
8
+ ```sh
9
+ pip install -r requirements.txt
10
+ ```
11
+
12
+ ## Commands
13
+ ### 1. Create a New AI Project
14
+ #### Command:
15
+ ```sh
16
+ maya create <project_name>
17
+ ```
18
+ #### Description:
19
+ Creates a new AI project structure.
20
+
21
+ #### Example:
22
+ ```sh
23
+ maya create my_ai_project
24
+ ```
25
+
26
+ ### 2. Check Best Practices
27
+ #### Command:
28
+ ```sh
29
+ maya check_best_practices [folder] [filename]
30
+ ```
31
+ #### Description:
32
+ Validates Python code against best practices.
33
+
34
+ #### Example:
35
+ ```sh
36
+ maya check_best_practices api my_script.py
37
+ ```
38
+
39
+ ### 3. Set Environment Variable
40
+ #### Command:
41
+ ```sh
42
+ maya set_env <key> <value>
43
+ ```
44
+ #### Description:
45
+ Sets a key-value pair in the `.env` file.
46
+
47
+ #### Example:
48
+ ```sh
49
+ maya set_env OPENAI_API_KEY my_api_key
50
+ ```
51
+
52
+ ### 4. Optimize AI Scripts
53
+ #### Command:
54
+ ```sh
55
+ maya optimize [target]
56
+ ```
57
+ #### Description:
58
+ Optimizes AI scripts with caching and async processing.
59
+
60
+ #### Example:
61
+ ```sh
62
+ maya optimize my_project
63
+ ```
64
+
65
+ ### 5. Enforce API Security
66
+ #### Command:
67
+ ```sh
68
+ maya isSecured <target> [filename]
69
+ ```
70
+ #### Description:
71
+ Checks and enforces API security measures including authentication, encryption, and rate limiting.
72
+
73
+ #### Example:
74
+ ```sh
75
+ maya isSecured api my_api.py
76
+ ```
77
+
78
+ ### 6. Check Code Ethics
79
+ #### Command:
80
+ ```sh
81
+ maya check_ethics <target> [filename]
82
+ ```
83
+ #### Description:
84
+ Validates code efficiency, accuracy, and best practices.
85
+
86
+ #### Example:
87
+ ```sh
88
+ maya check_ethics my_project
89
+ ```
90
+
91
+ ### 7. Generate Documentation
92
+ #### Command:
93
+ ```sh
94
+ maya doc <target> <filename>
95
+ ```
96
+ #### Description:
97
+ Generates a `README.md` documentation for the given file.
98
+
99
+ #### Example:
100
+ ```sh
101
+ maya doc api my_script.py
102
+ ```
103
+
104
+ ### 8. Generate Codex Report
105
+ #### Command:
106
+ ```sh
107
+ maya codex <target> <filename>
108
+ ```
109
+ #### Description:
110
+ Provides an in-depth analysis and recommendations for the given file.
111
+
112
+ #### Example:
113
+ ```sh
114
+ maya codex ai_model model.py
115
+ ```
116
+
117
+ ### 9. Enforce Compliance & Regulation
118
+ #### Command:
119
+ ```sh
120
+ maya regulate <target> [filename]
121
+ ```
122
+ #### Description:
123
+ Ensures compliance with GDPR, CCPA, AI Act, and ISO 42001 AI governance standards.
124
+
125
+ #### Example:
126
+ ```sh
127
+ maya regulate my_project
128
+ ```
129
+
130
+ ## Logging
131
+ Maya CLI logs all operations in `maya_cli.log`. Check this file for debugging and issue tracking.
132
+
133
+ ## Contact
134
+ For support or feature requests, reach out to the development team via GitHub or email.