Skip to main content

Symantex

Symantex (pronounced “semantics”) is a modular LaTeX→SymPy converter built on top of Mirascope’s structured-JSON API. It transforms arbitrary LaTeX snippets into executable SymPy Expr and Eq objects, with hooks for domain-specific operators, custom prompt engineering, and dynamic parser configuration.

Documentation: Available at FormuLearn Docs


🚀 Features

  • Reliable JSON mode via Mirascope LLM calls
  • Automatic parsing into SymPy ASTs (Eq, Sum, Matrix, derivatives, transforms…)
  • Dynamic locals map lets you register new functions/symbols (e.g. argmin, softmax, attention)
  • Pluggable prompt that enforces valid Sympy code (Eq(...), Sum(...), no ellipses)
  • Graceful degradation: partial parse success, intelligent failure logging for diagnostics
  • Customizable parser via regular-expression token discovery

📦 Installation

pip install symantex

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

symantex-0.3.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

symantex-0.3.0-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file symantex-0.3.0.tar.gz.

File metadata

  • Download URL: symantex-0.3.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for symantex-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d080f191d0158184e0fe407d16c4e3fcaa39fcf6b63a9b045013330bdfb2ec36
MD5 3a29fcc9c52409a859a52acbe30e73b0
BLAKE2b-256 453dfcda8b0247a51c92d2b0483c6eadf0fe6682452bfa8d3f6444a57951be5e

See more details on using hashes here.

File details

Details for the file symantex-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: symantex-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for symantex-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ca4740b40feeaa940f15228b26860fcb2df5b1fd855b6dc0f2e167decc3ec5
MD5 988989dbccec7b11b489ea3c2070e05e
BLAKE2b-256 78a024d74507d741b9f08b8961f89cd7317bcb4f9e54148d8cea6de3cf4b861b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page