glasskit
Advanced tools
| Metadata-Version: 1.0 | ||
| Name: glasskit | ||
| Version: 3.11.10 | ||
| Version: 3.11.11 | ||
| Summary: a micro webframework based on flask and pymongo | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/viert/glasskit |
@@ -7,7 +7,10 @@ from . import Command | ||
| DESCRIPTION = 'Run shell (using IPython if available)' | ||
| DESCRIPTION = "Run shell (using IPython if available)" | ||
| def run(self): | ||
| if os.path.isfile(".shellrc.py"): | ||
| with open(".shellrc.py") as rcf: | ||
| rcfile = ".shellrc.py" | ||
| if not os.path.isfile(rcfile): | ||
| rcfile = os.path.join(self.app.base_dir, ".shellrc.py") | ||
| if os.path.isfile(rcfile): | ||
| with open(rcfile) as rcf: | ||
| try: | ||
@@ -17,2 +20,3 @@ exec(rcf.read()) | ||
| from traceback import print_exc | ||
| print("Error running .shellrc.py script!") | ||
@@ -23,2 +27,3 @@ print_exc() | ||
| from IPython import embed | ||
| embed(using=False) | ||
@@ -33,2 +38,3 @@ except ImportError: | ||
| import code | ||
| variables = globals().copy() | ||
@@ -35,0 +41,0 @@ variables.update(locals()) |
+1
-2
@@ -1,3 +0,2 @@ | ||
| from flask.json import JSONEncoder | ||
| from datetime import datetime | ||
| from datetime import datetime, date | ||
| from werkzeug.http import http_date | ||
@@ -4,0 +3,0 @@ from bson import ObjectId, Timestamp |
+1
-1
| Metadata-Version: 1.0 | ||
| Name: glasskit | ||
| Version: 3.11.10 | ||
| Version: 3.11.11 | ||
| Summary: a micro webframework based on flask and pymongo | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/viert/glasskit |
+1
-1
@@ -6,3 +6,3 @@ from setuptools import setup, find_packages | ||
| name="glasskit", | ||
| version="3.11.10", | ||
| version="3.11.11", | ||
| description="a micro webframework based on flask and pymongo", | ||
@@ -9,0 +9,0 @@ url="https://gitlab.com/viert/glasskit", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
164874
0.06%4032
0.05%