Skip to main content

DSLExamples

Python data package with examples of Domain Specific Language (DSL) command translations.

The package closely follows the Raku package "DSL::Examples", [AAp1], and Wolfram Language paclet "DSLExamples", [AAp2], and has (or should have) the same DSL examples data.

Currently, the package has DSL examples to translate from Bulgarian, English, Portuguese, and Russian.


Installation (editable)

pip install DSLExamples

Usage

from DSLExamples import dsl_examples, dsl_workflow_separators

all_examples = dsl_examples()
python_lsa = dsl_examples("Python", "LSAMon")
separators = dsl_workflow_separators("WL", "LSAMon")

Detailed examples -- with LLM code generation -- are given in the notebook "DSL-examples-with-LangChain.ipynb".


References

[AAp1] Anton Antonov, DSL::Examples, Raku package, (2025-2026), GitHub/antononcube.

[AAp2] Anton Antonov, DSLExamples, Wolfram Language paclet, (2025-2026), Wolfram Language Paclet Repository.

Release files for DSLExamples 0.1.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 DSLExamples 0.1.1
File Size Uploaded
dslexamples-0.1.1.tar.gz 31.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DSLExamples 0.1.1
File Interpreter ABI Platform
dslexamples-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 67.3 kB

Release files / dslexamples-0.1.1.tar.gz

Download URL dslexamples-0.1.1.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b3b99a8693b93d6986bfd34c544784dc31b4dc2e9cb74ad321afd5003d05aa1c
BLAKE2b-256 checksum
How to use checksums
569200205ef57140f8cdeb50a1000e34bca5b82a94c0f275fe365ae29b312b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dslexamples-0.1.1-py3-none-any.whl

Download URL dslexamples-0.1.1-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcb639ee3e01ba51a57206b2b9bc54cec9ca437d82e78b9911589ec085449d35
BLAKE2b-256 checksum
How to use checksums
aec9d3c26148dbdfd01a8f8f46d713d0a6d531d8e4a56c297d255e54a036488b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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