Jetski


NameJetski JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/TaridSuwansri/Jetski
SummaryJetski Rental System by Tarid Suwansri
upload_time2024-04-09 05:31:58
maintainerNone
docs_urlNone
authorTarid Suwansri
requires_pythonNone
licenseMIT
keywords jetski mathematics tarid suwansri
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Package_name : Jetski
=====================

Jetski is a Python library for dealing with Jetski Rental System.

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

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

.. code:: bash

   pip install Jetski

Usage
-----

Start by importing both classes and datetime module.

.. code:: python

   from Jetski import JetskiRental, Customer
   import datetime

Then, create JetskiRental and Customer objects and test example of rent.

.. code:: python

   shop = JetskiRental(10)
   customer = Customer()

   jetskis = customer.requestJetski()

   customer.rentalBasis = 1

   customer.rentalTime = datetime.datetime.now() + datetime.timedelta(hours=-2)

   request = customer.returnJetski()

   shop.displaystock()

   shop.rentJetskiOnHourlyBasis(jetskis)

   shop.displaystock()

   bill = shop.returnJetski(request)

   print(f"Your bill is {bill}.")

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
------

Tarid Suwansri

License
-------

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TaridSuwansri/Jetski",
    "name": "Jetski",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Jetski, Mathematics, Tarid, Suwansri",
    "author": "Tarid Suwansri",
    "author_email": "taridsuwansri@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/97/70/e97adad2edfae9aa990b633b9d2120ccc15a656d053e74ff2c1e76d3d9ca/Jetski-0.0.4.tar.gz",
    "platform": null,
    "description": "Package_name : Jetski\r\n=====================\r\n\r\nJetski is a Python library for dealing with Jetski Rental System.\r\n\r\nInstallation\r\n------------\r\n\r\nUse the package manager `pip <https://pip.pypa.io/en/stable/>`__ to\r\ninstall Jetski.\r\n\r\n.. code:: bash\r\n\r\n   pip install Jetski\r\n\r\nUsage\r\n-----\r\n\r\nStart by importing both classes and datetime module.\r\n\r\n.. code:: python\r\n\r\n   from Jetski import JetskiRental, Customer\r\n   import datetime\r\n\r\nThen, create JetskiRental and Customer objects and test example of rent.\r\n\r\n.. code:: python\r\n\r\n   shop = JetskiRental(10)\r\n   customer = Customer()\r\n\r\n   jetskis = customer.requestJetski()\r\n\r\n   customer.rentalBasis = 1\r\n\r\n   customer.rentalTime = datetime.datetime.now() + datetime.timedelta(hours=-2)\r\n\r\n   request = customer.returnJetski()\r\n\r\n   shop.displaystock()\r\n\r\n   shop.rentJetskiOnHourlyBasis(jetskis)\r\n\r\n   shop.displaystock()\r\n\r\n   bill = shop.returnJetski(request)\r\n\r\n   print(f\"Your bill is {bill}.\")\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\nTarid Suwansri\r\n\r\nLicense\r\n-------\r\n\r\n`MIT <https://choosealicense.com/licenses/mit/>`__\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Jetski Rental System by Tarid Suwansri",
    "version": "0.0.4",
    "project_urls": {
        "Download": "https://github.com/TaridSuwansri/Jetski/archive/v0.0.4.zip",
        "Homepage": "https://github.com/TaridSuwansri/Jetski"
    },
    "split_keywords": [
        "jetski",
        " mathematics",
        " tarid",
        " suwansri"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9770e97adad2edfae9aa990b633b9d2120ccc15a656d053e74ff2c1e76d3d9ca",
                "md5": "83390c770ac0171d7ed29cf275d776dc",
                "sha256": "eab5d181fbad4c16029bfe96bec2196177a8fe13d3f796068648c57c6a30e124"
            },
            "downloads": -1,
            "filename": "Jetski-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "83390c770ac0171d7ed29cf275d776dc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4760,
            "upload_time": "2024-04-09T05:31:58",
            "upload_time_iso_8601": "2024-04-09T05:31:58.807966Z",
            "url": "https://files.pythonhosted.org/packages/97/70/e97adad2edfae9aa990b633b9d2120ccc15a656d053e74ff2c1e76d3d9ca/Jetski-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-09 05:31:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TaridSuwansri",
    "github_project": "Jetski",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "jetski"
}
        
Elapsed time: 0.31457s