{"id":49303988,"url":"https://github.com/divyajeettt/linear-equations","last_synced_at":"2026-04-26T08:39:57.880Z","repository":{"id":57438710,"uuid":"526900464","full_name":"divyajeettt/linear-equations","owner":"divyajeettt","description":"A mathematical Python module providing Linear Equations in one and two variables as Python objects.","archived":false,"fork":false,"pushed_at":"2022-08-29T09:09:57.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T18:34:59.107Z","etag":null,"topics":["gui","linear-equations","logging","math","mathematics","python"],"latest_commit_sha":null,"homepage":"","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/divyajeettt.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":"2022-08-20T10:57:39.000Z","updated_at":"2023-01-17T19:58:33.000Z","dependencies_parsed_at":"2022-09-07T06:11:02.028Z","dependency_job_id":null,"html_url":"https://github.com/divyajeettt/linear-equations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divyajeettt/linear-equations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Flinear-equations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Flinear-equations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Flinear-equations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Flinear-equations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divyajeettt","download_url":"https://codeload.github.com/divyajeettt/linear-equations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Flinear-equations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32291337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gui","linear-equations","logging","math","mathematics","python"],"created_at":"2026-04-26T08:39:52.728Z","updated_at":"2026-04-26T08:39:57.875Z","avatar_url":"https://github.com/divyajeettt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linear-equations\n\n## About linear-equations\n\nlinear-equations is a mathematical Python module providing Linear Equations in one variable, and Linear Equations in two variables as Python objects through two classes called `LinearEquation1D` and `LinearEquation2D`. \n\n*Date of creation:* `April 04, 2021` \\\n*Date of first release on [PyPI](https://pypi.org/project/linear-equations/):* `April 29, 2021`\n\nAlong with the classes describing algebra of linear equations, a class `Symbol` has also been provided to allocate the symbols used in these equations.\n\n## gui-linear-equations\n\nA small graphical-user interface based program is also available as a sub-part of this project. The GUI version of linear-equations has a dependency on this module, `linear_equations`. \\\n*Date of creation:* `April 20, 2021`\n\n## Features\n\n- class `Symbol`\n    \u003e symbols to use in Linear Equations, for example: Symbol(\"x\") -\u003e x\n- class `LinearEquation1D`\n    \u003e objects of type `ax + b = 0`\n- class `LinearEquation2D`\n    \u003e objects of type `ax + by + c = 0`\n- function `solve1D(eqn)`\n    \u003e used to retrieve the solution to a 1D equation\n- function `solve2D(eqn1, eqn2)`\n    \u003e used to retrieve solution to two 2D equations\n- function `consistency(eqn1, eqn2)`\n    \u003e checks and returns if the given LinearEquation2D objects are consistent or not\n- function `satisfies(eqn, x, y)`\n    \u003e returns True if the given pair of numbers satisfy a particular LinearEquation2D and False otherwise\n\nAll classes, methods and functions are enriched with help-text that can be acccessed using the following syntax:\n\n```python\nhelp(linear_equations.thing)\n```\n\n## Edit the logging settings\n\nTo modify the level of the `logger`, modify:\n\n```python\nlogging.basicConfig(\n    filename=\"linear-equations.log\", level=logging.INFO, format=LOG_FORMAT\n)\n```\n\n on [Line 102](https://github.com/divyajeettt/linear-equations/blob/15c664e4bbe0d2c0eeba964eeaed4b1ac658c3b2/gui_linear_equations.py#L102) of `gui_linear_equations.py` to:\n \n ```python\nlogging.basicConfig(\n    filename=\"linear-equations.log\", level=LEVEL, format=LOG_FORMAT\n)\n ```\n \n where `LEVEL` can be one of:\n - `logging.INFO`\n - `logging.DEBUG`\n - `logging.WARNING`\n - `logging.ERROR`\n - `logging.CRITICAL`\n\n## Update History\n\n### Update (0.0.5)\n\nAdded graphing and visualization of 2-dimensional equations. \\\nAdded function `graph(eqn1, eqn2)` which graphs the given `LinearEquation2D` objects on a 2D mathematical plot along with their solution (if any)\n\n### Update (0.0.6)\n\nMinor bug fixes:\n- Fixed issues with plotting linear equations\n- Improved legend on graphs\n\nAdded function `graph_many(eqn1, eqn2, ..., eqn, show_legend=True)` which graphs more than two `LinearEquation2D` objects on the same plot along with each of their solutions (if any)\n\n### Updates (0.0.7)\nMinor bug fixes\n\n## Footnotes\n\n'gui_linear_equations.py' makes use of global variables.\n\n## Run\n\nTo use, execute:\n\n```\npip3 install linear-equations\n```\n\nImport this file in your project, wherever needed, using:\n\n```python\nimport linear_equations as le\n```\n\nTo use the graphical-user interface, clone the repository on your device, navigate to the folder, and execute:\n\n```\npython3 gui_linear_equations.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyajeettt%2Flinear-equations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyajeettt%2Flinear-equations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyajeettt%2Flinear-equations/lists"}