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.1.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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: AiSnake-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1593b139b1cef32b3776b64976ce12111a9e27f1ddba4b9b4120d528f4547d77
MD5 878e5e1c37384cd763d264d4ab1d0157
BLAKE2b-256 569dc4456cd72512d66d2c3273f760dcc6b2047fe3699bfada5d5fe5b9fbed12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AiSnake-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75b03a26c388c2b3ed74e34e56e68ec6146f97082b5d4babc7f14863c29d39b0
MD5 7379154e95f58c1152f379edf9c45dfd
BLAKE2b-256 616204250e6fd34b754e2fecf6eca597a512b11a68e4a248f462ea64cfba257f

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