{"id":16415617,"url":"https://github.com/donno2048/maths","last_synced_at":"2026-06-18T11:31:15.036Z","repository":{"id":62581617,"uuid":"345655643","full_name":"donno2048/Maths","owner":"donno2048","description":"Pretty rendering method for mathematic functions","archived":false,"fork":false,"pushed_at":"2024-01-15T15:48:04.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-10T07:57:31.899Z","etag":null,"topics":["functions","mathematic-functions","rendering"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/PyMathRender/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donno2048.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-08T12:54:41.000Z","updated_at":"2022-01-07T02:06:05.000Z","dependencies_parsed_at":"2022-11-03T21:30:31.304Z","dependency_job_id":null,"html_url":"https://github.com/donno2048/Maths","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FMaths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FMaths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FMaths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FMaths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donno2048","download_url":"https://codeload.github.com/donno2048/Maths/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232754644,"owners_count":18571671,"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":["functions","mathematic-functions","rendering"],"created_at":"2024-10-11T07:06:24.836Z","updated_at":"2026-06-18T11:31:14.995Z","avatar_url":"https://github.com/donno2048.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyMathRender\n\nPretty rendering method for mathematic functions\n\n## Install\n\nFrom Pypi:\n\n`py -m pip install PyMathRender`\n\nFrom GitHub:\n\n`py -m pip install git+https://github.com/donno2048/Maths`\n\n## Use\n\n```py\nfrom PyMathRender import main\nmain(\"sum([math.cos(3 ** n * x / 1000) / (3 ** n) for n in range(10)])\", Text = r\"$\\sum_{n=0}^\\infty\\frac{\\cos\\left(3^nx\\right)}{3^n}$ Is continuous but not differentiable in any point\", LineColor = \"blue\", TextColor = \"blue\", start = 0, end = 10, step = .001, required = [\"math\"])\n```\n\nOr:\n\n```py\nfrom PyMathRender import main\nfrom math import cos, e, sqrt\ndef fun(x): return sum([cos(3 ** n * x / 1000) / (e ** (sqrt(3 ** n) - 1)) for n in range(10)])\nmain(fun, Text = r\"$\\sum_{n=0}^\\infty\\frac{\\cos\\left(3^nx\\right)}{e^{-1+\\sqrt{3^n}}}$ Is smooth but not analytic in any point\", LineColor = \"red\", TextColor = \"red\", start = 0, end = 10, step = .001)\n```\n\nThe first argument is the function (`x` is the variable if you use the string method) - It is the only required argument,\n\n`Text` is the additional text,\n\n`LineColor` is the color of the line plotted, either `blue`, `green`, `red`, `cyan`, `magenta`, `yellow`, `black` or `white`,\n\n`TextColor` is the color of the additional text, same colors as LineColor,\n\n`start`, `end` and `step` are the starting and ending points and the size of the steps between them,\n\n`required` is a list of required packages for the function - needed only using the string method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fmaths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonno2048%2Fmaths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fmaths/lists"}