{"id":28181,"library":"simple-equ","title":"simple-equ","description":"An open source library containing multiple known STEM equations in a functional form. Current version 1.5.11, supports Python >=3.8. Developed by Muhammad Bilal Qamar. Released under MIT License.","status":"active","version":"1.5.11","language":"python","source_language":"en","source_url":"https://github.com/MuhammadBilalQamar/simple-equ","tags":["stem","equations","arithmetic","trigonometry","quadratic","physics"],"install":[{"cmd":"pip install simple-equ","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"Arithmetic","correct":"from simple_equ import Arithmetic"},{"note":"Wrong package name","wrong":"from equ import Trigonometric","symbol":"Trigonometric","correct":"from simple_equ import Trigonometric"}],"quickstart":{"code":"from simple_equ import Arithmetic, Trigonometric, Quadratic, Factorial, Kinematics\n\n# Arithmetic\nprint(Arithmetic.inverse('add'))  # Output: 'subtract'\n\n# Trigonometric\ndegrees = 30\nrad, sin_val, cos_val, tan_val = Trigonometric.evaluate(degrees)\nprint(f\"Radians: {rad}, sin: {sin_val:.2f}, cos: {cos_val:.2f}, tan: {tan_val:.2f}\")\n\n# Quadratic\nroots = Quadratic.solve(1, -3, 2)\nprint(f\"Roots: {roots}\")\n\n# Factorial\nprint(Factorial.compute(5))  # 120\n\n# Kinematics\ntime = Kinematics.distance_freefall(10, 9.8)\nprint(f\"Time to fall 10m: {time:.2f}s\")","lang":"python","description":"Import and use the core modules: Arithmetic, Trigonometric, Quadratic, Factorial, Kinematics."},"warnings":[{"fix":"Use correct import: from simple_equ import ...","message":"The library uses underscores in module names (simple_equ), not hyphens. Import as 'from simple_equ import ...'.","severity":"gotcha","affected_versions":"all"},{"fix":"Refer to official documentation for each module's API.","message":"Some functions expect specific argument order or return values. Always check the docstrings or source code for method signatures.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install the library: pip install simple-equ, then import as: from simple_equ import ...","cause":"Incorrect import casing (Simple_equ vs simple_equ) or missing install.","error":"ModuleNotFoundError: No module named 'simple_equ'"},{"fix":"Upgrade: pip install --upgrade simple-equ, or check installed version with pip show simple-equ.","cause":"Old version (pre-1.0) had different module structure or the library is not installed correctly.","error":"ImportError: cannot import name 'Arithmetic' from 'simple_equ' (unknown location)"},{"fix":"Ensure inputs are within valid domain (e.g., angles in degrees between -360 and 360 for typical use).","cause":"Passing invalid input to trigonometric functions (e.g., large angles) or sqrt with negative number.","error":"ValueError: math domain error"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}