DSL translation
Introduction
This Python package provides the function dsl_translation that translated natural language commands
into executable code.
The translations are made via a dedicated Web service. Here is the corresponding interactive interface: https://antononcube.shinyapps.io/DSL-evaluations .
Usage examples
from DSLTranslation import *
print(dsl_translation("use dfTitanic; group by passengerSex; counts"))
print(dsl_translation("use dfTitanic; group by passengerSex; counts", fmt="json"))
Remark: By default the generated code is automatically copied to the clipboard. (Using the Python package "pyperclip".)
References
Articles
[AA1] Anton Antonov, "Introduction to data wrangling with Raku", (2021), RakuForPredicion at WordPress.
Packages
[AAp1] Anton Antonov, DSL::English::ClassificationWorkflows Raku package, (2020-2022), GitHub/antononcube.
Videos
[AAv1] Anton Antonov, "Raku for Prediction", (2021), The Raku Conference 2021.
[AAv2] Anton Antonov, "Doing it like a Cro (Raku data wrangling Shortcuts demo)", (2021), YouTube/Anton.Antonov.Antonov.
Release files for DSLTranslation 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DSLTranslation-0.1.1.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DSLTranslation-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / DSLTranslation-0.1.1.tar.gz
| Download URL | DSLTranslation-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f32ab37ec6c95629b87b6df2079688aa05cb524549efc4043f78c734740d6fb3
|
|
BLAKE2b-256 checksum How to use checksums |
6400ba2f1250291d8077d97ae5fb8545986b82e5868dbc7358d5cb62ea52f08e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / DSLTranslation-0.1.1-py3-none-any.whl
| Download URL | DSLTranslation-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9f18d4fefd947305bd5271cbe06673e1b58305832fe32ddb6406bba6fad0287
|
|
BLAKE2b-256 checksum How to use checksums |
eb98b3817987a7ea275683f3c47d061faa4ee7b5ddf55edff7e077a5b6fc6f17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|