Skip to main content

Лексика — язык программирования на русском

Лексика — экспериментальный язык программирования, у которого команды, имена и связи слов построены вокруг русской грамматики. Падеж слова помогает понять его роль в операции. Программы хранятся в файлах .lek.

Этот пакет — переходный исполнитель на Python 3.8+ (движок «Лексус»). Нативное ядро на C11 развивается отдельно и пока исполняет только подмножество языка; полный переход на него не завершён. Пакет не заменяет установщик для Windows, Android APK и нативные архивы из релизов.

Установка и запуск

python -m pip install --upgrade leksika
leksika справка
leksika запустить пример.lek

Вместе с leksika ставятся псевдонимы leksus и lek. Исходники движка (.lek) лежат внутри пакета, отдельный репозиторий не нужен. Настройки и заплатки хранятся в ~/.lek, а не в каталоге пакета.

В пакете весь движок, а не только запускатор: части на .lek, примеры, программы, словари, документы и данные словаря. Нет только готовых бинарников нативного ядра (они в архивах релизов под каждую платформу) и браузерной песочницы.

Если команда leksika не находится

pip ставит её в каталог скриптов Python, который в Windows часто не входит в PATH. Запуск через -m работает без PATH всегда:

py -m leksika_engine справка     # та же справка
py -m leksika_engine где         # куда всё поставилось и где искать команду

Leksika где печатает движок, примеры, словари, версию Python, каталог пакета и точный путь каталога скриптов, который нужно добавить в PATH.

Пример

пусть сумма равно пяти.
положить десять в сумму.
прибавить два к сумме.
сказать речь Сумма равна (сумма) конец речи.

Вывод: Сумма равна 12.

Ссылки

Лицензия MIT. Пакет собран из того же коммита, что и версия в теге; файлы подписаны аттестацией PyPI (PEP 740) и проверяются по SHA-256 после загрузки. Браузерная песочница выполняет учебное подмножество языка и не заменяет этот исполнитель.

Metadata

Release files for leksika 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leksika 0.4.1
File Size Uploaded Provenance Actions
leksika-0.4.1.tar.gz 336.1 kB With provenance Details for leksika-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for leksika 0.4.1
File Interpreter ABI Platform Actions
leksika-0.4.1-py3-none-any.whl Python 3 none any Details for leksika-0.4.1-py3-none-any.whl

Total release size: 689.4 kB

Release files / leksika-0.4.1.tar.gz

Download URL leksika-0.4.1.tar.gz
Size 336.1 kB
Tags Source
SHA-256 checksum
How to use checksums
79915f1947ac9effe7cd5cc8cb0c19b85d84fee848832e3dbc9cf398e2f910dd
BLAKE2b-256 checksum
How to use checksums
8639816c463d7dca8fa97e323ebd777ee8cd0dcad4d99ed7ebbc41215eb2fd6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / leksika-0.4.1-py3-none-any.whl

Download URL leksika-0.4.1-py3-none-any.whl
Size 353.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be6854754367ba0221158a344cffed22fcc4512fc7b2835277985ad30f2fbbc2
BLAKE2b-256 checksum
How to use checksums
5b0293e42edc9f34d91d7702653b700b7df47ca4f813292c955f64663f88f161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for leksika 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for leksika-0.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page