Skip to main content

Maya CLI - AI Project Generator

Project description

Maya CLI - Developer Documentation

Overview

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.

Installation

Before using Maya CLI, ensure that the required dependencies are installed:

pip install -r requirements.txt

Commands

1. Create a New AI Project

Command:

maya create <project_name>

Description:

Creates a new AI project structure.

Example:

maya create my_ai_project

2. Check Best Practices

Command:

maya check_best_practices [folder] [filename]

Description:

Validates Python code against best practices.

Example:

maya check_best_practices api my_script.py

3. Set Environment Variable

Command:

maya set_env <key> <value>

Description:

Sets a key-value pair in the .env file.

Example:

maya set_env OPENAI_API_KEY my_api_key

4. Optimize AI Scripts

Command:

maya optimize [target]

Description:

Optimizes AI scripts with caching and async processing.

Example:

maya optimize my_project

5. Enforce API Security

Command:

maya isSecured <target> [filename]

Description:

Checks and enforces API security measures including authentication, encryption, and rate limiting.

Example:

maya isSecured api my_api.py

6. Check Code Ethics

Command:

maya check_ethics <target> [filename]

Description:

Validates code efficiency, accuracy, and best practices.

Example:

maya check_ethics my_project

7. Generate Documentation

Command:

maya doc <target> <filename>

Description:

Generates a README.md documentation for the given file.

Example:

maya doc api my_script.py

8. Generate Codex Report

Command:

maya codex <target> <filename>

Description:

Provides an in-depth analysis and recommendations for the given file.

Example:

maya codex ai_model model.py

9. Enforce Compliance & Regulation

Command:

maya regulate <target> [filename]

Description:

Ensures compliance with GDPR, CCPA, AI Act, and ISO 42001 AI governance standards.

Example:

maya regulate my_project

Logging

Maya CLI logs all operations in maya_cli.log. Check this file for debugging and issue tracking.

Contact

For support or feature requests, reach out to the development team via GitHub or email.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maya_cli-0.1.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maya_cli-0.1.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file maya_cli-0.1.2.tar.gz.

File metadata

  • Download URL: maya_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for maya_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 031a6779e817d175727b1874cd3225f5425bd354638fc520dd43ab290ff31d08
MD5 12534f3723073087dd43992cf0faf567
BLAKE2b-256 302b4c3c88daf76a18f5529af49d5e4b3f217975c4d44269d22ff5def08d6529

See more details on using hashes here.

File details

Details for the file maya_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: maya_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for maya_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7608212e884f7b61849b1fe0c21f75a3ab1675ab1540ef82e6d0526dec769516
MD5 c20ab3e39e5ad1183f9e88ed181b8dab
BLAKE2b-256 16fc6b9555656762f8f153f53afd4df9643f7e5f76366f30c40e2d42c0e9daef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page