Skip to main content

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:

pip install pyculus

🔹 Usage

1️⃣ Import the Library

import pyculus as fn

2️⃣ Define a Function

f = x**4 - 2*x**2

3️⃣ Simplify the Function

simplified = fn.symplify(f)
print(simplified)

4️⃣ Find the Domain

d = fn.domain(f)
print("Domain:", d)

5️⃣ Compute the Derivative

derivative = fn.derivative(f)
print("Derivative:", derivative)

6️⃣ Find Critical Points

critical_pts = fn.critical_points(f)
print("Critical Points:", critical_pts)

7️⃣ Generate the Table of Variations

table = fn.table(f)
print("Table of Variations:", table)

8️⃣ Find Extreme Points

extreme_pts = fn.extreme(f)
print("Extreme Points:", extreme_pts)

9️⃣ Identify Increasing and Decreasing Intervals

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! 🚀

Metadata

Release files for pyculus 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyculus 0.0.12
File Interpreter ABI Platform Actions
pyculus-0.0.12-py3-none-any.whl Python 3 none any Details for pyculus-0.0.12-py3-none-any.whl

Release files / pyculus-0.0.12-py3-none-any.whl

Download URL pyculus-0.0.12-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe9598b3a378ec10731f7e1ea695003ec627c394aff54265a11e359a20946c55
BLAKE2b-256 checksum
How to use checksums
a9b0eb1e84944e98d38d56c2732ab918539e265e8680f9eb84922e07f4f9dbdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for pyculus 0.0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.12 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page