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.
@@ -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()
@@ -0,0 +1,7 @@
1
+ from bottle import route, run
2
+
3
+ @route('/')
4
+ def hello():
5
+ return "Hello, Bottle!"
6
+
7
+ run(host='localhost', port=8080)
@@ -0,0 +1,8 @@
1
+ import cherrypy
2
+
3
+ class HelloWorld:
4
+ @cherrypy.expose
5
+ def index(self):
6
+ return "Hello, CherryPy!"
7
+
8
+ cherrypy.quickstart(HelloWorld())
@@ -0,0 +1,8 @@
1
+ import grok
2
+
3
+ class Hello(grok.View):
4
+ def render(self):
5
+ return "Hello, Grok!"
6
+
7
+ class MyApp(grok.Application, grok.Container):
8
+ pass
@@ -0,0 +1,10 @@
1
+ from socketify import App
2
+
3
+ app = App()
4
+
5
+ @app.get("/")
6
+ def hello(res, req):
7
+ res.end("Hello, Socketify!")
8
+
9
+ app.listen(3000, lambda config: print("Listening on port 3000"))
10
+ app.run()
@@ -0,0 +1,2 @@
1
+ def index():
2
+ return "Hello, Web2Py!"
@@ -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)
@@ -0,0 +1,6 @@
1
+ from .template import Template
2
+
3
+
4
+ class Web2pyManager(Template):
5
+ def __init__(self, **kwargs):
6
+ super().__init__(**kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rapidframework-lib
3
- Version: 1.0.5
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.5/
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
- rapidframework_lib-1.0.5.dist-info/licenses/LICENSE,sha256=lXsPzvyEfL6vjzMMCRYi7gpsIjpSUYUsDF-MvMHyhc0,1070
21
- rapidframework_lib-1.0.5.dist-info/METADATA,sha256=7kgco-99fraCrmPIt29UpQwozsZUpGCMFCqgitPybUo,1237
22
- rapidframework_lib-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- rapidframework_lib-1.0.5.dist-info/entry_points.txt,sha256=UaOaGJ-BDCxtmNoPp-u_TnXXLbnXtrB13PYr5BgqmHA,72
24
- rapidframework_lib-1.0.5.dist-info/top_level.txt,sha256=7PXDkFZsYowz4aB2xVaSso4qD45jd2kHn6x3xxhMMNs,15
25
- rapidframework_lib-1.0.5.dist-info/RECORD,,
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,,