Skip to main content

Simple algebra blueprint and linear equation algorithm

Project description

Django Algebraic Calculator

Aplikasi web penghitungan aljabar untuk kelompok 7 Pemrograman Berbasis Penggunaan Ulang, Universitas Brawijaya.

Anggota

  1. 205150400111052 - AURELIUS ALEXANDER VIRIYA

  2. 205150407111019 - BAGAS RADITYA NUR LISTYAWAN

  3. 205150407111025 - KHALIFFMAN RAHMAT HILAL

  4. 205150407111016 - RIZAL AKBAR SYAH FAUZAN PUTRA

Installation & Usage

Without UI

  1. Install on your project’s virtual environment

  2. Use this following syntax to install the package:

    'pip install algebra-collections'
  3. Add ‘algebra_calculator’ to your Django project’s “setting.py” INSTALLED_APPS:

    INSTALLED_APPS = [
        ...
        'algebra_calculator',
    ]
  4. Import ‘algebra_calculator’ to your app’s ‘views.py’ in order to use the pre-made Linear Equations or develop other type of Algebraic Equations

    Example using pre-made LinearEquations(linear.views file):

    from algebra_calculator import *

    def showXandYvalue():

    listOfChars = [‘X’, ‘Y’] listOfExpressions = [“2X + 5Y = 10”, “3X + 2Y = 30”]

    result = LinearEquations.solve(2, listOfChars, listOfExpressions)

    for i in range(len(result)):

    printable(f”{listOfChars[i]}’s value is = {result}”)

    return HttpResponse(printable)

    Example developing other type of Algebraic Equations (commutative.views file):

    class CommutativeAlgebra(AlgebraFactory):

    def solve(…): … …

    def finishCommutativeAlgebra():

    result = CommutativeAlgebra.solve(…)

    return HttpResponse(result)

With UI

  1. Install on your project’s virtual environment

  2. Use this following syntax to install the package:

    'pip install algebra-collections'
  3. Add ‘algebra_calculator’ and ‘ui’ to your Django project’s “setting.py” INSTALLED_APPS:

    INSTALLED_APPS = [
    ...
    'algebra_calculator',
    'ui',
    ]
  4. Include the poll URLconf in your project’s urls.py:

    urlpattern = [
        ...
        path('[your_pathing_here/]', include('ui.urls')),
    ]
  5. Access the Linear Equation’s UI by running server and using the following url:

    127.0.0.1:8000/[your_pathing_here]/TwoExpression_LinearEquations

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

algebra-collections-1.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

algebra_collections-1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file algebra-collections-1.1.tar.gz.

File metadata

  • Download URL: algebra-collections-1.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for algebra-collections-1.1.tar.gz
Algorithm Hash digest
SHA256 be593101ded7646cda3182344738166fc5fe7c123ce15a0b57a79034d252ceb8
MD5 d75496b44f76f8b4b949ee7d922b0cac
BLAKE2b-256 4e05fa8bf1f7fd31fc96811a794d9edf2e6a62da5a5ba08d4e4ff1c7d5409172

See more details on using hashes here.

File details

Details for the file algebra_collections-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for algebra_collections-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caad4964211480a4ede02d3657bc16bdbaf03cfa8c0e1338ea4881916e2cc2aa
MD5 3a5ce2928cbb151d28f8f68bf14b808d
BLAKE2b-256 44cdbb52f95e95e185c47a7b46a37cd494409129942598da6b0d85173a4bbbe9

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