Package_name
============
ShabiiFraction is a Python library for dealing with arithmetic operation
of fractions.
Installation
------------
Use the package manager `pip <https://pip.pypa.io/en/stable/>`__ to
install ShabiiFraction.
.. code:: bash
pip install ShabiiFraction
Usage
-----
.. code:: python
from ShabiiFraction 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
------
Charawi Detphumi
License
-------
`MIT <https://choosealicense.com/licenses/mit/>`__
Raw data
{
"_id": null,
"home_page": "https://github.com/ShabiiPam/ShabiiFraction",
"name": "ShabiiFraction",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Fraction,Mathematics",
"author": "Charawi Detphumi",
"author_email": "partgirlcharawi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ac/0a/b5ca7959c1a6c93dad5a1f54b3724116ee6173eaf14f86ff70417eccc7fa/ShabiiFraction-0.0.2.tar.gz",
"platform": null,
"description": "Package_name\n============\n\nShabiiFraction is a Python library for dealing with arithmetic operation\nof fractions.\n\nInstallation\n------------\n\nUse the package manager `pip <https://pip.pypa.io/en/stable/>`__ to\ninstall ShabiiFraction.\n\n.. code:: bash\n\n pip install ShabiiFraction\n\nUsage\n-----\n\n.. code:: python\n\n from ShabiiFraction import Fraction\n\n a,b,c,d = [int(e) for e in input().split()]\n fraction1 = Fraction(a,b)\n fraction2 = Fraction(c,d)\n print(f\"fraction1 = {fraction1}\")\n print(f\"fraction2 = {fraction2}\")\n print(f\"fraction1+fraction2 = {fraction1+fraction2}\")\n print(f\"fraction1-fraction2 = {fraction1-fraction2}\")\n print(f\"fraction1*fraction2 = {fraction1*fraction2}\")\n print(f\"fraction1/fraction2 = {fraction1/fraction2}\")\n\nContributing\n------------\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\nAuthor\n------\n\nCharawi Detphumi\n\nLicense\n-------\n\n`MIT <https://choosealicense.com/licenses/mit/>`__\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Fraction by Ms.Charawi Detphumi",
"version": "0.0.2",
"split_keywords": [
"fraction",
"mathematics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac0ab5ca7959c1a6c93dad5a1f54b3724116ee6173eaf14f86ff70417eccc7fa",
"md5": "43153b388a599a8815453d088660da4f",
"sha256": "826d7c1254af4bcf56a93af6142e633a2c59fe29b731ce0d53e76499b1ad629f"
},
"downloads": -1,
"filename": "ShabiiFraction-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "43153b388a599a8815453d088660da4f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3120,
"upload_time": "2023-03-23T08:16:26",
"upload_time_iso_8601": "2023-03-23T08:16:26.446088Z",
"url": "https://files.pythonhosted.org/packages/ac/0a/b5ca7959c1a6c93dad5a1f54b3724116ee6173eaf14f86ff70417eccc7fa/ShabiiFraction-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-23 08:16:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ShabiiPam",
"github_project": "ShabiiFraction",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "shabiifraction"
}