Skip to main content

Po-Lang — A high-performance, Python-inspired programming language engine with native AI/ML

Project description

Po-Lang Engine

A high-performance, Python-inspired programming language with native AI/ML engine.

Install

pip install po-lang-engine

Usage

pop run script.po

What's new in 2.2.0

  • Native AI/ML engine (use ai) — zero external dependencies
  • Linear Regression, Logistic Classifier, k-NN — all in pure Python
  • Text Tokenizer built-in
  • HTTP server routing fixes (v2.1.x series)

AI Example

use ai

keep model = ai.Trainer("regression")
keep X = [1, 2, 3, 4, 5]
keep Y = [2, 4, 6, 8, 10]
model["fit"](X, Y, 200)
keep result = model["predict"](6)
show result

HTTP Server Example

use net
keep server = net.listen(8080)
server["route"]("GET", "/", fn(req) { return "<h1>Hello!</h1>" })
server["start"]()

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

po_lang_engine-2.2.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

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

po_lang_engine-2.2.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file po_lang_engine-2.2.0.tar.gz.

File metadata

  • Download URL: po_lang_engine-2.2.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for po_lang_engine-2.2.0.tar.gz
Algorithm Hash digest
SHA256 7fbba9033758d2aba76c204b09ad505f04db7074a0a5da1592a9d745bf50f99b
MD5 e0cf309db9ef3190762e467c99187790
BLAKE2b-256 07faf2bc87a94bee6cf71967fd4c3b87fdae6de95af8c473c630b2422e60a2c7

See more details on using hashes here.

File details

Details for the file po_lang_engine-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: po_lang_engine-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for po_lang_engine-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cfd5db81b476fae397c8be1680ce7686aee9ad67f8852f6efe1ccf9b68df803
MD5 a7b6866d198f3bbf454152e5274cdd75
BLAKE2b-256 d7c5fab434a3e5d32b30bdc211372fcf33e687250aceb738770c8406ffa8cda2

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