Catalog PyPI
PACKAGE EXPLORERView in registry

abdullah-graph-eq

PyPI

A Python package for graphing mathematical equations from string input

equationsgraphingmathematicsplottingvisualization
Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 17:18 UTC

README

Version 0.1.0 documentation

Abdullah Graph Equation

A Python package for graphing mathematical equations from string input.

Installation

pip install abdullah_graph_eq

Usage

from abdullah_graph_eq import graph_equation

# Graph a simple quadratic equation
graph_equation("x**2 + 2*x + 1")

# Graph a trigonometric function
graph_equation("sin(x)")

# Graph with custom range
graph_equation("x**3 - 2*x**2 + x - 1", x_range=(-5, 5))

# Save the plot
graph_equation("cos(x) + sin(2*x)", save_path="my_graph.png")

Features

  • Parse mathematical equations from strings
  • Support for common mathematical functions (sin, cos, tan, log, exp, etc.)
  • Customizable plotting range
  • Save plots to files
  • Support for multiple equation formats

Supported Functions

  • Basic arithmetic: +, -, *, /, ** (power)
  • Trigonometric: sin, cos, tan, asin, acos, atan
  • Exponential/Logarithmic: exp, log, ln, log10
  • Other: sqrt, abs

Examples

Linear Function

graph_equation("2*x + 3")

Quadratic Function

graph_equation("x**2 - 4*x + 3")

Trigonometric Function

graph_equation("sin(x) + cos(2*x)")

Complex Function

graph_equation("exp(-x**2) * sin(5*x)")

Requirements

  • Python 3.7+
  • matplotlib
  • numpy
  • sympy

License

MIT License

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.010 Jul 20253

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
yourusername/abdullah_graph_eq

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
abdullahmashhadi/abdullah_graph_eq

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:11adeed67c3a02e516039997b708b045a2b77783d76b8b723e6a45a00ad6fdf1