akfraction


Nameakfraction JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/kadisak/akfraction
SummaryFraction by Mr.Adisak
upload_time2023-03-23 08:12:41
maintainer
docs_urlNone
authorAdisak Karnbanjong
requires_python
licenseMIT
keywords fraction mathematics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Package_name
============

akfraction is a Python library for dealing with arithmetic operation.

Installation
------------

Use the package manager `pip <https://pip.pypa.io/en/stable/>`__ to
install akfraction.

.. code:: bash

   pip install akfraction

Usage
-----

.. code:: python

   from akfraction import Fraction

   a,b,c,d = [int(e) for e in input().split()]
   fraction1 = Fraction(a,b)
   fraction2 = Fraction(c,d)
   print(f"fraction1 = {fraction1}")
   print(f"fraction2 = {fraction2}")
   print(f"fraction1+fraction2 = {fraction1+fraction2}")
   print(f"fraction1-fraction2 = {fraction1-fraction2}")
   print(f"fraction1*fraction2 = {fraction1*fraction2}")
   print(f"fraction1/fraction2 = {fraction1/fraction2}")

Contributing
------------

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

Author
------

Adisak Karnbanjong

License
-------

`MIT <https://choosealicense.com/licenses/mit/>`__

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kadisak/akfraction",
    "name": "akfraction",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Fraction,Mathematics",
    "author": "Adisak Karnbanjong",
    "author_email": "kpadisak@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/49/a3/bf448c32c1c8fbf96718f2d37d8f34ae97c9ca5805c9f3604807424c4453/akfraction-0.0.2.tar.gz",
    "platform": null,
    "description": "Package_name\r\n============\r\n\r\nakfraction is a Python library for dealing with arithmetic operation.\r\n\r\nInstallation\r\n------------\r\n\r\nUse the package manager `pip <https://pip.pypa.io/en/stable/>`__ to\r\ninstall akfraction.\r\n\r\n.. code:: bash\r\n\r\n   pip install akfraction\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n   from akfraction import Fraction\r\n\r\n   a,b,c,d = [int(e) for e in input().split()]\r\n   fraction1 = Fraction(a,b)\r\n   fraction2 = Fraction(c,d)\r\n   print(f\"fraction1 = {fraction1}\")\r\n   print(f\"fraction2 = {fraction2}\")\r\n   print(f\"fraction1+fraction2 = {fraction1+fraction2}\")\r\n   print(f\"fraction1-fraction2 = {fraction1-fraction2}\")\r\n   print(f\"fraction1*fraction2 = {fraction1*fraction2}\")\r\n   print(f\"fraction1/fraction2 = {fraction1/fraction2}\")\r\n\r\nContributing\r\n------------\r\n\r\nPull requests are welcome. For major changes, please open an issue first\r\nto discuss what you would like to change.\r\n\r\nPlease make sure to update tests as appropriate.\r\n\r\nAuthor\r\n------\r\n\r\nAdisak Karnbanjong\r\n\r\nLicense\r\n-------\r\n\r\n`MIT <https://choosealicense.com/licenses/mit/>`__\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Fraction by Mr.Adisak",
    "version": "0.0.2",
    "split_keywords": [
        "fraction",
        "mathematics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49a3bf448c32c1c8fbf96718f2d37d8f34ae97c9ca5805c9f3604807424c4453",
                "md5": "7076583b6fc43888ed6a155007c98ff6",
                "sha256": "5621ee533d7173361c9a9e16c4b949a40ebaddc266f1373ea3e5809c31fb3cb8"
            },
            "downloads": -1,
            "filename": "akfraction-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7076583b6fc43888ed6a155007c98ff6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3145,
            "upload_time": "2023-03-23T08:12:41",
            "upload_time_iso_8601": "2023-03-23T08:12:41.550371Z",
            "url": "https://files.pythonhosted.org/packages/49/a3/bf448c32c1c8fbf96718f2d37d8f34ae97c9ca5805c9f3604807424c4453/akfraction-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-23 08:12:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "kadisak",
    "github_project": "akfraction",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "akfraction"
}
        
Elapsed time: 0.07660s