algebra-collections


Namealgebra-collections JSON
Version 1.1 PyPI version JSON
download
home_pagehttps://github.com/Alif4141/Algebra
SummarySimple algebra blueprint and linear equation algorithm
upload_time2022-12-07 06:58:45
maintainerKhaliffman Rahmat Hilal
docs_urlNone
authorKelompok 7 PBPU
requires_python
licenseMIT
keywords django package algebra linear_equations
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ============================
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


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Alif4141/Algebra",
    "name": "algebra-collections",
    "maintainer": "Khaliffman Rahmat Hilal",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "alifkill@student.ub.ac.id",
    "keywords": "django package algebra linear_equations",
    "author": "Kelompok 7 PBPU",
    "author_email": "khaliffmanrahmat@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4e/05/fa8bf1f7fd31fc96811a794d9edf2e6a62da5a5ba08d4e4ff1c7d5409172/algebra-collections-1.1.tar.gz",
    "platform": null,
    "description": "============================\r\nDjango Algebraic Calculator\r\n============================\r\n\r\nAplikasi web penghitungan aljabar untuk kelompok 7 Pemrograman Berbasis Penggunaan Ulang, Universitas Brawijaya.\r\n\r\n==========\r\nAnggota\r\n==========\r\n\r\n1.  205150400111052 - AURELIUS ALEXANDER VIRIYA\r\n2.  205150407111019 - BAGAS RADITYA NUR LISTYAWAN\r\n3.  205150407111025 - KHALIFFMAN RAHMAT HILAL\r\n4.  205150407111016 - RIZAL AKBAR SYAH FAUZAN PUTRA\r\n\r\n=====================\r\nInstallation & Usage\r\n=====================\r\n\r\n===============\r\nWithout UI\r\n===============\r\n\r\n1. Install on your project's virtual environment\r\n\r\n2. Use this following syntax to install the package::\r\n\r\n    'pip install algebra-collections'\r\n\r\n3. Add 'algebra_calculator' to your Django project's \"setting.py\" INSTALLED_APPS::\r\n\r\n    INSTALLED_APPS = [\r\n        ...\r\n        'algebra_calculator',\r\n    ]\r\n\r\n4. 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\r\n\r\n    Example using pre-made LinearEquations(linear.views file):\r\n\r\n    from algebra_calculator import *\r\n\r\n    def showXandYvalue():\r\n    \r\n        listOfChars = ['X', 'Y']\r\n        listOfExpressions = [\"2X + 5Y = 10\", \"3X + 2Y = 30\"]\r\n\r\n        result = LinearEquations.solve(2, listOfChars, listOfExpressions)\r\n\r\n        for i in range(len(result)):\r\n            printable(f\"{listOfChars[i]}'s value is = {result}\")\r\n\r\n        return HttpResponse(printable)\r\n\r\n    Example developing other type of Algebraic Equations (commutative.views file):\r\n\r\n\r\n    class CommutativeAlgebra(AlgebraFactory):\r\n        \r\n        def solve(...):\r\n        ...\r\n        ...\r\n\r\n    def finishCommutativeAlgebra():\r\n\r\n        result = CommutativeAlgebra.solve(...)\r\n        \r\n        return HttpResponse(result)\r\n\r\n===============\r\nWith UI\r\n===============\r\n\r\n1. Install on your project's virtual environment\r\n\r\n2. Use this following syntax to install the package::\r\n\r\n    'pip install algebra-collections'\r\n\r\n3. Add 'algebra_calculator' and 'ui' to your Django project's \"setting.py\" INSTALLED_APPS::\r\n\r\n        INSTALLED_APPS = [\r\n        ...\r\n        'algebra_calculator',\r\n        'ui',\r\n        ]\r\n\r\n4. Include the poll URLconf in your project's urls.py::\r\n\r\n    urlpattern = [\r\n        ...\r\n        path('[your_pathing_here/]', include('ui.urls')),\r\n    ]\r\n\r\n5. Access the Linear Equation's UI by running server and using the following url:\r\n\r\n    127.0.0.1:8000/[your_pathing_here]/TwoExpression_LinearEquations\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple algebra blueprint and linear equation algorithm",
    "version": "1.1",
    "split_keywords": [
        "django",
        "package",
        "algebra",
        "linear_equations"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "3a5ce2928cbb151d28f8f68bf14b808d",
                "sha256": "caad4964211480a4ede02d3657bc16bdbaf03cfa8c0e1338ea4881916e2cc2aa"
            },
            "downloads": -1,
            "filename": "algebra_collections-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a5ce2928cbb151d28f8f68bf14b808d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 12433,
            "upload_time": "2022-12-07T06:58:44",
            "upload_time_iso_8601": "2022-12-07T06:58:44.005194Z",
            "url": "https://files.pythonhosted.org/packages/44/cd/bb52f95e95e185c47a7b46a37cd494409129942598da6b0d85173a4bbbe9/algebra_collections-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d75496b44f76f8b4b949ee7d922b0cac",
                "sha256": "be593101ded7646cda3182344738166fc5fe7c123ce15a0b57a79034d252ceb8"
            },
            "downloads": -1,
            "filename": "algebra-collections-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d75496b44f76f8b4b949ee7d922b0cac",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9764,
            "upload_time": "2022-12-07T06:58:45",
            "upload_time_iso_8601": "2022-12-07T06:58:45.724045Z",
            "url": "https://files.pythonhosted.org/packages/4e/05/fa8bf1f7fd31fc96811a794d9edf2e6a62da5a5ba08d4e4ff1c7d5409172/algebra-collections-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-07 06:58:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Alif4141",
    "github_project": "Algebra",
    "lcname": "algebra-collections"
}
        
Elapsed time: 0.01600s