rapidframework-lib 1.0.5__py3-none-any.whl → 1.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rapidframework/frameworks/bottle.py +10 -0
- rapidframework/frameworks/cherryPy.py +10 -0
- rapidframework/frameworks/examples/ turbogears2_example_1.py +14 -0
- rapidframework/frameworks/examples/bottle_example_1.py +7 -0
- rapidframework/frameworks/examples/cherrypy_example_1.py +8 -0
- rapidframework/frameworks/examples/grok_example_1.py +8 -0
- rapidframework/frameworks/examples/pyramid_example_1.py +0 -0
- rapidframework/frameworks/examples/socketify_example_1.py +10 -0
- rapidframework/frameworks/examples/web2py_example_1.py +2 -0
- rapidframework/frameworks/grok.py +11 -0
- rapidframework/frameworks/pyramid.py +11 -0
- rapidframework/frameworks/socketify.py +11 -0
- rapidframework/frameworks/turboGears2.py +10 -0
- rapidframework/frameworks/web2py.py +6 -0
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/METADATA +2 -2
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/RECORD +20 -6
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/WHEEL +0 -0
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/entry_points.txt +0 -0
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/licenses/LICENSE +0 -0
- {rapidframework_lib-1.0.5.dist-info → rapidframework_lib-1.0.7.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class BottleManager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["sqlalchemy", "bottle-sqlalchemy", "alembic", "bottle-login", "wtforms"], **kwargs)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class Cherrypymanager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["sqlalchemy", "alembic", "Jinja2", "authlib"], **kwargs)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
from tg import expose, TGController, AppConfig
|
2
|
+
from wsgiref.simple_server import make_server
|
3
|
+
|
4
|
+
class RootController(TGController):
|
5
|
+
@expose()
|
6
|
+
def index(self):
|
7
|
+
return "Hello, TurboGears!"
|
8
|
+
|
9
|
+
config = AppConfig(minimal=True, root_controller=RootController())
|
10
|
+
application = config.make_wsgi_app()
|
11
|
+
|
12
|
+
if __name__ == "__main__":
|
13
|
+
print("Serving on http://localhost:8080")
|
14
|
+
make_server('', 8080, application).serve_forever()
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class GrokManager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["z3c.sqlalchemy", "zope.sqlalchemy", "alembic"], **kwargs)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class PyramidManager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["sqlalchemy", "alembic", "pyramid_tm", "pyramid_jinja2", "pyramid_authsanity"], **kwargs)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class SocketifyManager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["ormar", "databases", "pydantic", "jinja2", "authlib"], **kwargs)
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from .template import Template
|
2
|
+
|
3
|
+
|
4
|
+
class Turbogears2Manager(Template):
|
5
|
+
def __init__(self, **kwargs):
|
6
|
+
super().__init__(**kwargs)
|
7
|
+
|
8
|
+
def install_framework(self, **kwargs):
|
9
|
+
return super().install_framework(libs=\
|
10
|
+
["sqlalchemy", "alembic", "tgext.auth", "tgext.admin"], **kwargs)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: rapidframework-lib
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.7
|
4
4
|
Description-Content-Type: text/markdown
|
5
5
|
License-File: LICENSE
|
6
6
|
Requires-Dist: msgspec
|
@@ -13,7 +13,7 @@ Dynamic: requires-dist
|
|
13
13
|
|
14
14
|
> **RapidFramework** is a Python library for quickly creating and setting up projects from templates.
|
15
15
|
|
16
|
-
## https://pypi.org/project/rapidframework-lib/1.0.
|
16
|
+
## https://pypi.org/project/rapidframework-lib/1.0.7/
|
17
17
|
|
18
18
|
## Installation
|
19
19
|
|
@@ -4,22 +4,36 @@ rapidframework/main.py,sha256=evivz6o-ltpeq9P4BkLUPa6HRrdSFc5tL8PTDZ9aysM,2066
|
|
4
4
|
rapidframework/__pycache__/main.cpython-313.pyc,sha256=J3Y41E5fOwmGEQtwgTq-NBUl0s0VxCvDC5KUnCGvIdU,3891
|
5
5
|
rapidframework/configs/managers.json,sha256=EEBDjTVQuNXGIF_oIXuNVpXK4kTk2HsRb2aPrbmUjo4,664
|
6
6
|
rapidframework/frameworks/__init__.py,sha256=fFmRgwuTqQ9dKCY3AgjUCWt2V2xTjSN7Y2NKkaURQAk,220
|
7
|
+
rapidframework/frameworks/bottle.py,sha256=mkIwRT3ZZtE070D6OMimao8axNg7GYkQ4xgUimaIkgQ,326
|
8
|
+
rapidframework/frameworks/cherryPy.py,sha256=3cOlXEwwyzFCkiQtMiBz_qHS7wjiDCcB7Z1E3Yzt3Zo,301
|
7
9
|
rapidframework/frameworks/django.py,sha256=vpUd8Yrm-_8yBn0tzv0tXWjrE1TakTFnSV5Oz5K4O_s,955
|
8
10
|
rapidframework/frameworks/fastapi.py,sha256=4Mgn_3Mzn8lZvFXSjoQnUDjNe2bOynVbtD1O_81ApKA,582
|
9
11
|
rapidframework/frameworks/flask.py,sha256=yk1tw3uRM1rL3z5vfSS3TpP2Lc-WwpKoPM6t5JQt-OY,317
|
12
|
+
rapidframework/frameworks/grok.py,sha256=aqXwlX75S0o-YdiLuOF6nqgjGU3DluqtD9qttLhq_Rw,300
|
10
13
|
rapidframework/frameworks/litestar.py,sha256=tssP54TeOlBKr7dPi8vwttbTuJC1Gyme6Hapiai78LQ,266
|
14
|
+
rapidframework/frameworks/pyramid.py,sha256=eCcBLsxAWNBV8A6pjS-CTpu4O7l7kOPd5NcGCrEppxs,334
|
15
|
+
rapidframework/frameworks/socketify.py,sha256=wuNHeFW9EqpXlLDhWV0A9yyoK-YpjQCpViTS-QoETO8,313
|
11
16
|
rapidframework/frameworks/starlette.py,sha256=1Pd-G8OZSmz8p2nnro14ge3m7avXMn6ZIQYvfWv5H-A,288
|
12
17
|
rapidframework/frameworks/template.py,sha256=DFfDJ6ry-KEVDsRvupwOevj3keX91mUyTtsRPBApVC0,1741
|
13
18
|
rapidframework/frameworks/tornado.py,sha256=5WvPV3KntAt1WrQiURl12WikXPgL5xOa4OWwQGKSDqI,233
|
19
|
+
rapidframework/frameworks/turboGears2.py,sha256=0XAK7ko6Kk_L2m7cEekGVpxRP_HHjaTRn0RCR7cR01M,312
|
20
|
+
rapidframework/frameworks/web2py.py,sha256=2kXxl-uamBSqD7O0a_L4RwT7HPcF8SG2liTU8MXfIlY,133
|
21
|
+
rapidframework/frameworks/examples/ turbogears2_example_1.py,sha256=IytFwU7N-qSi3CDQDrN2wNHDAfV60swOw44_D-UDr-I,435
|
14
22
|
rapidframework/frameworks/examples/__init__.py,sha256=ovguP4wzQEDNguczwiZnhMm4dRRVcvnzmHrfQtlRCNQ,15
|
23
|
+
rapidframework/frameworks/examples/bottle_example_1.py,sha256=AhEqgse_IinZ0jx211y0ybyxB0dknGI-x6zhIOQ4Qos,118
|
24
|
+
rapidframework/frameworks/examples/cherrypy_example_1.py,sha256=BKNIPXOgWFTpnwyFK46NMDmPtFnhAARAPAkwgQ-0CYQ,146
|
15
25
|
rapidframework/frameworks/examples/fastapi_example_1.py,sha256=Rhmcr1BrBHR1_xhqk4UmZiF5MDqixRbucR03T6yvBvg,261
|
16
26
|
rapidframework/frameworks/examples/flask_example_1.py,sha256=DuVlouunkJtGygqrU2B_ysKUtKTP-MWCmgpHmTGqeJM,428
|
27
|
+
rapidframework/frameworks/examples/grok_example_1.py,sha256=Lz9xIGiYf1q4IJIMQVy1uzGeBLw2opXOdwqnSdv0j3A,146
|
17
28
|
rapidframework/frameworks/examples/litestar_example_1.py,sha256=kcAsS3LE5g6ZYmkNtRsrLHTNSmtCUXtsgJmoOtiubnk,220
|
29
|
+
rapidframework/frameworks/examples/pyramid_example_1.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
|
+
rapidframework/frameworks/examples/socketify_example_1.py,sha256=xV54kgvvXRhqhvGLet9qGE13ZdMVI3EvZ_AV1csCWx0,184
|
18
31
|
rapidframework/frameworks/examples/starlette_example_1.py,sha256=6T9tUyXJ329qHl3ZYgNOCy5eXOX8luT2HP_FWfQ6E4Y,268
|
19
32
|
rapidframework/frameworks/examples/tornado_example_1.py,sha256=vnOqnzcFyCFSMl_5x4pyfbYi6PL9EMQBn9Mv_6yXpZM,368
|
20
|
-
|
21
|
-
rapidframework_lib-1.0.
|
22
|
-
rapidframework_lib-1.0.
|
23
|
-
rapidframework_lib-1.0.
|
24
|
-
rapidframework_lib-1.0.
|
25
|
-
rapidframework_lib-1.0.
|
33
|
+
rapidframework/frameworks/examples/web2py_example_1.py,sha256=fscmfjeH9HUb96aDGZBLS88e9Fx_nbU1usLDb0GWbRs,41
|
34
|
+
rapidframework_lib-1.0.7.dist-info/licenses/LICENSE,sha256=lXsPzvyEfL6vjzMMCRYi7gpsIjpSUYUsDF-MvMHyhc0,1070
|
35
|
+
rapidframework_lib-1.0.7.dist-info/METADATA,sha256=Oz3UNWA4WytgudTU2TUxqW8apwELBGwE75rVQ92ePgA,1237
|
36
|
+
rapidframework_lib-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
37
|
+
rapidframework_lib-1.0.7.dist-info/entry_points.txt,sha256=UaOaGJ-BDCxtmNoPp-u_TnXXLbnXtrB13PYr5BgqmHA,72
|
38
|
+
rapidframework_lib-1.0.7.dist-info/top_level.txt,sha256=7PXDkFZsYowz4aB2xVaSso4qD45jd2kHn6x3xxhMMNs,15
|
39
|
+
rapidframework_lib-1.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|