Skip to main content

A library to calculate mathematical equations from text input. مكتبة تتيح لك حساب المعادلات الرياضية التي في شكل نصي.

Project description

SmartsCalc

A Python library to calculate mathematical equations provided as text input.
مكتبة بايثون لحساب المعادلات الرياضية المكتوبة كنص.


Features | الميزات

  • Calculate mathematical expressions given as strings.
    حساب المعادلات الرياضية المقدمة كسلاسل نصية.
  • Supports basic arithmetic operations: addition, subtraction, multiplication, division, modulus.
    تدعم العمليات الحسابية الأساسية: جمع، طرح، ضرب، قسمة، باقي القسمة.
  • Easy to use and integrate in your Python projects.
    سهلة الاستخدام والدمج ضمن مشاريع بايثون.

Installation | التثبيت

You can install smartscalc via pip:

pip install smartscalc
from smartscalc import SmartsCalc

equation = "3+5*2-4/2"
result = SmartsCalc(equation)
#result = 3+5*2-4/2 = SmartsCalc("3+5*2-4/2")
print(f"Result: {result}")  # Output should be 10.0 

License | الرخصة

This project is licensed under a Custom License - All Rights Reserved.
This software is the exclusive property of Ryan Al-saidani.
No part of this software may be copied, modified, distributed, sold, sublicensed, or otherwise used
in any form or by any means without prior written permission from the copyright holder.

هذا المشروع مرخص بموجب رخصة خاصة تحتفظ بكل الحقوق.
لا يُسمح بنسخ أو تعديل أو توزيع أو بيع البرنامج بأي شكل أو وسيلة دون إذن كتابي مسبق من المؤلف.


Author | المؤلف Ryan Al-saidani Email: ryan.alsaidani@gmail.com GitHub: https://github.com/ryan-alsaidani/SmartsCalc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smartscalc-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smartscalc-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file smartscalc-1.0.1.tar.gz.

File metadata

  • Download URL: smartscalc-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for smartscalc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9156801c7f04345b275104e685955328834b5e234bc3c2fdd687fedef4036926
MD5 06cfd045dd0b75699cef5a768fb627d0
BLAKE2b-256 30d2b044068e2cd51dfe81028c89294e4070dc68081363cdbda253fd2f662043

See more details on using hashes here.

File details

Details for the file smartscalc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: smartscalc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for smartscalc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 545857c05d52c4ff85129e14b93c48f7fa3e5c914a1bdfa5cd4e5d29971e73c4
MD5 46b547fd0b8048d820dcd9d1c6a3b453
BLAKE2b-256 5bfe913d2bec6ee683e0ee099afb74752e87b350874da594c6df847a30875eda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page