Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
denzven committed Jun 17, 2021
1 parent 21ca894 commit ca5d255
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions build/lib/DenzGraphingApiWrapper_py/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import urllib.parse

python_anywhere_BASEURL = "http://denzven.pythonanywhere.com/"
heroku_BASEURL = "https://denz-graphing-api-heroku.herokuapp.com/"


def py_anywhere_graph(formula_input):
formula_output = urllib.parse.quote(formula_input, safe='')
url = python_anywhere_BASEURL + f'graph?formula={formula_output}'
return url


def heroku_graph(formula_input):
formula_output = urllib.parse.quote(formula_input, safe='')
url = heroku_BASEURL + f'graph?formula={formula_output}'
return url
Binary file not shown.
Binary file not shown.
4 changes: 3 additions & 1 deletion src/DenzGraphingApiWrapper_py_denzven.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
Metadata-Version: 2.1
Name: DenzGraphingApiWrapper-py-denzven
Version: 0.0.2
Version: 0.0.3
Summary: An ApiWrapper for the DenzGraphingApi
Home-page: UNKNOWN
Author: Denzven
Author-email: denzvenvadakkan@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/denzven/DenzGraphingApi_py/issues
Project-URL: Documentation, https://denzgraphingapiwrapper-py.readthedocs.io/en/latest/
Project-URL: Source, https://github.com/denzven/DenzGraphingApiWrapper_py
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Expand Down
1 change: 0 additions & 1 deletion src/DenzGraphingApiWrapper_py_denzven.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
README.md
pyproject.toml
setup.cfg
src/DenzGraphingApiWrapper_py/DenzGraphingApiWrapper_py.py
src/DenzGraphingApiWrapper_py/__init__.py
src/DenzGraphingApiWrapper_py_denzven.egg-info/PKG-INFO
src/DenzGraphingApiWrapper_py_denzven.egg-info/SOURCES.txt
Expand Down

0 comments on commit ca5d255

Please sign in to comment.