pyculus


Namepyculus JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
Summarya collection of calculus-related functions
upload_time2025-02-19 20:03:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # **pyculus - A Python Library for Calculus Operations**

## **📌 Overview**
pyculus is a Python library that provides **calculus-related functions** including:
- **Simplification of expressions**
- **Domain determination**
- **Derivative calculations**
- **Finding critical points**
- **Table of variations**
- **Increasing and decreasing intervals**
- **Graph plotting**

This library is built using **SymPy, NumPy, and Matplotlib**, making it useful for both **symbolic mathematics** and **visualization**.

---

## **🚀 Installation**
You can install pyculus using pip:
```sh
pip install pyculus
```

---

## **🔹 Usage**
### **1️⃣ Import the Library**
```python
import pyculus as fn
```

### **2️⃣ Define a Function**
```python
f = x**4 - 2*x**2
```

### **3️⃣ Simplify the Function**
```python
simplified = fn.symplify(f)
print(simplified)
```

### **4️⃣ Find the Domain**
```python
d = fn.domain(f)
print("Domain:", d)
```

### **5️⃣ Compute the Derivative**
```python
derivative = fn.derivative(f)
print("Derivative:", derivative)
```

### **6️⃣ Find Critical Points**
```python
critical_pts = fn.critical_points(f)
print("Critical Points:", critical_pts)
```

### **7️⃣ Generate the Table of Variations**
```python
table = fn.table(f)
print("Table of Variations:", table)
```

### **8️⃣ Find Extreme Points**
```python
extreme_pts = fn.extreme(f)
print("Extreme Points:", extreme_pts)
```

### **9️⃣ Identify Increasing and Decreasing Intervals**
```python
increasing_intervals = fn.increasing(f)
decreasing_intervals = fn.decreasing(f)
print("Increasing Intervals:", increasing_intervals)
print("Decreasing Intervals:", decreasing_intervals)
```

### **🔟 Plot the Function**
fn.graph(f)
```

---

## **📌 Features**
- **Symbolic Computation:** Uses SymPy for mathematical operations.
- **Automatic Domain Calculation:** Handles function continuity.
- **Calculus Tools:** Finds derivatives, critical points, and variation tables.
- **Graphing Support:** Uses Matplotlib for visualizing functions.
- **Numerical Handling:** Leverages NumPy for better numerical processing.
- **As of now, the library is not able to take into account discontinuities in the calculations of the increasing and decreasing intervals - but this will not cause an error in the graph.

---

## **🛠 Dependencies**
Function requires the following libraries:
- `sympy`
- `numpy`
- `matplotlib`

These will be installed automatically with `pip install function`.

---

## **📄 License**
This project is licensed under the **GNU General Public License v3.0 (GPL-3.0)**. See the [LICENSE](LICENSE) file for details.

---

## **📞 Contact**
For any questions, bug reports, or feature requests, send an email:
pythonfunctionslibrery@gmail.com

Happy coding! 🚀


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyculus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Maayan Keidar <pythonfunctionslibrery@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# **pyculus - A Python Library for Calculus Operations**\n\n## **\ud83d\udccc Overview**\npyculus is a Python library that provides **calculus-related functions** including:\n- **Simplification of expressions**\n- **Domain determination**\n- **Derivative calculations**\n- **Finding critical points**\n- **Table of variations**\n- **Increasing and decreasing intervals**\n- **Graph plotting**\n\nThis library is built using **SymPy, NumPy, and Matplotlib**, making it useful for both **symbolic mathematics** and **visualization**.\n\n---\n\n## **\ud83d\ude80 Installation**\nYou can install pyculus using pip:\n```sh\npip install pyculus\n```\n\n---\n\n## **\ud83d\udd39 Usage**\n### **1\ufe0f\u20e3 Import the Library**\n```python\nimport pyculus as fn\n```\n\n### **2\ufe0f\u20e3 Define a Function**\n```python\nf = x**4 - 2*x**2\n```\n\n### **3\ufe0f\u20e3 Simplify the Function**\n```python\nsimplified = fn.symplify(f)\nprint(simplified)\n```\n\n### **4\ufe0f\u20e3 Find the Domain**\n```python\nd = fn.domain(f)\nprint(\"Domain:\", d)\n```\n\n### **5\ufe0f\u20e3 Compute the Derivative**\n```python\nderivative = fn.derivative(f)\nprint(\"Derivative:\", derivative)\n```\n\n### **6\ufe0f\u20e3 Find Critical Points**\n```python\ncritical_pts = fn.critical_points(f)\nprint(\"Critical Points:\", critical_pts)\n```\n\n### **7\ufe0f\u20e3 Generate the Table of Variations**\n```python\ntable = fn.table(f)\nprint(\"Table of Variations:\", table)\n```\n\n### **8\ufe0f\u20e3 Find Extreme Points**\n```python\nextreme_pts = fn.extreme(f)\nprint(\"Extreme Points:\", extreme_pts)\n```\n\n### **9\ufe0f\u20e3 Identify Increasing and Decreasing Intervals**\n```python\nincreasing_intervals = fn.increasing(f)\ndecreasing_intervals = fn.decreasing(f)\nprint(\"Increasing Intervals:\", increasing_intervals)\nprint(\"Decreasing Intervals:\", decreasing_intervals)\n```\n\n### **\ud83d\udd1f Plot the Function**\nfn.graph(f)\n```\n\n---\n\n## **\ud83d\udccc Features**\n- **Symbolic Computation:** Uses SymPy for mathematical operations.\n- **Automatic Domain Calculation:** Handles function continuity.\n- **Calculus Tools:** Finds derivatives, critical points, and variation tables.\n- **Graphing Support:** Uses Matplotlib for visualizing functions.\n- **Numerical Handling:** Leverages NumPy for better numerical processing.\n- **As of now, the library is not able to take into account discontinuities in the calculations of the increasing and decreasing intervals - but this will not cause an error in the graph.\n\n---\n\n## **\ud83d\udee0 Dependencies**\nFunction requires the following libraries:\n- `sympy`\n- `numpy`\n- `matplotlib`\n\nThese will be installed automatically with `pip install function`.\n\n---\n\n## **\ud83d\udcc4 License**\nThis project is licensed under the **GNU General Public License v3.0 (GPL-3.0)**. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## **\ud83d\udcde Contact**\nFor any questions, bug reports, or feature requests, send an email:\npythonfunctionslibrery@gmail.com\n\nHappy coding! \ud83d\ude80\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "a collection of calculus-related functions",
    "version": "0.0.7",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bb6337a17dfe8bff684c1375d72a7acb6f8a67967c901fcb5f62e8e8f8bc4d26",
                "md5": "4d87f698137f636178ca078faffee12f",
                "sha256": "69b2786d5cff68299b35aa755f3892dba5f0bb88a74332bc3ee8520987d0c55c"
            },
            "downloads": -1,
            "filename": "pyculus-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4d87f698137f636178ca078faffee12f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 16293,
            "upload_time": "2025-02-19T20:03:09",
            "upload_time_iso_8601": "2025-02-19T20:03:09.375031Z",
            "url": "https://files.pythonhosted.org/packages/bb/63/37a17dfe8bff684c1375d72a7acb6f8a67967c901fcb5f62e8e8f8bc4d26/pyculus-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-19 20:03:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyculus"
}
        
Elapsed time: 3.75387s