Skip to main content

A beginner-friendly programming language focused on AI.

Project description

Ai Snake Programming Language

Ai Snake is a beginner-friendly programming language for creating AI models easily.

Installation

To install Ai Snake, simply run:

pip install AiSnake

Usage

After installation, you can run Ai Snake scripts or start an interactive REPL:

Create and train an AI model:

ai_model m1 linear_regression
ai_train m1 [1, 2, 3, 4, 5] [2, 4, 6, 8, 10]
ai_predict m1 [6]

Start REPL (Interactive Mode):

python -m ai_snake.interpreter

Save and Load Models:

ai_save m1 "model1.joblib"
ai_load m2 "model1.joblib"

Features

  • Simple print statement support
  • Easy project structure to extend further

Project Structure

AiSnakeLanguage/
├── ai_snake/
├── examples/
└── tests/

Run Example

python -m ai_snake.interpreter examples/hello_world.aisnake

Output

Hello, Ai Snake!

License

Ai Snake is open-source, released under the MIT license.

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

AiSnake-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

AiSnake-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for AiSnake-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cbdcb7f3542b8896e16ab079c92008f622b549431c22190ea53541fe0c916fd1
MD5 b3f8eefa1746fbf59d9d57488e4944ca
BLAKE2b-256 57adae84cd3240804ea88deaf4975013a6de271af924b039facc5bc657f2dbb7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for AiSnake-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2aa144a6919a6b331575b510542de2145fbb74e320cc91bc1ffe195c839df3a1
MD5 f4a44137d3d9364b907a9d47ede10813
BLAKE2b-256 d24dd42e3fb35d89200d98a3ecc6d949a9edb0cc4d439a928f6a7a6c08a5bb8c

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