Spaces:
Sleeping
Sleeping
Upload 11 files
Browse files- .gitignore +162 -0
- LICENSE +201 -0
- app.py +267 -0
- first_call_off.csv +107 -0
- fourth_call_off_abc_df.csv +64 -0
- fourth_call_off_stock.csv +36 -0
- list_price_df.csv +22 -0
- notebook.ipynb +0 -0
- reagent_prices.csv +141 -0
- requirements.txt +7 -0
- utils.py +108 -0
.gitignore
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Byte-compiled / optimized / DLL files
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
*$py.class
|
| 5 |
+
|
| 6 |
+
# C extensions
|
| 7 |
+
*.so
|
| 8 |
+
|
| 9 |
+
# Distribution / packaging
|
| 10 |
+
.Python
|
| 11 |
+
build/
|
| 12 |
+
develop-eggs/
|
| 13 |
+
dist/
|
| 14 |
+
downloads/
|
| 15 |
+
eggs/
|
| 16 |
+
.eggs/
|
| 17 |
+
lib/
|
| 18 |
+
lib64/
|
| 19 |
+
parts/
|
| 20 |
+
sdist/
|
| 21 |
+
var/
|
| 22 |
+
wheels/
|
| 23 |
+
share/python-wheels/
|
| 24 |
+
*.egg-info/
|
| 25 |
+
.installed.cfg
|
| 26 |
+
*.egg
|
| 27 |
+
MANIFEST
|
| 28 |
+
|
| 29 |
+
# PyInstaller
|
| 30 |
+
# Usually these files are written by a python script from a template
|
| 31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
| 32 |
+
*.manifest
|
| 33 |
+
*.spec
|
| 34 |
+
|
| 35 |
+
# Installer logs
|
| 36 |
+
pip-log.txt
|
| 37 |
+
pip-delete-this-directory.txt
|
| 38 |
+
|
| 39 |
+
# Unit test / coverage reports
|
| 40 |
+
htmlcov/
|
| 41 |
+
.tox/
|
| 42 |
+
.nox/
|
| 43 |
+
.coverage
|
| 44 |
+
.coverage.*
|
| 45 |
+
.cache
|
| 46 |
+
nosetests.xml
|
| 47 |
+
coverage.xml
|
| 48 |
+
*.cover
|
| 49 |
+
*.py,cover
|
| 50 |
+
.hypothesis/
|
| 51 |
+
.pytest_cache/
|
| 52 |
+
cover/
|
| 53 |
+
|
| 54 |
+
# Translations
|
| 55 |
+
*.mo
|
| 56 |
+
*.pot
|
| 57 |
+
|
| 58 |
+
# Django stuff:
|
| 59 |
+
*.log
|
| 60 |
+
local_settings.py
|
| 61 |
+
db.sqlite3
|
| 62 |
+
db.sqlite3-journal
|
| 63 |
+
|
| 64 |
+
# Flask stuff:
|
| 65 |
+
instance/
|
| 66 |
+
.webassets-cache
|
| 67 |
+
|
| 68 |
+
# Scrapy stuff:
|
| 69 |
+
.scrapy
|
| 70 |
+
|
| 71 |
+
# Sphinx documentation
|
| 72 |
+
docs/_build/
|
| 73 |
+
|
| 74 |
+
# PyBuilder
|
| 75 |
+
.pybuilder/
|
| 76 |
+
target/
|
| 77 |
+
|
| 78 |
+
# Jupyter Notebook
|
| 79 |
+
.ipynb_checkpoints
|
| 80 |
+
|
| 81 |
+
# IPython
|
| 82 |
+
profile_default/
|
| 83 |
+
ipython_config.py
|
| 84 |
+
|
| 85 |
+
# pyenv
|
| 86 |
+
# For a library or package, you might want to ignore these files since the code is
|
| 87 |
+
# intended to run in multiple environments; otherwise, check them in:
|
| 88 |
+
# .python-version
|
| 89 |
+
|
| 90 |
+
# pipenv
|
| 91 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
| 92 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
| 93 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
| 94 |
+
# install all needed dependencies.
|
| 95 |
+
#Pipfile.lock
|
| 96 |
+
|
| 97 |
+
# poetry
|
| 98 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
| 99 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 100 |
+
# commonly ignored for libraries.
|
| 101 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
| 102 |
+
#poetry.lock
|
| 103 |
+
|
| 104 |
+
# pdm
|
| 105 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
| 106 |
+
#pdm.lock
|
| 107 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
| 108 |
+
# in version control.
|
| 109 |
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
| 110 |
+
.pdm.toml
|
| 111 |
+
.pdm-python
|
| 112 |
+
.pdm-build/
|
| 113 |
+
|
| 114 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
| 115 |
+
__pypackages__/
|
| 116 |
+
|
| 117 |
+
# Celery stuff
|
| 118 |
+
celerybeat-schedule
|
| 119 |
+
celerybeat.pid
|
| 120 |
+
|
| 121 |
+
# SageMath parsed files
|
| 122 |
+
*.sage.py
|
| 123 |
+
|
| 124 |
+
# Environments
|
| 125 |
+
.env
|
| 126 |
+
.venv
|
| 127 |
+
env/
|
| 128 |
+
venv/
|
| 129 |
+
ENV/
|
| 130 |
+
env.bak/
|
| 131 |
+
venv.bak/
|
| 132 |
+
|
| 133 |
+
# Spyder project settings
|
| 134 |
+
.spyderproject
|
| 135 |
+
.spyproject
|
| 136 |
+
|
| 137 |
+
# Rope project settings
|
| 138 |
+
.ropeproject
|
| 139 |
+
|
| 140 |
+
# mkdocs documentation
|
| 141 |
+
/site
|
| 142 |
+
|
| 143 |
+
# mypy
|
| 144 |
+
.mypy_cache/
|
| 145 |
+
.dmypy.json
|
| 146 |
+
dmypy.json
|
| 147 |
+
|
| 148 |
+
# Pyre type checker
|
| 149 |
+
.pyre/
|
| 150 |
+
|
| 151 |
+
# pytype static type analyzer
|
| 152 |
+
.pytype/
|
| 153 |
+
|
| 154 |
+
# Cython debug symbols
|
| 155 |
+
cython_debug/
|
| 156 |
+
|
| 157 |
+
# PyCharm
|
| 158 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
| 159 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
| 160 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 161 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 162 |
+
#.idea/
|
LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
app.py
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
from utils import ai_markerter, market_validator
|
| 4 |
+
import time
|
| 5 |
+
|
| 6 |
+
########################## Data Set Up ############################
|
| 7 |
+
# loading the data
|
| 8 |
+
first_call_off = pd.read_csv('first_call_off.csv')
|
| 9 |
+
fourth_call_off_abc = pd.read_csv('fourth_call_off_abc_df.csv')
|
| 10 |
+
fourth_call_off_stock = pd.read_csv('fourth_call_off_stock.csv')
|
| 11 |
+
list_price = pd.read_csv('list_price_df.csv')
|
| 12 |
+
reagent_price = pd.read_csv('reagent_prices.csv')
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# a function to load the data and get info
|
| 16 |
+
def get_info(product_name):
|
| 17 |
+
# checking the PRODUCT column in all the dataframes, storing the result in a dictionary
|
| 18 |
+
# adding a try except block to handle the case where the product is not found in the dataframe
|
| 19 |
+
dict_list = []
|
| 20 |
+
df_list = [first_call_off, fourth_call_off_abc, fourth_call_off_stock, list_price, reagent_price]
|
| 21 |
+
for df in df_list:
|
| 22 |
+
dict_info = {}
|
| 23 |
+
if product_name in df['PRODUCTS'].values:
|
| 24 |
+
dict_info['Product'] = product_name
|
| 25 |
+
dict_info['Category'] = df['CATEGORY'][df['PRODUCTS'] == product_name].values[0]
|
| 26 |
+
dict_info['Unit Price'] = df['UNIT NGN'][df['PRODUCTS'] == product_name].values[0]
|
| 27 |
+
dict_info['Cinuc Price'] = df['CINUC PRICE'][df['PRODUCTS'] == product_name].values[0]
|
| 28 |
+
dict_info['Exchange Rate'] = df['EXCHANGE RATE'][df['PRODUCTS'] == product_name].values[0]
|
| 29 |
+
dict_info['Date'] = df['DATE'][df['PRODUCTS'] == product_name].values[0]
|
| 30 |
+
dict_list.append(dict_info)
|
| 31 |
+
return dict_list
|
| 32 |
+
|
| 33 |
+
product_lists = ['AFP i- chromax',
|
| 34 |
+
'AIC NOW catridge for HB Aic determination 10.PKT',
|
| 35 |
+
'Agary 2ml single-use syringes 23G X11/4 100 /PACK',
|
| 36 |
+
'Antibiotics multidisk( AB- DISC) gram neg',
|
| 37 |
+
'Antibiotics multidisk( AB- DISC) gram pos',
|
| 38 |
+
'Antibiotics multidisk( AB-DISC) gram neg',
|
| 39 |
+
'Antibiotics multidisk( AB-DISC) gram pos',
|
| 40 |
+
'Autoclave tapes (roll)',
|
| 41 |
+
'BATTERY LITHIUM A A3.6V',
|
| 42 |
+
'BHCG i- chromax',
|
| 43 |
+
'BioMed sicle scan for rapid genotye X25 /PKT',
|
| 44 |
+
'Bispot 1 &2 Determinate pkt',
|
| 45 |
+
'Bispot 1 &2 Determine pkt ALEERE',
|
| 46 |
+
'Blood group A typing serum 10ml/ 10 bottles /pkt by Biotec',
|
| 47 |
+
'Blood group AB typing serum 10ml/ 10 bottles /pkt by Biotec',
|
| 48 |
+
'Blood group B typing serum 10ml/ 10 bottles /pkt by Biotec',
|
| 49 |
+
'Blood group D typing serum 10ml/ 10 bottles /pkt by Biotec',
|
| 50 |
+
'CEA i- chromax',
|
| 51 |
+
'CK-MB i- chromax',
|
| 52 |
+
'CLED 500g',
|
| 53 |
+
'COBAS 3 C111 CLEANER',
|
| 54 |
+
'COBAS 3 C111 PROBE CLEANER 500ML',
|
| 55 |
+
'COBAS C 11 GLU2 GLUCOSE 400 TESTS',
|
| 56 |
+
'COBAS C 111 ALKALINE PHOS 400 TESTS',
|
| 57 |
+
'COBAS C 111 ALT (GPT) 400 TESTS',
|
| 58 |
+
'COBAS C 111 AST (GOT) 400 TESTS',
|
| 59 |
+
'COBAS C 111 Automated system CFAS 12 x 3ml botlles /pkt',
|
| 60 |
+
'COBAS C 111 BLT3 TOTAL BILIRUBIN',
|
| 61 |
+
'COBAS C 111 CFAS Lipid',
|
| 62 |
+
'COBAS C 111 CHOL3 CHOLESTEROL 400 TESTS',
|
| 63 |
+
'COBAS C 111 DEPROTEINIZER 2 bottles / pkt',
|
| 64 |
+
'COBAS C 111 PRINTER PAPER 4 rolls /PKT',
|
| 65 |
+
'COBAS C 111 TRIGLYCERIDES 200 TESTS',
|
| 66 |
+
'COBAS C 111 UREA 400 TESTS',
|
| 67 |
+
'COBAS C 111 URIC ACID PLUS 400 TESTS',
|
| 68 |
+
'COBAS C111 CREATININE 400 TESTS',
|
| 69 |
+
'COBAS C111 HDL 400TESTS',
|
| 70 |
+
'COBAS C111 SAMPLE CUPS 1000/PKT',
|
| 71 |
+
'COBAS C111 SODIUN CHLORIDE',
|
| 72 |
+
'COBAS INTEGRA C 111 ACTIVATOR 9X12 ml bottles /pt',
|
| 73 |
+
'CORTISOL i- chromax',
|
| 74 |
+
'CRP i- chromax',
|
| 75 |
+
'CUVETTE SEGMENT COBAS C 111 5,000 pcs/pkt',
|
| 76 |
+
'Chloroscope complete kit with ortholidine',
|
| 77 |
+
'Cholesterol (Accu Answer)',
|
| 78 |
+
'Clean and check',
|
| 79 |
+
'Complete set Vacutainer 4ml EDTA by 1000/pkt BD',
|
| 80 |
+
'Conical Flask 1000ml',
|
| 81 |
+
'Conical Flask 250ml',
|
| 82 |
+
'Conical Flask 500ml',
|
| 83 |
+
'Cotton wool non absorbent 500g',
|
| 84 |
+
'D-DIMER i- chromax',
|
| 85 |
+
'D-DIMER i-chromax',
|
| 86 |
+
'Dependaplast waterproof round spot plasters 100/pkt',
|
| 87 |
+
'Electrophoresing buffer, 6.1g x 10 shandon/pky',
|
| 88 |
+
'Epson ribbon for Reflotron printer',
|
| 89 |
+
'Erytrocyte sedimentation rate, dispet 100/pkt',
|
| 90 |
+
'FERRITIN i- chromax',
|
| 91 |
+
'FSH i- chromax',
|
| 92 |
+
'Febrile antigen test (OMEGA) 8 x 5ml with controls',
|
| 93 |
+
'Febrile antigen test (VOSAN) 8 x 5ml with controls',
|
| 94 |
+
"Field's stain A 100ml",
|
| 95 |
+
"Field's stain B 100ml",
|
| 96 |
+
'Filter paper whatman 42 ashless 12.5 cm 100/pkt',
|
| 97 |
+
'Giemsa Stain 100ml/bottle ferntec biosciences',
|
| 98 |
+
'Glucose (Accu Answer)',
|
| 99 |
+
'HALOGEN LAMP for COBAS c111',
|
| 100 |
+
'HCG i- chromax',
|
| 101 |
+
'HCG test strips Diaspot, diagnostic USA,/ Antec type/ 50/pkt',
|
| 102 |
+
'HbA1C i- chromax',
|
| 103 |
+
'Heavy duty oxivir TB bench wipes AHP approved',
|
| 104 |
+
'HsCRP i- chromax',
|
| 105 |
+
'Immersion oil 100ml',
|
| 106 |
+
'Insta TEST 6 PLUS lamotte 50strips/pkt',
|
| 107 |
+
'Insta iron Lamotte25 strips/pkt',
|
| 108 |
+
'LH i- chromax',
|
| 109 |
+
'Labacon H.pylori',
|
| 110 |
+
'Laboratory lighter plastic gun type',
|
| 111 |
+
'Latex examination gloves (by Sempercare) 100 7L',
|
| 112 |
+
'Latex examination gloves (by Sempercare) 100 8-9L',
|
| 113 |
+
'MICROALBUMIN i- chromax',
|
| 114 |
+
'MYOGLOBIN same',
|
| 115 |
+
'Macconkey agar 500g oxoid',
|
| 116 |
+
'Manfred grease free crytal clear slides 72/Pack x20',
|
| 117 |
+
'Manifred cover slips 50 x10/pkt',
|
| 118 |
+
'Methylated spirit 4l BDH with MSDS',
|
| 119 |
+
'Mindray UA66 uirinalysis strips 50/pkt',
|
| 120 |
+
'Multistrips for urinalysis, ACON LABS',
|
| 121 |
+
'Oxoid Blood agar base 500gm by pronadis product',
|
| 122 |
+
'Oxoid CLED agar 500grams pronadisa product',
|
| 123 |
+
'Oxoid Iso- sensitest agar agar 500gm pronadisa product',
|
| 124 |
+
'Oxoid Iso-sensitest agar agar 500gm pronadisa product',
|
| 125 |
+
'Oxoid MacConkey agar 500gm by pronadisa procuct',
|
| 126 |
+
'Oxoid Nutrient agar 500gm pronadisa product',
|
| 127 |
+
'Oxoid Yeast extract agar 500gm pronadisa product',
|
| 128 |
+
'PCT i- chromax',
|
| 129 |
+
'PROBE SET COBAS c111',
|
| 130 |
+
'PROGESTERONE i- chromax',
|
| 131 |
+
'PROLACTIN i- chromax',
|
| 132 |
+
'PSA i- chromax',
|
| 133 |
+
'Paper tapes (Rolls)',
|
| 134 |
+
'Parazone 500ml x 20bottles /ctn',
|
| 135 |
+
'Pipette tips (1-200ul) blue type x 1000/pkt EPPENDDORE',
|
| 136 |
+
'Pyrix Beaker 1000ml',
|
| 137 |
+
'Pyrix Beaker 100ml',
|
| 138 |
+
'Pyrix Beaker 2000 ml',
|
| 139 |
+
'Pyrix Beaker 250ml',
|
| 140 |
+
'Pyrix Beaker 500ml',
|
| 141 |
+
'QBC HEAMATOLOGY/MALARIA TUBES 250T',
|
| 142 |
+
'QBC HEAMATOLOGY/MALARIA TUBES TUBES 250T',
|
| 143 |
+
'QBC HEMATOLOGY/MALARIA TUBES TUBES 250T',
|
| 144 |
+
'RF IgM i- chromax',
|
| 145 |
+
'Reflotron AST/GOT x30 stripes/pkt',
|
| 146 |
+
'Reflotron AST/GOT x30 stripes/pkt stripes/pkt',
|
| 147 |
+
'Reflotron Alk.Phosphate x 30 stripes/pkt',
|
| 148 |
+
'Reflotron Bilirubin x 30 stripes/pkt',
|
| 149 |
+
'Reflotron Cholesterol x30 stripes/pkt',
|
| 150 |
+
'Reflotron Creatinine x30 stripes/pkt',
|
| 151 |
+
'Reflotron GPT/ALT x 30 stripes/pkt',
|
| 152 |
+
'Reflotron Gamma GT x 30 stripes/pkt',
|
| 153 |
+
'Reflotron Glucose 15 x 2 stripes /pkt',
|
| 154 |
+
'Reflotron HDL Cholesterol x 30 stripes/pkt',
|
| 155 |
+
'Reflotron Pancreatic Amylase 15 x 2',
|
| 156 |
+
'Reflotron Pancreatic Amylase 15 x 2 stripes/pkt',
|
| 157 |
+
'Reflotron Pancreatic Amylase 15x2 stripes/pkt',
|
| 158 |
+
'Reflotron Potassium x 30',
|
| 159 |
+
'Reflotron Pottasium x 30',
|
| 160 |
+
'Reflotron Triglycerides x30 stripes/pkt',
|
| 161 |
+
'Reflotron Urea 15 x 2 stripes/pkt',
|
| 162 |
+
'Reflotron Uric Acid x 30 stripes/pkt',
|
| 163 |
+
'S- monovette 4.5ml lithium heparin Sarstedt x 500/cartoon',
|
| 164 |
+
'S-monovette 2.6ml EDTA by Sarstedt x500/carton *',
|
| 165 |
+
'SD BIO LINE H. Pylori Antibody test 30 tests /pkt',
|
| 166 |
+
'SD BIO LINE H.Pylori Antibody test 30 tests /pkt',
|
| 167 |
+
'SD BIO LINE HBV test kit',
|
| 168 |
+
'SD BIO LINE HIV 1/2 antibody test kit 3.0 25/pkt',
|
| 169 |
+
'SD BIO LINE HIV Ag/Ab combo 30tests/pkt',
|
| 170 |
+
'SD BIOLINE 30 TEST/PKT. (HAV)',
|
| 171 |
+
'SD BIOLINE HAC 30 TEST/PKT. (HAV)',
|
| 172 |
+
'SD BIOLINE HCV 3.0 30 tests/pkt',
|
| 173 |
+
'SD BIOLINE HIV ELISA 3.0 Confirmatory test kit',
|
| 174 |
+
'SD BIOLINE MALARIA Ag P. f ELISA Test',
|
| 175 |
+
'SD BIOLINE Prostatic specific antigen ( PSA) 30/pkt',
|
| 176 |
+
'SD BIOLINE Rheumatoid athritis test kit 30 tests /pkt',
|
| 177 |
+
'SD BIOLINE Strep A antigen test 25 tests /pkts',
|
| 178 |
+
'SD BIOLINE TB Ag test kit 25/kpt',
|
| 179 |
+
'SD MALARIA SINGLE UNITS',
|
| 180 |
+
'SD Malaria kit HRP2/Pldh (Pf PAN )',
|
| 181 |
+
'SD malaria Ag Pf.kit for multiple use, 25/pkt BIOLINE',
|
| 182 |
+
'SD malaria Ag Pf.kit for single use, 25/pkt BIOLINE',
|
| 183 |
+
'STATPAK HIV 1/2',
|
| 184 |
+
'Sarstedt multi-safe comfort 6l, sharp box',
|
| 185 |
+
'Sarstedt standardinnoculation loop(50)/pkt',
|
| 186 |
+
'Starstedt Safety sterile petri dish disposable type 92/16mm/ctn',
|
| 187 |
+
'Sterilin type petri dish containers / 100cm',
|
| 188 |
+
'Sterilin type universal containers, (for urine) Red cap type(400)/ctn',
|
| 189 |
+
'T3 i- chromax',
|
| 190 |
+
'T4 i- chromax',
|
| 191 |
+
'TESTOSTERONE i- chromax',
|
| 192 |
+
'TSH i- chromax',
|
| 193 |
+
'Tn-I i- chromax',
|
| 194 |
+
'UNIGOLD HIV test kit',
|
| 195 |
+
'Uristix for urinalysis, plus auto check, SIEMENS/ 100/PKT',
|
| 196 |
+
'Veneral Disease Resarch LAB antigen test, VDRL TEST.',
|
| 197 |
+
'Veneral Disease Research Laboratory (VDRL) TEST KIT',
|
| 198 |
+
'Vit D I-Chromax',
|
| 199 |
+
'Water quality quick test with probefor PH, ORP, EC, DO and Turbidity',
|
| 200 |
+
'cellulose acetate foils X50 Bayer',
|
| 201 |
+
'cellulose acetate strips shandon 60 x150mm x 100/pkt',
|
| 202 |
+
'mindray 5 heaamatology reagent Cleaner',
|
| 203 |
+
'mindray 5 heaamatology reagent Diluent 20ml',
|
| 204 |
+
'mindray 5 heaamatology reagent Rinse1L X 4',
|
| 205 |
+
'mindray 5 heaamatology reagent leo 1 lyse1L X4',
|
| 206 |
+
'mindray 5 heaamatology reagent leo 11 lyse(400mlx4)',
|
| 207 |
+
'mindray 5 heamatology reagent Cleaner',
|
| 208 |
+
'mindray 5 heamatology reagent Diluent 20ml',
|
| 209 |
+
'mindray 5 heamatology reagent Rinse1L X 4',
|
| 210 |
+
'mindray 5 heamatology reagent leo 1 lyse1L X4',
|
| 211 |
+
'mindray 5 heamtology reagents 53LH LYSE 500/ x4',
|
| 212 |
+
'mindray 5 heamtology reagents 53LH LYSE 500/4',
|
| 213 |
+
'oxivir TB sprays AHP approved',
|
| 214 |
+
'sensigrip latex BX 100 INVACARE']
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
# product = "Field's stain B 100ml"
|
| 218 |
+
# data = get_info(product)
|
| 219 |
+
# print(data)
|
| 220 |
+
|
| 221 |
+
############################ Streamlit App ############################
|
| 222 |
+
# app config
|
| 223 |
+
st.set_page_config(page_title="CINUC AI Marketer", page_icon="📈", layout="centered")
|
| 224 |
+
|
| 225 |
+
# Adding some information to the app
|
| 226 |
+
st.markdown("## Welcome to the CINUC AI Marketer")
|
| 227 |
+
st.write("This is an AI marketer that helps you to predict the price of a product based on the data provided. It uses the data to make a recommendation on the price to be given to the customers for the next 1 year. The AI marketer also provides a short explanation of the strategy used to get to that price.")
|
| 228 |
+
|
| 229 |
+
# App usage information
|
| 230 |
+
st.markdown("### How to use the App")
|
| 231 |
+
st.write("1. Enter today's exchange rate")
|
| 232 |
+
st.write("2. Choose your profit margin")
|
| 233 |
+
st.write("1. Select a product from the sidebar")
|
| 234 |
+
st.write("2. The data for the selected product will be displayed")
|
| 235 |
+
st.write("3. Click on the Analyze and Recommend button to get the price recommendation")
|
| 236 |
+
st.write("4. The AI marketer will analyze the data and provide a price recommendation based on the forecasted exchange rate.")
|
| 237 |
+
|
| 238 |
+
# today's exchange rate input
|
| 239 |
+
today_rate = st.number_input("Enter Today's Exchange Rate", value=1650)
|
| 240 |
+
# profit margin input in range 0-100
|
| 241 |
+
profit_margin = st.number_input("Enter Profit Margin", value=50)
|
| 242 |
+
|
| 243 |
+
# configuring the sidebar
|
| 244 |
+
st.sidebar.title("Select a Product")
|
| 245 |
+
product = st.sidebar.selectbox("Select a Product", product_lists)
|
| 246 |
+
# adding a button to analyze the data
|
| 247 |
+
# some static data
|
| 248 |
+
Forecasted_price = 2500
|
| 249 |
+
today = time.strftime("%d/%m/%Y")
|
| 250 |
+
if st.sidebar.button("Analyze and Recommend"):
|
| 251 |
+
|
| 252 |
+
# getting the data
|
| 253 |
+
data = get_info(product)
|
| 254 |
+
|
| 255 |
+
# displaying the data
|
| 256 |
+
st.write("### Product Data")
|
| 257 |
+
st.write(pd.DataFrame(data))
|
| 258 |
+
|
| 259 |
+
# calling the ai_markerter function
|
| 260 |
+
try:
|
| 261 |
+
output = ai_markerter(data, Forecasted_price, today, today_rate, profit_margin)
|
| 262 |
+
new_output = market_validator(data, Forecasted_price, today, today_rate, output, profit_margin)
|
| 263 |
+
except Exception as e:
|
| 264 |
+
new_output = f"An error occured, please try again"
|
| 265 |
+
|
| 266 |
+
# displaying the output
|
| 267 |
+
st.markdown(new_output)
|
first_call_off.csv
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRODUCTS,UNIT NGN,CINUC PRICE,CATEGORY,DATE,EXCHANGE RATE
|
| 2 |
+
Reflotron Glucose 15 x 2 stripes /pkt,45000,45000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 3 |
+
Reflotron Creatinine x30 stripes/pkt,40000,40000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 4 |
+
Reflotron Cholesterol x30 stripes/pkt,40000,40000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 5 |
+
Reflotron Triglycerides x30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 6 |
+
Reflotron Potassium x 30,60000,60000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 7 |
+
Reflotron Pancreatic Amylase 15 x 2,45000,45000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 8 |
+
Reflotron Bilirubin x 30 stripes/pkt,40000,40000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 9 |
+
Reflotron AST/GOT x30 stripes/pkt stripes/pkt,44000,44000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 10 |
+
Reflotron GPT/ALT x 30 stripes/pkt,45000,45000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 11 |
+
Reflotron Gamma GT x 30 stripes/pkt,40000,40000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 12 |
+
Clean and check,39600,39600,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 13 |
+
"CUVETTE SEGMENT COBAS C 111 5,000 pcs/pkt",277476,277476,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 14 |
+
BATTERY LITHIUM A A3.6V,3960,3960,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 15 |
+
PROBE SET COBAS c111,325000,325000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 16 |
+
COBAS C 111 PRINTER PAPER 4 rolls /PKT,21000,21000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 17 |
+
COBAS C111 SAMPLE CUPS 1000/PKT,154374,154374,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 18 |
+
COBAS C 111 Automated system CFAS 12 x 3ml botlles /pkt,143346,143346,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 19 |
+
COBAS INTEGRA C 111 ACTIVATOR 9X12 ml bottles /pt,91000,91000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 20 |
+
COBAS C 111 DEPROTEINIZER 2 bottles / pkt,22344,22344,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 21 |
+
COBAS 3 C111 PROBE CLEANER 500ML,58050,58050,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 22 |
+
COBAS C 111 CHOL3 CHOLESTEROL 400 TESTS,68150,68150,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 23 |
+
COBAS C 11 GLU2 GLUCOSE 400 TESTS,74000,74000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 24 |
+
COBAS C 111 ALKALINE PHOS 400 TESTS,82350,82350,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 25 |
+
COBAS C 111 ALT (GPT) 400 TESTS,45000,45000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 26 |
+
COBAS C 111 AST (GOT) 400 TESTS,45000,45000,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 27 |
+
COBAS C 111 BLT3 TOTAL BILIRUBIN,78300,78300,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 28 |
+
COBAS C 111 TRIGLYCERIDES 200 TESTS,55550,55550,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 29 |
+
COBAS C 111 UREA 400 TESTS,45250,45250,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 30 |
+
COBAS C 111 URIC ACID PLUS 400 TESTS,185140,185140,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 31 |
+
COBAS C111 HDL 400TESTS,195350,195350,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 32 |
+
COBAS C111 SODIUN CHLORIDE,47439,47439,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 33 |
+
COBAS C111 CREATININE 400 TESTS,84500,84500,CLINICAL CHEMISTRY,31/07/2023,775.0
|
| 34 |
+
QBC HEMATOLOGY/MALARIA TUBES TUBES 250T,290500,290500,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 35 |
+
SD MALARIA SINGLE UNITS,69800,69800,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 36 |
+
SD BIOLINE Rheumatoid athritis test kit 30 tests /pkt,60000,60000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 37 |
+
SD BIOLINE Prostatic specific antigen ( PSA) 30/pkt,100000,100000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 38 |
+
SD BIO LINE HIV 1/2 antibody test kit 3.0 25/pkt,35424,35424,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 39 |
+
SD BIO LINE HBV test kit,45765,45765,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 40 |
+
UNIGOLD HIV test kit,36450,36450,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 41 |
+
STATPAK HIV 1/2,18900,18900,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 42 |
+
SD BIOLINE HCV 3.0 30 tests/pkt,51840,51840,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 43 |
+
SD BIOLINE 30 TEST/PKT. (HAV),162400,162400,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 44 |
+
SD BIOLINE TB Ag test kit 25/kpt,51840,51840,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 45 |
+
SD BIO LINE H.Pylori Antibody test 30 tests /pkt,65000,65000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 46 |
+
Heavy duty oxivir TB bench wipes AHP approved,65900,65900,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 47 |
+
sensigrip latex BX 100 INVACARE,80000,80000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 48 |
+
oxivir TB sprays AHP approved,50000,50000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 49 |
+
AIC NOW catridge for HB Aic determination 10.PKT,119070,119070,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 50 |
+
Veneral Disease Research Laboratory (VDRL) TEST KIT,12000,12000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 51 |
+
mindray 5 heamatology reagent Diluent 20ml,69212,69212,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 52 |
+
mindray 5 heamatology reagent leo 1 lyse1L X4,459974,459974,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 53 |
+
mindray 5 heamatology reagent Rinse1L X 4,599969.7,599969.7,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 54 |
+
mindray 5 heamatology reagent Cleaner,210000,210000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 55 |
+
mindray 5 heamtology reagents 53LH LYSE 500/4,390000,390000,HEMATOLOGY AND SEROLOGY,31/07/2023,775.0
|
| 56 |
+
Oxoid CLED agar 500grams pronadisa product,45000,45000,AGAR PRODUCTS,31/07/2023,775.0
|
| 57 |
+
Oxoid MacConkey agar 500gm by pronadisa procuct,45000,45000,AGAR PRODUCTS,31/07/2023,775.0
|
| 58 |
+
Oxoid Blood agar base 500gm by pronadis product,45000,45000,AGAR PRODUCTS,31/07/2023,775.0
|
| 59 |
+
Oxoid Iso- sensitest agar agar 500gm pronadisa product,45000,45000,AGAR PRODUCTS,31/07/2023,775.0
|
| 60 |
+
Oxoid Yeast extract agar 500gm pronadisa product,60000,60000,AGAR PRODUCTS,31/07/2023,775.0
|
| 61 |
+
Oxoid Nutrient agar 500gm pronadisa product,60000,60000,AGAR PRODUCTS,31/07/2023,775.0
|
| 62 |
+
Antibiotics multidisk( AB- DISC) gram neg,38000,38000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 63 |
+
Antibiotics multidisk( AB- DISC) gram pos,40000,40000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 64 |
+
Chloroscope complete kit with ortholidine,29000,29000,WATER ANALYZES KIT,31/07/2023,775.0
|
| 65 |
+
Insta TEST 6 PLUS lamotte 50strips/pkt,29000,29000,WATER ANALYZES KIT,31/07/2023,775.0
|
| 66 |
+
Insta iron Lamotte25 strips/pkt,19000,19000,WATER ANALYZES KIT,31/07/2023,775.0
|
| 67 |
+
"Water quality quick test with probefor PH, ORP, EC, DO and Turbidity",1138500,1138500,WATER ANALYZES KIT,31/07/2023,775.0
|
| 68 |
+
Pyrix Beaker 100ml,1980,1980,GLASSWARES,31/07/2023,775.0
|
| 69 |
+
Pyrix Beaker 250ml,3465,3465,GLASSWARES,31/07/2023,775.0
|
| 70 |
+
Pyrix Beaker 500ml,3960,3960,GLASSWARES,31/07/2023,775.0
|
| 71 |
+
Pyrix Beaker 1000ml,5940,5940,GLASSWARES,31/07/2023,775.0
|
| 72 |
+
Pyrix Beaker 2000 ml,6930,6930,GLASSWARES,31/07/2023,775.0
|
| 73 |
+
Conical Flask 250ml,3960,3960,GLASSWARES,31/07/2023,775.0
|
| 74 |
+
Conical Flask 500ml,3960,3960,GLASSWARES,31/07/2023,775.0
|
| 75 |
+
Conical Flask 1000ml,6930,6930,GLASSWARES,31/07/2023,775.0
|
| 76 |
+
Autoclave tapes (roll),"24,750.00","24,750.00",MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 77 |
+
BioMed sicle scan for rapid genotye X25 /PKT,200000,200000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 78 |
+
Bispot 1 &2 Determine pkt ALEERE,35000,35000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 79 |
+
SD Malaria kit HRP2/Pldh (Pf PAN ),26920,26920,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 80 |
+
cellulose acetate strips shandon 60 x150mm x 100/pkt,250000,250000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 81 |
+
Cotton wool non absorbent 500g,5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 82 |
+
Dependaplast waterproof round spot plasters 100/pkt,25000,25000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 83 |
+
"Electrophoresing buffer, 6.1g x 10 shandon/pky",5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 84 |
+
"Erytrocyte sedimentation rate, dispet 100/pkt",28000,28000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 85 |
+
Febrile antigen test (VOSAN) 8 x 5ml with controls,40000,40000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 86 |
+
Field's stain A 100ml,4950,4950,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 87 |
+
Field's stain B 100ml,4950,4950,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 88 |
+
Filter paper whatman 42 ashless 12.5 cm 100/pkt,5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 89 |
+
"HCG test strips Diaspot, diagnostic USA,/ Antec type/ 50/pkt",4000,4000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 90 |
+
Laboratory lighter plastic gun type,4000,4000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 91 |
+
Latex examination gloves (by Sempercare) 100 8-9L,35640,35640,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 92 |
+
Immersion oil 100ml,11880,11880,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 93 |
+
Manifred cover slips 50 x10/pkt,38610,38610,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 94 |
+
Manfred grease free crytal clear slides 72/Pack x20,79200,79200,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 95 |
+
Methylated spirit 4l BDH with MSDS,9900,9900,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 96 |
+
"Multistrips for urinalysis, ACON LABS",70000,70000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 97 |
+
"Veneral Disease Resarch LAB antigen test, VDRL TEST.",10000,10000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 98 |
+
Paper tapes (Rolls),5544,5544,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 99 |
+
Parazone 500ml x 20bottles /ctn,35000,35000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 100 |
+
"Sterilin type universal containers, (for urine) Red cap type(400)/ctn",40000,40000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 101 |
+
Sterilin type petri dish containers / 100cm,60000,60000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 102 |
+
"Multistrips for urinalysis, ACON LABS",70000,70000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 103 |
+
"Veneral Disease Resarch LAB antigen test, VDRL TEST.",10000,10000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 104 |
+
Paper tapes (Rolls),5544,5544,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 105 |
+
Parazone 500ml x 20bottles /ctn,35000,35000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 106 |
+
"Sterilin type universal containers, (for urine) Red cap type(400)/ctn",40000,40000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
| 107 |
+
Sterilin type petri dish containers / 100cm,60000,60000,MICROBIOLOGY AND LABORATORY REAGENTS,31/07/2023,775.0
|
fourth_call_off_abc_df.csv
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRODUCTS,UNIT NGN,CINUC PRICE,CATEGORY,DATE,EXCHANGE RATE
|
| 2 |
+
Reflotron Glucose 15 x 2 stripes /pkt,13989.9,17298.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 3 |
+
Reflotron Creatinine x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 4 |
+
Reflotron Cholesterol x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 5 |
+
Reflotron Triglycerides x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 6 |
+
Reflotron HDL Cholesterol x 30 stripes/pkt,25768.61,31863.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 7 |
+
Epson ribbon for Reflotron printer,14019.97,73346.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 8 |
+
Reflotron Pancreatic Amylase 15x2 stripes/pkt,13989.9,23688.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 9 |
+
Reflotron Bilirubin x 30 stripes/pkt,17664.03,21841.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 10 |
+
Reflotron AST/GOT x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 11 |
+
Reflotron GPT/ALT x 30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 12 |
+
Reflotron Alk.Phosphate x 30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 13 |
+
Reflotron Urea 15 x 2 stripes/pkt,14999.7,23688.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 14 |
+
Reflotron Uric Acid x 30 stripes/pkt,19137.38,21512.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 15 |
+
Reflotron Gamma GT x 30 stripes/pkt,17664.03,21841.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 16 |
+
PROBE SET COBAS c111,107626.37,114933.82,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 17 |
+
COBAS C 111 PRINTER PAPER 4 rolls /PKT,4199.92,3643.25,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 18 |
+
COBAS C 111 Automated system CFAS 12 x 3ml botlles /pkt,57667.72,36979.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 19 |
+
COBAS INTEGRA C 111 ACTIVATOR 9X12 ml bottles /pt,29905.33,31936.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 20 |
+
COBAS C 111 DEPROTEINIZER 2 bottles / pkt,10831.56,13393.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 21 |
+
COBAS 3 C111 CLEANER,31745.3,30195.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 22 |
+
COBAS C 111 CHOL3 CHOLESTEROL 400 TESTS,28549.95,35303.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 23 |
+
COBAS C 11 GLU2 GLUCOSE 400 TESTS,25064.32,30992.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 24 |
+
COBAS C 111 ALKALINE PHOS 400 TESTS,35596.36,28027.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 25 |
+
COBAS C 111 ALT (GPT) 400 TESTS,17806.27,22018.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 26 |
+
COBAS C 111 AST (GOT) 400 TESTS,17806.27,22018.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 27 |
+
COBAS C 111 BLT3 TOTAL BILIRUBIN,33994.64,36303.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 28 |
+
COBAS C 111 TRIGLYCERIDES 200 TESTS,24029.28,29712.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 29 |
+
COBAS C 111 UREA 400 TESTS,19615.01,24254.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 30 |
+
COBAS C 111 URIC ACID PLUS 400 TESTS,80092.96,99036.0,CLINICAL CHEMISTRY,22/04/2022,415.079987
|
| 31 |
+
QBC HEAMATOLOGY/MALARIA TUBES 250T,209995.8,209995.8,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 32 |
+
"SD malaria Ag Pf.kit for single use, 25/pkt BIOLINE",59998.8,38675.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 33 |
+
"SD malaria Ag Pf.kit for multiple use, 25/pkt BIOLINE",5999.88,4500.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 34 |
+
SD BIO LINE HIV Ag/Ab combo 30tests/pkt,34999.3,17550.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 35 |
+
AIC NOW catridge for HB Aic determination 10.PKT,64998.7,62700.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 36 |
+
Mindray UA66 uirinalysis strips 50/pkt,17999.64,0.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 37 |
+
mindray 5 heaamatology reagent Diluent 20ml,40949.18,16333.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 38 |
+
mindray 5 heaamatology reagent leo 1 lyse1L X4,269994.6,139899.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 39 |
+
mindray 5 heaamatology reagent leo 11 lyse(400mlx4),229995.4,201748.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 40 |
+
mindray 5 heaamatology reagent Rinse1L X 4,217195.66,18414.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 41 |
+
mindray 5 heaamatology reagent Cleaner,38499.23,46182.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 42 |
+
mindray 5 heamtology reagents 53LH LYSE 500/ x4,180496.39,239373.0,HEMATOLOGY AND SEROLOGY,22/04/2022,415.079987
|
| 43 |
+
"Sarstedt multi-safe comfort 6l, sharp box",122997.54,402570.0,SAFETY PRODUCTS / MATRIALS,22/04/2022,415.079987
|
| 44 |
+
S- monovette 4.5ml lithium heparin Sarstedt x 500/cartoon,151996.96,160384.0,SAFETY PRODUCTS / MATRIALS,22/04/2022,415.079987
|
| 45 |
+
Antibiotics multidisk( AB-DISC) gram neg,15699.69,17000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 46 |
+
Antibiotics multidisk( AB-DISC) gram pos,15699.69,17000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 47 |
+
Agary 2ml single-use syringes 23G X11/4 100 /PACK,2799.94,1600.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 48 |
+
Blood group A typing serum 10ml/ 10 bottles /pkt by Biotec,2499.95,9000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 49 |
+
Blood group AB typing serum 10ml/ 10 bottles /pkt by Biotec,13999.72,14000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 50 |
+
Blood group B typing serum 10ml/ 10 bottles /pkt by Biotec,17999.64,9000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 51 |
+
Blood group D typing serum 10ml/ 10 bottles /pkt by Biotec,19999.6,12000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 52 |
+
cellulose acetate strips shandon 60 x150mm x 100/pkt,99998.0,145000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 53 |
+
"Erytrocyte sedimentation rate, dispet 100/pkt",19999.6,13500.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 54 |
+
Febrile antigen test (OMEGA) 8 x 5ml with controls,11499.77,8500.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 55 |
+
Filter paper whatman 42 ashless 12.5 cm 100/pkt,2999.94,4000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 56 |
+
Latex examination gloves (by Sempercare) 100 8-9L,3499.93,6500.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 57 |
+
Giemsa Stain 100ml/bottle ferntec biosciences,1199.98,350.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 58 |
+
"Uristix for urinalysis, plus auto check, SIEMENS/ 100/PKT",4999.9,3000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 59 |
+
Pipette tips (1-200ul) blue type x 1000/pkt EPPENDDORE,2999.94,1500.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 60 |
+
"Sterilin type universal containers, (for urine) Red cap type(400)/ctn",25499.49,14000.0,MICROBIOLOGY AND LABORATORY REAGENTS,22/04/2022,415.079987
|
| 61 |
+
PSA i- chromax,41999.16,35000.0,HORMONE REAGENTS,22/04/2022,415.079987
|
| 62 |
+
HbA1C i- chromax,42199.16,35000.0,HORMONE REAGENTS,22/04/2022,415.079987
|
| 63 |
+
S-monovette 2.6ml EDTA by Sarstedt x500/carton *,64998.7,145800.0,ITEMS NOT LISTED IN FORTH CALL OFF BUT SUPPLIED,22/04/2022,415.079987
|
| 64 |
+
Labacon H.pylori,34998.600014,4500.0,ITEMS NOT LISTED IN FORTH CALL OFF BUT SUPPLIED,22/04/2022,415.079987
|
fourth_call_off_stock.csv
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRODUCTS,UNIT NGN,CINUC PRICE,CATEGORY,DATE,EXCHANGE RATE
|
| 2 |
+
Reflotron Glucose 15 x 2 stripes /pkt,13989.9,17298.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 3 |
+
Reflotron Creatinine x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 4 |
+
Reflotron Triglycerides x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 5 |
+
Epson ribbon for Reflotron printer,14019.97,73346.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 6 |
+
Reflotron Pancreatic Amylase 15x2 stripes/pkt,13989.9,23688.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 7 |
+
Reflotron Bilirubin x 30 stripes/pkt,17664.03,21841.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 8 |
+
Reflotron AST/GOT x30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 9 |
+
Reflotron GPT/ALT x 30 stripes/pkt,19137.38,23663.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 10 |
+
Reflotron Urea 15 x 2 stripes/pkt,14999.7,23688.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 11 |
+
Reflotron Gamma GT x 30 stripes/pkt,17664.03,21841.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 12 |
+
PROBE SET COBAS c111,107626.37,114933.82,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 13 |
+
COBAS 3 C111 CLEANER,31745.3,30195.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 14 |
+
COBAS C 11 GLU2 GLUCOSE 400 TESTS,25064.32,30992.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 15 |
+
COBAS C 111 ALT (GPT) 400 TESTS,17806.27,22018.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 16 |
+
COBAS C 111 AST (GOT) 400 TESTS,17806.27,22018.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 17 |
+
COBAS C 111 PRINTER PAPER 4 rolls /PKT,4199.92,3643.25,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 18 |
+
COBAS C 111 BLT3 TOTAL BILIRUBIN,33994.64,36303.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 19 |
+
COBAS C 111 UREA 400 TESTS,19615.01,24254.0,CLINICAL CHEMISTRY,8/5/2022,416.690002
|
| 20 |
+
QBC HEAMATOLOGY/MALARIA TUBES 250T,209995.8,209995.8,HEMATOLOGY AND SEROLOGY,8/5/2022,416.690002
|
| 21 |
+
"SD malaria Ag Pf.kit for single use, 25/pkt BIOLINE",59998.8,38675.0,HEMATOLOGY AND SEROLOGY,8/5/2022,416.690002
|
| 22 |
+
SD BIO LINE HIV Ag/Ab combo 30tests/pkt,34999.3,17550.0,HEMATOLOGY AND SEROLOGY,8/5/2022,416.690002
|
| 23 |
+
mindray 5 heaamatology reagent Diluent 20ml,40949.18,16333.0,HEMATOLOGY AND SEROLOGY,8/5/2022,416.690002
|
| 24 |
+
"Sarstedt multi-safe comfort 6l, sharp box",122997.54,402570.0,SAFETY PRODUCTS / MATRIALS,8/5/2022,416.690002
|
| 25 |
+
S- monovette 4.5ml lithium heparin Sarstedt x 500/cartoon,151996.96,160384.0,SAFETY PRODUCTS / MATRIALS,8/5/2022,416.690002
|
| 26 |
+
Blood group A typing serum 10ml/ 10 bottles /pkt by Biotec,2499.95,9000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 27 |
+
Blood group AB typing serum 10ml/ 10 bottles /pkt by Biotec,13999.72,14000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 28 |
+
Blood group B typing serum 10ml/ 10 bottles /pkt by Biotec,17999.64,9000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 29 |
+
Blood group D typing serum 10ml/ 10 bottles /pkt by Biotec,19999.6,12000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 30 |
+
cellulose acetate strips shandon 60 x150mm x 100/pkt,99998.0,145000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 31 |
+
"Erytrocyte sedimentation rate, dispet 100/pkt",19999.6,13500.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 32 |
+
Febrile antigen test (OMEGA) 8 x 5ml with controls,11499.77,8500.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 33 |
+
Latex examination gloves (by Sempercare) 100 8-9L,3499.93,6500.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 34 |
+
Giemsa Stain 100ml/bottle ferntec biosciences,1199.98,350.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 35 |
+
Pipette tips (1-200ul) blue type x 1000/pkt EPPENDDORE,2999.94,1500.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
| 36 |
+
"Sterilin type universal containers, (for urine) Red cap type(400)/ctn",25499.49,14000.0,MICROBIOLOGY AND LABORATORY REAGENTS,8/5/2022,416.690002
|
list_price_df.csv
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRODUCTS,UNIT NGN,CINUC PRICE,CATEGORY,DATE,EXCHANGE RATE
|
| 2 |
+
COBAS C 111 UREA 400 TESTS,0.0,45250,CLINICAL CHEMISTRY,25/09/2023,767.429993
|
| 3 |
+
COBAS C111 HDL 400TESTS,0.0,195350,CLINICAL CHEMISTRY,25/09/2023,767.429993
|
| 4 |
+
COBAS C 111 TRIGLYCERIDES 200 TESTS,41147.0,55550,CLINICAL CHEMISTRY,25/09/2023,767.429993
|
| 5 |
+
COBAS C 111 CFAS Lipid,50266.0,143346,CLINICAL CHEMISTRY,25/09/2023,767.429993
|
| 6 |
+
T3 i- chromax,55000.0,60750,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 7 |
+
T4 i- chromax,55000.0,60750,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 8 |
+
TSH i- chromax,55000.0,60750,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 9 |
+
D-DIMER i-chromax,62000.0,70200,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 10 |
+
PSA i- chromax,55000.0,60750,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 11 |
+
CRP i- chromax,56000.0,100000,HORMONE ASSAY REAGENTS,25/09/2023,767.429993
|
| 12 |
+
QBC HEMATOLOGY/MALARIA TUBES TUBES 250T,275000.0,290500,HEMATOLOGY AND SEROLOGY,25/09/2023,767.429993
|
| 13 |
+
SD BIO LINE H.Pylori Antibody test 30 tests /pkt,5000.0,65000,HEMATOLOGY AND SEROLOGY,25/09/2023,767.429993
|
| 14 |
+
mindray 5 heamatology reagent Diluent 20ml,43254.0,69212,HEMATOLOGY AND SEROLOGY,25/09/2023,767.429993
|
| 15 |
+
BioMed sicle scan for rapid genotye X25 /PKT,150000.0,200000,MICROBIOLOGY AND LABORATORY REAGENTS,25/09/2023,767.429993
|
| 16 |
+
Febrile antigen test (VOSAN) 8 x 5ml with controls,13000.0,40000,MICROBIOLOGY AND LABORATORY REAGENTS,25/09/2023,767.429993
|
| 17 |
+
Latex examination gloves (by Sempercare) 100 8-9L,2400.0,36000,MICROBIOLOGY AND LABORATORY REAGENTS,25/09/2023,767.429993
|
| 18 |
+
Immersion oil 100ml,600.0,11880,MICROBIOLOGY AND LABORATORY REAGENTS,25/09/2023,767.429993
|
| 19 |
+
"Multistrips for urinalysis, ACON LABS",5500.0,70000,MICROBIOLOGY AND LABORATORY REAGENTS,25/09/2023,767.429993
|
| 20 |
+
"Water quality quick test with probefor PH, ORP, EC, DO and Turbidity",886032.2,1138500,WATER ANALYZES KIT,25/09/2023,767.429993
|
| 21 |
+
Glucose (Accu Answer),15500.0,45000,Accu answer kits,25/09/2023,767.429993
|
| 22 |
+
Cholesterol (Accu Answer),18500.0,40000,Accu answer kits,25/09/2023,767.429993
|
notebook.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reagent_prices.csv
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRODUCTS,UNIT NGN,CINUC PRICE,CATEGORY,DATE,EXCHANGE RATE
|
| 2 |
+
Reflotron Glucose 15 x 2 stripes /pkt,45000,45000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 3 |
+
Reflotron Creatinine x30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 4 |
+
Reflotron Cholesterol x30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 5 |
+
Reflotron Triglycerides x30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 6 |
+
Reflotron HDL Cholesterol x 30 stripes/pkt,65000,65000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 7 |
+
Reflotron Pottasium x 30,55000,55000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 8 |
+
Reflotron Pancreatic Amylase 15 x 2 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 9 |
+
Reflotron Bilirubin x 30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 10 |
+
Reflotron AST/GOT x30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 11 |
+
Reflotron GPT/ALT x 30 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 12 |
+
Reflotron Alk.Phosphate x 30 stripes/pkt,60000,60000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 13 |
+
Reflotron Urea 15 x 2 stripes/pkt,50000,50000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 14 |
+
Reflotron Uric Acid x 30 stripes/pkt,55000,55000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 15 |
+
Reflotron Gamma GT x 30 stripes/pkt,55000,55000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 16 |
+
Clean and check,25000,25000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 17 |
+
HALOGEN LAMP for COBAS c111,145000,145000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 18 |
+
"CUVETTE SEGMENT COBAS C 111 5,000 pcs/pkt",240000,240000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 19 |
+
BATTERY LITHIUM A A3.6V,2000,2000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 20 |
+
PROBE SET COBAS c111,280000,280000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 21 |
+
COBAS C 111 PRINTER PAPER 4 rolls /PKT,60000,60000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 22 |
+
COBAS C111 SAMPLE CUPS 1000/PKT,240000,240000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 23 |
+
COBAS C 111 Automated system CFAS 12 x 3ml botlles /pkt,140000,140000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 24 |
+
COBAS INTEGRA C 111 ACTIVATOR 9X12 ml bottles /pt,110000,110000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 25 |
+
COBAS C 111 DEPROTEINIZER 2 bottles / pkt,80000,80000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 26 |
+
COBAS 3 C111 PROBE CLEANER 500ML,95000,95000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 27 |
+
COBAS C 111 CHOL3 CHOLESTEROL 400 TESTS,80000,80000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 28 |
+
COBAS C 11 GLU2 GLUCOSE 400 TESTS,80000,80000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 29 |
+
COBAS C 111 ALKALINE PHOS 400 TESTS,110000,110000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 30 |
+
COBAS C 111 ALT (GPT) 400 TESTS,75000,75000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 31 |
+
COBAS C 111 AST (GOT) 400 TESTS,75000,75000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 32 |
+
COBAS C 111 BLT3 TOTAL BILIRUBIN,90000,90000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 33 |
+
COBAS C 111 TRIGLYCERIDES 200 TESTS,90000,90000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 34 |
+
COBAS C 111 UREA 400 TESTS,90000,90000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 35 |
+
COBAS C 111 URIC ACID PLUS 400 TESTS,290000,290000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 36 |
+
COBAS C111 HDL 400TESTS,300000,300000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 37 |
+
COBAS C111 SODIUN CHLORIDE,190000,190000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 38 |
+
COBAS C111 CREATININE 400 TESTS,140000,140000,CLINICAL CHEMISTRY,29/03/2023,462.0
|
| 39 |
+
LH i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 40 |
+
FSH i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 41 |
+
PROLACTIN i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 42 |
+
PROGESTERONE i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 43 |
+
TESTOSTERONE i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 44 |
+
T3 i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 45 |
+
T4 i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 46 |
+
TSH i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 47 |
+
BHCG i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 48 |
+
HCG i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 49 |
+
CORTISOL i- chromax,95000,95000, HORMONE REAGENTS,29/03/2023,462.0
|
| 50 |
+
Vit D I-Chromax,250000,250000, HORMONE REAGENTS,29/03/2023,462.0
|
| 51 |
+
Tn-I i- chromax,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 52 |
+
CK-MB i- chromax,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 53 |
+
D-DIMER i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 54 |
+
MYOGLOBIN same,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 55 |
+
HsCRP i- chromax,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 56 |
+
PSA i- chromax,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 57 |
+
AFP i- chromax,100000,100000, HORMONE REAGENTS,29/03/2023,462.0
|
| 58 |
+
CEA i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 59 |
+
HbA1C i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 60 |
+
MICROALBUMIN i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 61 |
+
CRP i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 62 |
+
PCT i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 63 |
+
FERRITIN i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 64 |
+
RF IgM i- chromax,120000,120000, HORMONE REAGENTS,29/03/2023,462.0
|
| 65 |
+
QBC HEAMATOLOGY/MALARIA TUBES TUBES 250T,280000,280000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 66 |
+
SD MALARIA SINGLE UNITS,60000,60000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 67 |
+
SD BIOLINE MALARIA Ag P. f ELISA Test,60000,60000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 68 |
+
SD BIOLINE Rheumatoid athritis test kit 30 tests /pkt,120000,120000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 69 |
+
SD BIOLINE Prostatic specific antigen ( PSA) 30/pkt,120000,120000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 70 |
+
SD BIO LINE HIV 1/2 antibody test kit 3.0 25/pkt,65000,65000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 71 |
+
SD BIO LINE HIV Ag/Ab combo 30tests/pkt,420000,420000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 72 |
+
SD BIO LINE HBV test kit,75000,75000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 73 |
+
SD BIOLINE HIV ELISA 3.0 Confirmatory test kit,44000,44000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 74 |
+
SD BIOLINE HCV 3.0 30 tests/pkt,80000,80000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 75 |
+
SD BIOLINE HAC 30 TEST/PKT. (HAV),195000,195000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 76 |
+
SD BIOLINE TB Ag test kit 25/kpt,78000,78000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 77 |
+
SD BIO LINE H. Pylori Antibody test 30 tests /pkt,65000,65000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 78 |
+
Heavy duty oxivir TB bench wipes AHP approved,66000,66000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 79 |
+
sensigrip latex BX 100 INVACARE,180000,180000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 80 |
+
cellulose acetate foils X50 Bayer,220000,220000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 81 |
+
oxivir TB sprays AHP approved,100000,100000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 82 |
+
AIC NOW catridge for HB Aic determination 10.PKT,160000,160000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 83 |
+
SD BIOLINE Strep A antigen test 25 tests /pkts,80000,80000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 84 |
+
Starstedt Safety sterile petri dish disposable type 92/16mm/ctn,95000,95000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 85 |
+
Veneral Disease Research Laboratory (VDRL) TEST KIT,12000,12000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 86 |
+
mindray 5 heaamatology reagent Diluent 20ml,100000,100000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 87 |
+
mindray 5 heaamatology reagent leo 1 lyse1L X4,480000,480000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 88 |
+
mindray 5 heaamatology reagent Rinse1L X 4,60000,60000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 89 |
+
mindray 5 heaamatology reagent Cleaner,210000,210000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 90 |
+
mindray 5 heamtology reagents 53LH LYSE 500/4,500000,500000,HAEMATOLOGY ANED SEROLOGYHAEMATOLOGY ANED SEROLOGY,29/03/2023,462.0
|
| 91 |
+
Oxoid CLED agar 500grams pronadisa product,50000,50000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 92 |
+
Oxoid MacConkey agar 500gm by pronadisa procuct,50000,50000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 93 |
+
Oxoid Blood agar base 500gm by pronadis product,50000,50000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 94 |
+
Oxoid Iso-sensitest agar agar 500gm pronadisa product,65000,65000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 95 |
+
Sarstedt standardinnoculation loop(50)/pkt,94998,94998,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 96 |
+
Oxoid Yeast extract agar 500gm pronadisa product,70000,70000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 97 |
+
Oxoid Nutrient agar 500gm pronadisa product,50000,50000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 98 |
+
Complete set Vacutainer 4ml EDTA by 1000/pkt BD,180000,180000,SAFETY PRODUCTS / MATRIALS,29/03/2023,462.0
|
| 99 |
+
Antibiotics multidisk( AB-DISC) gram neg,48000,48000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 100 |
+
Antibiotics multidisk( AB-DISC) gram pos,48000,48000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 101 |
+
Autoclave tapes (roll),6000,6000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 102 |
+
BioMed sicle scan for rapid genotye X25 /PKT,300000,300000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 103 |
+
Bispot 1 &2 Determinate pkt,36000,36000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 104 |
+
SD Malaria kit HRP2/Pldh (Pf PAN ),50000,50000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 105 |
+
cellulose acetate strips shandon 60 x150mm x 100/pkt,350000,350000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 106 |
+
Cotton wool non absorbent 500g,7000,7000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 107 |
+
CLED 500g,65000,65000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 108 |
+
Dependaplast waterproof round spot plasters 100/pkt,45000,45000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 109 |
+
"Electrophoresing buffer, 6.1g x 10 shandon/pky",35000,35000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 110 |
+
"Erytrocyte sedimentation rate, dispet 100/pkt",40000,40000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 111 |
+
Febrile antigen test (VOSAN) 8 x 5ml with controls,80000,80000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 112 |
+
Field's stain A 100ml,2000,2000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 113 |
+
Field's stain B 100ml,2000,2000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 114 |
+
Filter paper whatman 42 ashless 12.5 cm 100/pkt,5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 115 |
+
"HCG test strips Diaspot, diagnostic USA,/ Antec type/ 50/pkt",4500,4500,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 116 |
+
Laboratory lighter plastic gun type,4000,4000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 117 |
+
Latex examination gloves (by Sempercare) 100 7L,6000,6000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 118 |
+
Latex examination gloves (by Sempercare) 100 8-9L,6000,6000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 119 |
+
Immersion oil 100ml,6000,6000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 120 |
+
Manifred cover slips 50 x10/pkt,5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 121 |
+
Manfred grease free crytal clear slides 72/Pack x20,25000,25000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 122 |
+
Methylated spirit 4l BDH with MSDS,5000,5000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 123 |
+
Macconkey agar 500g oxoid,50000,50000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 124 |
+
"Multistrips for urinalysis, ACON LABS",75000,75000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 125 |
+
"Veneral Disease Resarch LAB antigen test, VDRL TEST.",12000,12000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 126 |
+
Paper tapes (Rolls),2000,2000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 127 |
+
Parazone 500ml x 20bottles /ctn,80000,80000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 128 |
+
"Sterilin type universal containers, (for urine) Red cap type(400)/ctn",45000,45000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 129 |
+
Sterilin type petri dish containers / 100cm,45000,45000,MICROBIOLOGY AND LABORATORY REAGENTS,29/03/2023,462.0
|
| 130 |
+
Chloroscope complete kit with ortholidine,40000,40000,WATER ANALYZES KIT,29/03/2023,462.0
|
| 131 |
+
Insta TEST 6 PLUS lamotte 50strips/pkt,30000,30000,WATER ANALYZES KIT,29/03/2023,462.0
|
| 132 |
+
Insta iron Lamotte25 strips/pkt,28000,28000,WATER ANALYZES KIT,29/03/2023,462.0
|
| 133 |
+
"Water quality quick test with probefor PH, ORP, EC, DO and Turbidity",500000,500000,WATER ANALYZES KIT,29/03/2023,462.0
|
| 134 |
+
Pyrix Beaker 100ml,1200,1200,GLASSWARES,29/03/2023,462.0
|
| 135 |
+
Pyrix Beaker 250ml,2000,2000,GLASSWARES,29/03/2023,462.0
|
| 136 |
+
Pyrix Beaker 500ml,2300,2300,GLASSWARES,29/03/2023,462.0
|
| 137 |
+
Pyrix Beaker 1000ml,3500,3500,GLASSWARES,29/03/2023,462.0
|
| 138 |
+
Pyrix Beaker 2000 ml,4900,4900,GLASSWARES,29/03/2023,462.0
|
| 139 |
+
Conical Flask 250ml,1900,1900,GLASSWARES,29/03/2023,462.0
|
| 140 |
+
Conical Flask 500ml,3500,3500,GLASSWARES,29/03/2023,462.0
|
| 141 |
+
Conical Flask 1000ml,4900,4900,GLASSWARES,29/03/2023,462.0
|
requirements.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pandas
|
| 2 |
+
numpy
|
| 3 |
+
streamlit
|
| 4 |
+
groq
|
| 5 |
+
python-dotenv
|
| 6 |
+
langchain
|
| 7 |
+
langchain-groq
|
utils.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from dotenv import load_dotenv
|
| 3 |
+
from langchain_groq import ChatGroq
|
| 4 |
+
from langchain_core.prompts.prompt import PromptTemplate
|
| 5 |
+
from langchain_core.output_parsers import StrOutputParser
|
| 6 |
+
import time
|
| 7 |
+
load_dotenv()
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
os.environ["GROQ_API_KEY"] = os.getenv("GROQ_API_KEY")
|
| 12 |
+
|
| 13 |
+
model = ChatGroq(temperature=0.5, model_name="llama3-groq-8b-8192-tool-use-preview")
|
| 14 |
+
|
| 15 |
+
Forecasted_price = 2500
|
| 16 |
+
today = time.strftime("%d/%m/%Y")
|
| 17 |
+
today_rate = 1650
|
| 18 |
+
profit_margin = 50
|
| 19 |
+
def ai_markerter(product_data: list, forecasted_value: float, date:str, today_rate:float, profit_margin:float) -> str:
|
| 20 |
+
model = ChatGroq(temperature=0.5, model_name="llama3-groq-70b-8192-tool-use-preview")
|
| 21 |
+
ai_markerter_prompt = PromptTemplate(
|
| 22 |
+
template="""<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 23 |
+
You are the best marketing and sales expert in the world. You are excellent at, data analysis, statistics, and forecasting, you also have a lot of experience of market strategies with even little information. \n
|
| 24 |
+
You are hired by a client to help revolitionlize his business. His company's name is Cinuc. They are a laboratory equipment supplier. \n
|
| 25 |
+
One issue this client has is that he lacks data. He has some data. \n
|
| 26 |
+
|
| 27 |
+
In his data he has the product name, the category, the unit price, the cinuc price, the exchange rate and the date. \n Note that Cinuc Price is his selling price. \n The unit price is the price he buys the product. \n
|
| 28 |
+
|
| 29 |
+
Based on his business structure, he buys in bulk. Then he gives a fixed price to his customers for at least 2 years. \n One challenge here is that, the exchange rate of naira to dollar, it's no stable. \n
|
| 30 |
+
This issues makes tha market unstbale. \n Whenever he's making a sale and his unit price is more than the Cinuc Price, he makes a loss. \n This means he will spend more when buying again. \n A huge loss. \n
|
| 31 |
+
|
| 32 |
+
He needs your help to halp with price prediction. \n As a way of preparing, he create a model to predict the exchange rate for the next 6 months. \n Then he's also providing today's date and today's exchange rate. \n
|
| 33 |
+
|
| 34 |
+
As an expert, you are to analyze the data, the date in the data and the exchange rate. Then you are to make good recommendation based on what the forecasted exchange rate is. \n
|
| 35 |
+
He will also provide you with a profit margin. \n Always make sure to analyse the data and exchange rate very well. \n
|
| 36 |
+
|
| 37 |
+
You need to consider that whatever price you guve will be what he will give his customers for the next 1 year, and he needs to make profit. So youre giving something that will make him profit even after two years. \n
|
| 38 |
+
|
| 39 |
+
Provide a good price recommendation, also provide a short explanation of your strategy to get to that price. \n
|
| 40 |
+
Please always check you calculation to ensure you're giving the right figures. Your price should be in Naira\n
|
| 41 |
+
|
| 42 |
+
Keep the following in mind: \n
|
| 43 |
+
1. Profit Margin is important. It will be given in the range of 0-100. \n
|
| 44 |
+
2. Always use a smart strategy to get to the price. \n
|
| 45 |
+
3. Predicted price should not exceed six digits. \n
|
| 46 |
+
|
| 47 |
+
<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 48 |
+
PRODUCT_DATA: {product_data} \n\n
|
| 49 |
+
FORECASTED_EXCHANGE_RATE: {forecasted_value} \n\n
|
| 50 |
+
TODAY: {date} \n\n
|
| 51 |
+
Today's Exchange Rate: {today_rate} \n\n
|
| 52 |
+
profit_margin: {profit_margin} \n\n
|
| 53 |
+
|
| 54 |
+
<|eot_id|><|start_header_id|>assistant<|end_header_id|>""",
|
| 55 |
+
input_variables=["product_data","forecasted_value", "date", 'today_rate', 'profit_margin'],
|
| 56 |
+
)
|
| 57 |
+
|
| 58 |
+
ai_markerter_chain = ai_markerter_prompt | model | StrOutputParser()
|
| 59 |
+
output = ai_markerter_chain.invoke({"product_data":product_data, "forecasted_value":forecasted_value, "date":date, 'today_rate':today_rate, 'profit_margin':profit_margin})
|
| 60 |
+
return output
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
# creating a market validator, to validate the output
|
| 64 |
+
def market_validator(product_data:list, forecasted_value: float, date: str, today_rate: float, model_response: str, profit_margin: float) -> str:
|
| 65 |
+
model = ChatGroq(temperature=0.1, model_name="llama-3.1-8b-instant")
|
| 66 |
+
ai_price_validator_prompt = PromptTemplate(
|
| 67 |
+
template="""<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 68 |
+
You are the best marketing and sales expert in the world, known for your meticulous attention to detail and your ability to validate and adjust financial predictions with precision. \n
|
| 69 |
+
You have received a price recommendation from a model, along with the necessary data to verify its accuracy. \n
|
| 70 |
+
Your task is to validate the model's output to ensure it is correct and aligns with the client's requirements. \n
|
| 71 |
+
|
| 72 |
+
Here's what you need to consider:
|
| 73 |
+
1. The predicted value must be higher than the current Cinuc Price. \n
|
| 74 |
+
2. The predicted price must not exceed six figures. \n
|
| 75 |
+
3. The price should align with the forecasted exchange rate, especially when comparing it to the current rate. \n
|
| 76 |
+
4. The final price must ensure profitability over the next 1-2 years, even with potential fluctuations in the exchange rate. \n
|
| 77 |
+
5. Provide a smart and logical adjustment if needed, ensuring the final recommendation is optimal for the client. \n
|
| 78 |
+
6. Include a brief explanation for any adjustments or validations made. \n
|
| 79 |
+
7. The final price must be smart, correct, and profitable for the client. The price must be profitable!!!!! \n
|
| 80 |
+
8. Check all information again and again to ensure accuracy. \n
|
| 81 |
+
|
| 82 |
+
Give the final price recommendation and provide a brief explanation of your validation process as the only output!!. \n
|
| 83 |
+
|
| 84 |
+
<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 85 |
+
|
| 86 |
+
PRODUCT_DATA: {product_data} \n\n
|
| 87 |
+
FORECASTED_EXCHANGE_RATE: {forecasted_value} \n\n
|
| 88 |
+
TODAY: {date} \n\n
|
| 89 |
+
Today's Exchange Rate: {today_rate} \n\n
|
| 90 |
+
profit_margin: {profit_margin} \n\n
|
| 91 |
+
INITIAL_MODEL_RESPONSE: {model_response} \n\n
|
| 92 |
+
|
| 93 |
+
<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 94 |
+
""",
|
| 95 |
+
input_variables=["product_data", "forecasted_value", "date", "today_rate", "model_response", "profit_margin"],
|
| 96 |
+
)
|
| 97 |
+
ai_price_validator = ai_price_validator_prompt | model | StrOutputParser()
|
| 98 |
+
new_output = ai_price_validator.invoke({"product_data":product_data, "forecasted_value":forecasted_value, "date":date, 'today_rate':today_rate, 'model_response':model_response, 'profit_margin':profit_margin})
|
| 99 |
+
return new_output
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
# product_data = [{'Product': "Field's stain B 100ml", 'Category': 'MICROBIOLOGY AND LABORATORY REAGENTS', 'Unit Price': '4950', 'Cinuc Price': '4950', 'Exchange Rate': 775.0, 'Date': '31/07/2023'},
|
| 105 |
+
# {'Product': "Field's stain B 100ml", 'Category': 'MICROBIOLOGY AND LABORATORY REAGENTS', 'Unit Price': 2000, 'Cinuc Price': 2000, 'Exchange Rate': 462.0, 'Date': '29/03/2023'}]
|
| 106 |
+
# output = ai_markerter(product_data, Forecasted_price, today, today_rate, profit_margin)
|
| 107 |
+
# new_output = market_validator(product_data, Forecasted_price, today, today_rate, output, profit_margin)
|
| 108 |
+
# print(new_output)
|