We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc49b8a + 324c134 commit 598f0c0Copy full SHA for 598f0c0
mathtranslate/update.py
@@ -0,0 +1,7 @@
1
+import requests
2
+
3
4
+def get_latest_version():
5
+ response = requests.get('https://pypi.org/pypi/mathtranslate/json')
6
+ latest_version = response.json()['info']['version']
7
+ return latest_version
0 commit comments