maya-cli 0.1.0__tar.gz → 0.1.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.2
2
+ Name: maya-cli
3
+ Version: 0.1.1
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.ai - AI Architectural Framework
25
+
26
+ Maya.ai is an AI architectural framework designed to ensure ethical, optimized, and compliant AI integration in business and research applications. The framework provides guidance on AI ethics, compliance, business strategy, and AI-driven education while fostering innovation.
27
+
28
+ ## 🌟 Features
29
+ - Ensures structured AI project development
30
+ - Promotes ethical and compliant AI integration
31
+ - Provides a scalable framework for AI research and business applications
32
+ - Includes Maya CLI for quick AI project setup
33
+
34
+ ## 🛠 Maya CLI - AI Project Generator
35
+ Maya CLI is one of the core features of Maya.ai, designed to generate structured AI project templates. It helps AI developers quickly set up their projects with predefined folders and files, ensuring organization and scalability.
36
+
37
+ ### 📦 Installation Guide (For Dummies)
38
+
39
+ #### Step 1: Install Python
40
+ Maya CLI requires Python. To install Python:
41
+ - Download the latest version of Python from [python.org](https://www.python.org/downloads/)
42
+ - Run the installer and ensure "Add Python to PATH" is checked
43
+ - Verify installation by running:
44
+ ```sh
45
+ python --version
46
+ ```
47
+
48
+ #### Step 2: Install Virtual Environment (Optional but Recommended)
49
+ Using a virtual environment helps manage dependencies. Install it using:
50
+ ```sh
51
+ pip install virtualenv
52
+ ```
53
+ To create and activate a virtual environment:
54
+ ```sh
55
+ virtualenv venv
56
+ source venv/bin/activate # On macOS/Linux
57
+ venv\Scripts\activate # On Windows
58
+ ```
59
+
60
+ #### Step 3: Install Maya CLI
61
+ Maya CLI is available on PyPI. Install it using pip:
62
+ ```sh
63
+ pip install maya-cli
64
+ ```
65
+
66
+ ### 🚀 Usage
67
+ Once installed, use the following command to create a new AI project:
68
+ ```sh
69
+ maya create <project_name>
70
+ ```
71
+ Example:
72
+ ```sh
73
+ maya create my_ai_project
74
+ ```
75
+ This will generate the following structure:
76
+ ```
77
+ my_ai_project/
78
+ │── data_source/
79
+ │ ├── ingestion/
80
+ │ ├── processing/
81
+ │ ├── storage/
82
+ │── knowledge_base/
83
+ │ ├── models/
84
+ │ ├── training/
85
+ │ ├── evaluation/
86
+ │── ai_governance/
87
+ │ ├── compliance/
88
+ │ ├── fairness/
89
+ │ ├── monitoring/
90
+ │── api/
91
+ │ ├── endpoints/
92
+ │ ├── authentication/
93
+ │── tests/
94
+ │── docs/
95
+ │── scripts/
96
+ │── configs/
97
+ ```
98
+
99
+ ### 🛠 API Documentation
100
+ #### CLI Commands
101
+ ##### `maya create <project_name>`
102
+ Creates a new AI project structure with organized folders.
103
+
104
+ #### `project_generator.py`
105
+ ##### `create_project_structure(base_path, structure)`
106
+ Recursively creates folders based on the defined project structure.
107
+
108
+ ## 📜 License
109
+ This project is licensed under the MIT License.
110
+
111
+ ## 🤝 Contributing
112
+ Contributions are welcome! Feel free to open an issue or submit a pull request.
113
+
114
+ ## 📞 Support
115
+ For any issues, contact the developers via GitHub or raise an issue in the repository.
116
+
@@ -0,0 +1,93 @@
1
+ # Maya.ai - AI Architectural Framework
2
+
3
+ Maya.ai is an AI architectural framework designed to ensure ethical, optimized, and compliant AI integration in business and research applications. The framework provides guidance on AI ethics, compliance, business strategy, and AI-driven education while fostering innovation.
4
+
5
+ ## 🌟 Features
6
+ - Ensures structured AI project development
7
+ - Promotes ethical and compliant AI integration
8
+ - Provides a scalable framework for AI research and business applications
9
+ - Includes Maya CLI for quick AI project setup
10
+
11
+ ## 🛠 Maya CLI - AI Project Generator
12
+ Maya CLI is one of the core features of Maya.ai, designed to generate structured AI project templates. It helps AI developers quickly set up their projects with predefined folders and files, ensuring organization and scalability.
13
+
14
+ ### 📦 Installation Guide (For Dummies)
15
+
16
+ #### Step 1: Install Python
17
+ Maya CLI requires Python. To install Python:
18
+ - Download the latest version of Python from [python.org](https://www.python.org/downloads/)
19
+ - Run the installer and ensure "Add Python to PATH" is checked
20
+ - Verify installation by running:
21
+ ```sh
22
+ python --version
23
+ ```
24
+
25
+ #### Step 2: Install Virtual Environment (Optional but Recommended)
26
+ Using a virtual environment helps manage dependencies. Install it using:
27
+ ```sh
28
+ pip install virtualenv
29
+ ```
30
+ To create and activate a virtual environment:
31
+ ```sh
32
+ virtualenv venv
33
+ source venv/bin/activate # On macOS/Linux
34
+ venv\Scripts\activate # On Windows
35
+ ```
36
+
37
+ #### Step 3: Install Maya CLI
38
+ Maya CLI is available on PyPI. Install it using pip:
39
+ ```sh
40
+ pip install maya-cli
41
+ ```
42
+
43
+ ### 🚀 Usage
44
+ Once installed, use the following command to create a new AI project:
45
+ ```sh
46
+ maya create <project_name>
47
+ ```
48
+ Example:
49
+ ```sh
50
+ maya create my_ai_project
51
+ ```
52
+ This will generate the following structure:
53
+ ```
54
+ my_ai_project/
55
+ │── data_source/
56
+ │ ├── ingestion/
57
+ │ ├── processing/
58
+ │ ├── storage/
59
+ │── knowledge_base/
60
+ │ ├── models/
61
+ │ ├── training/
62
+ │ ├── evaluation/
63
+ │── ai_governance/
64
+ │ ├── compliance/
65
+ │ ├── fairness/
66
+ │ ├── monitoring/
67
+ │── api/
68
+ │ ├── endpoints/
69
+ │ ├── authentication/
70
+ │── tests/
71
+ │── docs/
72
+ │── scripts/
73
+ │── configs/
74
+ ```
75
+
76
+ ### 🛠 API Documentation
77
+ #### CLI Commands
78
+ ##### `maya create <project_name>`
79
+ Creates a new AI project structure with organized folders.
80
+
81
+ #### `project_generator.py`
82
+ ##### `create_project_structure(base_path, structure)`
83
+ Recursively creates folders based on the defined project structure.
84
+
85
+ ## 📜 License
86
+ This project is licensed under the MIT License.
87
+
88
+ ## 🤝 Contributing
89
+ Contributions are welcome! Feel free to open an issue or submit a pull request.
90
+
91
+ ## 📞 Support
92
+ For any issues, contact the developers via GitHub or raise an issue in the repository.
93
+
@@ -0,0 +1,4 @@
1
+ # __init__.py
2
+ from maya_cli.cli import maya
3
+
4
+ __all__ = ["maya"]
@@ -0,0 +1,37 @@
1
+ import os
2
+ import click
3
+ import logging
4
+ from .project_generator import create_project_structure, PROJECT_STRUCTURE
5
+
6
+ # Setup logging
7
+ logging.basicConfig(filename="maya_cli.log", level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")
8
+
9
+ @click.group()
10
+ def maya():
11
+ """Maya CLI - AI Project Generator"""
12
+ pass
13
+
14
+ @click.command()
15
+ @click.argument("project_name")
16
+ def create(project_name):
17
+ """Create a new AI project structure"""
18
+ try:
19
+ base_path = os.path.join(os.getcwd(), project_name)
20
+ if os.path.exists(base_path):
21
+ click.echo(f"Error: Project '{project_name}' already exists.")
22
+ logging.error(f"Project '{project_name}' already exists.")
23
+ return
24
+
25
+ os.makedirs(base_path, exist_ok=True)
26
+ create_project_structure(base_path, PROJECT_STRUCTURE)
27
+ click.echo(f"✅ AI project '{project_name}' created successfully!")
28
+ logging.info(f"Project '{project_name}' created successfully at {base_path}")
29
+
30
+ except Exception as e:
31
+ logging.error(f"Error while creating project: {str(e)}")
32
+ click.echo(f"❌ An error occurred: {str(e)}")
33
+
34
+ maya.add_command(create)
35
+
36
+ if __name__ == "__main__":
37
+ maya()
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.2
2
+ Name: maya-cli
3
+ Version: 0.1.1
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.ai - AI Architectural Framework
25
+
26
+ Maya.ai is an AI architectural framework designed to ensure ethical, optimized, and compliant AI integration in business and research applications. The framework provides guidance on AI ethics, compliance, business strategy, and AI-driven education while fostering innovation.
27
+
28
+ ## 🌟 Features
29
+ - Ensures structured AI project development
30
+ - Promotes ethical and compliant AI integration
31
+ - Provides a scalable framework for AI research and business applications
32
+ - Includes Maya CLI for quick AI project setup
33
+
34
+ ## 🛠 Maya CLI - AI Project Generator
35
+ Maya CLI is one of the core features of Maya.ai, designed to generate structured AI project templates. It helps AI developers quickly set up their projects with predefined folders and files, ensuring organization and scalability.
36
+
37
+ ### 📦 Installation Guide (For Dummies)
38
+
39
+ #### Step 1: Install Python
40
+ Maya CLI requires Python. To install Python:
41
+ - Download the latest version of Python from [python.org](https://www.python.org/downloads/)
42
+ - Run the installer and ensure "Add Python to PATH" is checked
43
+ - Verify installation by running:
44
+ ```sh
45
+ python --version
46
+ ```
47
+
48
+ #### Step 2: Install Virtual Environment (Optional but Recommended)
49
+ Using a virtual environment helps manage dependencies. Install it using:
50
+ ```sh
51
+ pip install virtualenv
52
+ ```
53
+ To create and activate a virtual environment:
54
+ ```sh
55
+ virtualenv venv
56
+ source venv/bin/activate # On macOS/Linux
57
+ venv\Scripts\activate # On Windows
58
+ ```
59
+
60
+ #### Step 3: Install Maya CLI
61
+ Maya CLI is available on PyPI. Install it using pip:
62
+ ```sh
63
+ pip install maya-cli
64
+ ```
65
+
66
+ ### 🚀 Usage
67
+ Once installed, use the following command to create a new AI project:
68
+ ```sh
69
+ maya create <project_name>
70
+ ```
71
+ Example:
72
+ ```sh
73
+ maya create my_ai_project
74
+ ```
75
+ This will generate the following structure:
76
+ ```
77
+ my_ai_project/
78
+ │── data_source/
79
+ │ ├── ingestion/
80
+ │ ├── processing/
81
+ │ ├── storage/
82
+ │── knowledge_base/
83
+ │ ├── models/
84
+ │ ├── training/
85
+ │ ├── evaluation/
86
+ │── ai_governance/
87
+ │ ├── compliance/
88
+ │ ├── fairness/
89
+ │ ├── monitoring/
90
+ │── api/
91
+ │ ├── endpoints/
92
+ │ ├── authentication/
93
+ │── tests/
94
+ │── docs/
95
+ │── scripts/
96
+ │── configs/
97
+ ```
98
+
99
+ ### 🛠 API Documentation
100
+ #### CLI Commands
101
+ ##### `maya create <project_name>`
102
+ Creates a new AI project structure with organized folders.
103
+
104
+ #### `project_generator.py`
105
+ ##### `create_project_structure(base_path, structure)`
106
+ Recursively creates folders based on the defined project structure.
107
+
108
+ ## 📜 License
109
+ This project is licensed under the MIT License.
110
+
111
+ ## 🤝 Contributing
112
+ Contributions are welcome! Feel free to open an issue or submit a pull request.
113
+
114
+ ## 📞 Support
115
+ For any issues, contact the developers via GitHub or raise an issue in the repository.
116
+
@@ -1,4 +1,3 @@
1
- LICENSE
2
1
  README.md
3
2
  pyproject.toml
4
3
  setup.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ maya = maya_cli.cli:maya
@@ -1,4 +1,3 @@
1
- # pyproject.toml
2
1
  [build-system]
3
2
  requires = ["setuptools", "wheel"]
4
3
  build-backend = "setuptools.build_meta"
@@ -1,14 +1,15 @@
1
1
  # setup.py
2
+ # -*- coding: utf-8 -*-
2
3
 
3
4
  from setuptools import setup, find_packages
4
5
 
5
6
  setup(
6
7
  name="maya-cli",
7
- version="0.1.0",
8
+ version="0.1.1",
8
9
  author="King Anointing Joseph Mayami",
9
10
  author_email="anointingmayami@gmail.com",
10
11
  description="Maya CLI - AI Project Generator",
11
- long_description=open("README.md").read(),
12
+ long_description=open("README.md", encoding="utf-8").read(),
12
13
  long_description_content_type="text/markdown",
13
14
  url="https://github.com/anointingmayami/Maya.ai",
14
15
  packages=find_packages(),
@@ -17,12 +18,12 @@ setup(
17
18
  ],
18
19
  entry_points={
19
20
  "console_scripts": [
20
- "maya=maya.cli:maya",
21
+ "maya=maya_cli.cli:maya",
21
22
  ],
22
23
  },
23
24
  classifiers=[
24
25
  "Programming Language :: Python :: 3",
25
- "License :: OSI Approved :: MIT License",
26
+ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
26
27
  "Operating System :: OS Independent",
27
28
  ],
28
29
  python_requires=">=3.7",
maya_cli-0.1.0/LICENSE DELETED
@@ -1 +0,0 @@
1
- # LICENSE
maya_cli-0.1.0/PKG-INFO DELETED
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: maya-cli
3
- Version: 0.1.0
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 :: MIT License
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.7
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: click
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: requires-dist
22
- Dynamic: requires-python
23
- Dynamic: summary
24
-
25
- # README.md
maya_cli-0.1.0/README.md DELETED
@@ -1 +0,0 @@
1
- # README.md
@@ -1 +0,0 @@
1
- # __init__.py
@@ -1,27 +0,0 @@
1
- # cli.py
2
- import os
3
- import click
4
- from project_generator import create_project_structure, PROJECT_STRUCTURE
5
-
6
- @click.group()
7
- def maya():
8
- "Maya CLI - AI Project Generator"
9
- pass
10
-
11
- @click.command()
12
- @click.argument("project_name")
13
- def create(project_name):
14
- "Create a new AI project structure"
15
- base_path = os.path.join(os.getcwd(), project_name)
16
- if os.path.exists(base_path):
17
- click.echo(f"Error: Project '{project_name}' already exists.")
18
- return
19
- os.makedirs(base_path, exist_ok=True)
20
- create_project_structure(base_path, PROJECT_STRUCTURE)
21
- click.echo(f"✅ AI project '{project_name}' created successfully!")
22
-
23
- # Add commands to CLI
24
- maya.add_command(create)
25
-
26
- if __name__ == "__main__":
27
- maya()
@@ -1,25 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: maya-cli
3
- Version: 0.1.0
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 :: MIT License
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.7
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: click
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: requires-dist
22
- Dynamic: requires-python
23
- Dynamic: summary
24
-
25
- # README.md
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- maya = maya.cli:maya
File without changes
File without changes