rapidframework-lib 1.0.5__tar.gz → 1.0.7__tar.gz

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.
Files changed (45) hide show
  1. {rapidframework_lib-1.0.5/rapidframework_lib.egg-info → rapidframework_lib-1.0.7}/PKG-INFO +2 -2
  2. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/README.md +1 -1
  3. rapidframework_lib-1.0.7/rapidframework/frameworks/bottle.py +10 -0
  4. rapidframework_lib-1.0.7/rapidframework/frameworks/cherryPy.py +10 -0
  5. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/ turbogears2_example_1.py +14 -0
  6. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/bottle_example_1.py +7 -0
  7. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/cherrypy_example_1.py +8 -0
  8. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/grok_example_1.py +8 -0
  9. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/pyramid_example_1.py +0 -0
  10. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/socketify_example_1.py +10 -0
  11. rapidframework_lib-1.0.7/rapidframework/frameworks/examples/web2py_example_1.py +2 -0
  12. rapidframework_lib-1.0.7/rapidframework/frameworks/grok.py +11 -0
  13. rapidframework_lib-1.0.7/rapidframework/frameworks/pyramid.py +11 -0
  14. rapidframework_lib-1.0.7/rapidframework/frameworks/socketify.py +11 -0
  15. rapidframework_lib-1.0.7/rapidframework/frameworks/turboGears2.py +10 -0
  16. rapidframework_lib-1.0.7/rapidframework/frameworks/web2py.py +6 -0
  17. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7/rapidframework_lib.egg-info}/PKG-INFO +2 -2
  18. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework_lib.egg-info/SOURCES.txt +14 -0
  19. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/setup.py +1 -1
  20. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/LICENSE +0 -0
  21. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/pyproject.toml +0 -0
  22. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/__init__.py +0 -0
  23. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/__pycache__/main.cpython-313.pyc +0 -0
  24. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/config.py +0 -0
  25. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/configs/managers.json +0 -0
  26. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/__init__.py +0 -0
  27. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/django.py +0 -0
  28. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/__init__.py +0 -0
  29. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/fastapi_example_1.py +0 -0
  30. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/flask_example_1.py +0 -0
  31. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/litestar_example_1.py +0 -0
  32. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/starlette_example_1.py +0 -0
  33. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/examples/tornado_example_1.py +0 -0
  34. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/fastapi.py +0 -0
  35. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/flask.py +0 -0
  36. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/litestar.py +0 -0
  37. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/starlette.py +0 -0
  38. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/template.py +0 -0
  39. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/frameworks/tornado.py +0 -0
  40. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework/main.py +0 -0
  41. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework_lib.egg-info/dependency_links.txt +0 -0
  42. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework_lib.egg-info/entry_points.txt +0 -0
  43. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework_lib.egg-info/requires.txt +0 -0
  44. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/rapidframework_lib.egg-info/top_level.txt +0 -0
  45. {rapidframework_lib-1.0.5 → rapidframework_lib-1.0.7}/setup.cfg +0 -0
@@ -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
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **RapidFramework** is a Python library for quickly creating and setting up projects from templates.
4
4
 
5
- ## https://pypi.org/project/rapidframework-lib/1.0.5/
5
+ ## https://pypi.org/project/rapidframework-lib/1.0.7/
6
6
 
7
7
  ## Installation
8
8
 
@@ -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
 
@@ -8,19 +8,33 @@ rapidframework/main.py
8
8
  rapidframework/__pycache__/main.cpython-313.pyc
9
9
  rapidframework/configs/managers.json
10
10
  rapidframework/frameworks/__init__.py
11
+ rapidframework/frameworks/bottle.py
12
+ rapidframework/frameworks/cherryPy.py
11
13
  rapidframework/frameworks/django.py
12
14
  rapidframework/frameworks/fastapi.py
13
15
  rapidframework/frameworks/flask.py
16
+ rapidframework/frameworks/grok.py
14
17
  rapidframework/frameworks/litestar.py
18
+ rapidframework/frameworks/pyramid.py
19
+ rapidframework/frameworks/socketify.py
15
20
  rapidframework/frameworks/starlette.py
16
21
  rapidframework/frameworks/template.py
17
22
  rapidframework/frameworks/tornado.py
23
+ rapidframework/frameworks/turboGears2.py
24
+ rapidframework/frameworks/web2py.py
25
+ rapidframework/frameworks/examples/ turbogears2_example_1.py
18
26
  rapidframework/frameworks/examples/__init__.py
27
+ rapidframework/frameworks/examples/bottle_example_1.py
28
+ rapidframework/frameworks/examples/cherrypy_example_1.py
19
29
  rapidframework/frameworks/examples/fastapi_example_1.py
20
30
  rapidframework/frameworks/examples/flask_example_1.py
31
+ rapidframework/frameworks/examples/grok_example_1.py
21
32
  rapidframework/frameworks/examples/litestar_example_1.py
33
+ rapidframework/frameworks/examples/pyramid_example_1.py
34
+ rapidframework/frameworks/examples/socketify_example_1.py
22
35
  rapidframework/frameworks/examples/starlette_example_1.py
23
36
  rapidframework/frameworks/examples/tornado_example_1.py
37
+ rapidframework/frameworks/examples/web2py_example_1.py
24
38
  rapidframework_lib.egg-info/PKG-INFO
25
39
  rapidframework_lib.egg-info/SOURCES.txt
26
40
  rapidframework_lib.egg-info/dependency_links.txt
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
3
3
 
4
4
  setup(
5
5
  name="rapidframework-lib",
6
- version="1.0.5",
6
+ version="1.0.7",
7
7
  packages=find_packages(),
8
8
  install_requires=[
9
9
  "msgspec"