{"id":22999213,"url":"https://github.com/gutow/easy_pretty_math","last_synced_at":"2026-05-07T08:38:22.108Z","repository":{"id":70170095,"uuid":"260789460","full_name":"gutow/Easy_Pretty_Math","owner":"gutow","description":"Easy way(s) to get pretty math output in Jupyter notebooks.","archived":false,"fork":false,"pushed_at":"2020-09-02T19:44:19.000Z","size":94,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-08T04:42:16.448Z","etag":null,"topics":["easy-pretty-math","jupyter","jupyter-notebook","jupyter-notebooks","latex","math-expressions","mathjax","pretty-print","python","sympy","typeset"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gutow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license-GPLV3.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-02T22:53:12.000Z","updated_at":"2020-10-12T17:56:54.000Z","dependencies_parsed_at":"2023-03-20T19:51:07.452Z","dependency_job_id":null,"html_url":"https://github.com/gutow/Easy_Pretty_Math","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gutow%2FEasy_Pretty_Math","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gutow%2FEasy_Pretty_Math/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gutow%2FEasy_Pretty_Math/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gutow%2FEasy_Pretty_Math/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gutow","download_url":"https://codeload.github.com/gutow/Easy_Pretty_Math/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246826015,"owners_count":20840174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["easy-pretty-math","jupyter","jupyter-notebook","jupyter-notebooks","latex","math-expressions","mathjax","pretty-print","python","sympy","typeset"],"created_at":"2024-12-15T06:15:55.061Z","updated_at":"2026-05-07T08:38:22.065Z","avatar_url":"https://github.com/gutow.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy_Pretty_Math\n__Try in Binder:__\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gutow/Easy_Pretty_Math.git/master)\n\n__Display Math Operations (DMO)__\n\nEasy way(s) to get pretty math output in Jupyter notebooks. Defines a wrapper function to get nice\ntypesetting of math operations. Overrides most sympy functions to generate typesetting of math operations\n, not just results. There is an option to make the typesetting automatic.\n\nThis is intended mostly to aid with teaching students, who often have difficulty translating code into the symbolic math operations they are used to.\n\nIf the file `algebraic_equations.py` is available `DMO` will also import and play nice with equations as defined in that\nfile.\n\nThe utility functions are:\n\n* `dmo_auto()`: Calling this function causes dmo aware functions (most sympy functions plus `diff(expr)` and `integ(expr)`)\nto display a typeset version of the operations carried out by the function. The call `dmo_auto(status=False)` turns this off. Turned on by default by the call `from Display_Math_Operations import *`.\n* `dmo()`: Passing a valid sympy expression or assignment statement to this function causes the expression or assignment to be evaluated and the operation output as typeset math. Also takes the optional argument `code=True`, causing it to try to output the result of the operation as plain code as well. This will just yield another typeset version of the result if `init_printing(pretty_print=True)` is set rather than `init_printing(pretty_print=False)`.\n\n_To suppress the display of typeset operations pass `display_op=False` to an operation or function._\n\n__This automated operation display will only work inside a Jupyter or IPython environment__\n\nThe code making this work can be viewed in the file Display_Math_Operations.py. **_As this is not yet a pip package this file must be in the same directory as the notebook you wish to use it with._**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgutow%2Feasy_pretty_math","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgutow%2Feasy_pretty_math","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgutow%2Feasy_pretty_math/lists"}