Skip to main content

DSL command translation examples and workflow separators

Project description

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.

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

dslexamples-0.1.1.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

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

dslexamples-0.1.1-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dslexamples-0.1.1.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for dslexamples-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b3b99a8693b93d6986bfd34c544784dc31b4dc2e9cb74ad321afd5003d05aa1c
MD5 caac9a18a178a61c45b0f5a3e04055a5
BLAKE2b-256 569200205ef57140f8cdeb50a1000e34bca5b82a94c0f275fe365ae29b312b1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dslexamples-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for dslexamples-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb639ee3e01ba51a57206b2b9bc54cec9ca437d82e78b9911589ec085449d35
MD5 ba4f6da553b3d655468aa54a52c149ac
BLAKE2b-256 aec9d3c26148dbdfd01a8f8f46d713d0a6d531d8e4a56c297d255e54a036488b

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