fono-0.2.9
توضیحات
A python package to find optimal number of orders
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fono-0.2.9 |
| نام | fono |
| نسخه کتابخانه | 0.2.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dheepak Krishnamurthy |
| ایمیل نویسنده | kdheepak89@gmail.com |
| آدرس صفحه اصلی | https://github.com/kdheepak89/fono |
| آدرس اینترنتی | https://pypi.org/project/fono/ |
| مجوز | Revised BSD License |
fono - Find Optimal Number of Orders
====================================
Pyomo python program to find number of optimal order from websites
including shipping costs (MILP)
.. figure:: https://raw.githubusercontent.com/kdheepak89/fono/master/screenshots/screenshot1.png
:alt:
Install
-------
::
pip install fono
pip install fono --upgrade
Dependencies
~~~~~~~~~~~~
- Install ```glpk`` <https://www.gnu.org/software/glpk/>`__
::
brew install glpk # osx
Run
---
- Run the following to find the optimal order using input from
individual files
::
fono --quantity fono/data/quantity.csv --price fono/data/price.csv --shipping fono/data/shipping.csv
OR
- Run the following to find the optimal order using input in a folder
::
fono --folder fono/data
.. figure:: https://raw.githubusercontent.com/kdheepak89/fono/master/screenshots/screenshot2.png
:alt:
Use help
::
fono --help
Three files are required to find the optimal order
- prices.csv
- quantity.csv
- shipping.csv
Prices contains the price of an item when purchased from a website.
Quantity contains the number of items required.
Shipping contains the shipping cost from the individual websites.
Troubleshooting
---------------
- Names of items in quantity.csv has to match prices.csv
- Names of websites in shipping.csv has to match prices.csv
- Remove all empty lines
Contribution
------------
Feel free to submit a pull request. Thanks to Matt for the inspiration.
نحوه نصب
نصب پکیج whl fono-0.2.9:
pip install fono-0.2.9.whl
نصب پکیج tar.gz fono-0.2.9:
pip install fono-0.2.9.tar.gz