Pyjoyment 0.0.1__tar.gz → 0.1.0__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.
- pyjoyment-0.1.0/.gitignore +67 -0
- pyjoyment-0.1.0/.proverc +2 -0
- pyjoyment-0.1.0/LICENSE +201 -0
- pyjoyment-0.1.0/PKG-INFO +376 -0
- pyjoyment-0.1.0/Pyjo/App/ASGI.py +735 -0
- pyjoyment-0.1.0/Pyjo/App/CGI.py +773 -0
- pyjoyment-0.1.0/Pyjo/App/FastCGI.py +631 -0
- pyjoyment-0.1.0/Pyjo/App/Lambda.py +987 -0
- pyjoyment-0.1.0/Pyjo/App/WSGI.py +427 -0
- pyjoyment-0.1.0/Pyjo/App/__init__.py +409 -0
- pyjoyment-0.1.0/Pyjo/Asset/File.py +377 -0
- pyjoyment-0.1.0/Pyjo/Asset/Memory.py +235 -0
- pyjoyment-0.1.0/Pyjo/Asset/__init__.py +200 -0
- pyjoyment-0.1.0/Pyjo/Base.py +215 -0
- pyjoyment-0.1.0/Pyjo/Cache.py +119 -0
- pyjoyment-0.1.0/Pyjo/Collection.py +570 -0
- pyjoyment-0.1.0/Pyjo/Content/MultiPart.py +325 -0
- pyjoyment-0.1.0/Pyjo/Content/Single.py +193 -0
- pyjoyment-0.1.0/Pyjo/Content/__init__.py +806 -0
- pyjoyment-0.1.0/Pyjo/Cookie/Request.py +90 -0
- pyjoyment-0.1.0/Pyjo/Cookie/Response.py +294 -0
- pyjoyment-0.1.0/Pyjo/Cookie/__init__.py +143 -0
- pyjoyment-0.1.0/Pyjo/DOM/CSS.py +1019 -0
- pyjoyment-0.1.0/Pyjo/DOM/HTML.py +550 -0
- pyjoyment-0.1.0/Pyjo/DOM/__init__.py +1329 -0
- pyjoyment-0.1.0/Pyjo/Date.py +294 -0
- pyjoyment-0.1.0/Pyjo/EventEmitter.py +522 -0
- pyjoyment-0.1.0/Pyjo/Exception.py +494 -0
- pyjoyment-0.1.0/Pyjo/File.py +959 -0
- pyjoyment-0.1.0/Pyjo/GetOpt.py +605 -0
- pyjoyment-0.1.0/Pyjo/Headers.py +760 -0
- pyjoyment-0.1.0/Pyjo/HelloWorld.py +77 -0
- pyjoyment-0.1.0/Pyjo/Home.py +109 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/ChildProcess.py +591 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Client.py +736 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Datagram.py +982 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Messages.py +664 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Server.py +458 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Stdio.py +446 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Stream.py +644 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/Subprocess.py +419 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/TLS.py +360 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/__init__.py +1036 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/certs/README.md +41 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/certs/ca.crt +20 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/certs/server.crt +21 -0
- pyjoyment-0.1.0/Pyjo/IOLoop/certs/server.key +28 -0
- pyjoyment-0.1.0/Pyjo/JSON/Pointer.py +135 -0
- pyjoyment-0.1.0/Pyjo/JSON/RPC.py +772 -0
- pyjoyment-0.1.0/Pyjo/JSON/Schema.py +2506 -0
- pyjoyment-0.1.0/Pyjo/JSON/__init__.py +573 -0
- pyjoyment-0.1.0/Pyjo/Loader.py +342 -0
- pyjoyment-0.1.0/Pyjo/Log.py +723 -0
- pyjoyment-0.1.0/Pyjo/Message/Request.py +725 -0
- pyjoyment-0.1.0/Pyjo/Message/Response.py +476 -0
- pyjoyment-0.1.0/Pyjo/Message/__init__.py +830 -0
- pyjoyment-0.1.0/Pyjo/Parameters.py +472 -0
- pyjoyment-0.1.0/Pyjo/Path.py +419 -0
- pyjoyment-0.1.0/Pyjo/Promise.py +894 -0
- pyjoyment-0.1.0/Pyjo/Prove.py +1305 -0
- pyjoyment-0.1.0/Pyjo/Reactor/Asyncio.py +854 -0
- pyjoyment-0.1.0/Pyjo/Reactor/Poll.py +439 -0
- pyjoyment-0.1.0/Pyjo/Reactor/__init__.py +525 -0
- pyjoyment-0.1.0/Pyjo/SSE.py +119 -0
- pyjoyment-0.1.0/Pyjo/Server/ASGI.py +486 -0
- pyjoyment-0.1.0/Pyjo/Server/CGI.py +259 -0
- pyjoyment-0.1.0/Pyjo/Server/Daemon.py +1007 -0
- pyjoyment-0.1.0/Pyjo/Server/FastCGI.py +517 -0
- pyjoyment-0.1.0/Pyjo/Server/Hot/__init__.py +687 -0
- pyjoyment-0.1.0/Pyjo/Server/Hot/__main__.py +5 -0
- pyjoyment-0.1.0/Pyjo/Server/Lambda.py +641 -0
- pyjoyment-0.1.0/Pyjo/Server/Prefork.py +917 -0
- pyjoyment-0.1.0/Pyjo/Server/Prethread.py +394 -0
- pyjoyment-0.1.0/Pyjo/Server/Reload/Backend/Poll.py +114 -0
- pyjoyment-0.1.0/Pyjo/Server/Reload/Backend/__init__.py +126 -0
- pyjoyment-0.1.0/Pyjo/Server/Reload/__init__.py +482 -0
- pyjoyment-0.1.0/Pyjo/Server/Reload/__main__.py +5 -0
- pyjoyment-0.1.0/Pyjo/Server/Stdio.py +228 -0
- pyjoyment-0.1.0/Pyjo/Server/WSGI.py +349 -0
- pyjoyment-0.1.0/Pyjo/Server/__init__.py +396 -0
- pyjoyment-0.1.0/Pyjo/String/Bytes.py +532 -0
- pyjoyment-0.1.0/Pyjo/String/HTML.py +210 -0
- pyjoyment-0.1.0/Pyjo/String/Mixin.py +333 -0
- pyjoyment-0.1.0/Pyjo/String/Template.py +470 -0
- pyjoyment-0.1.0/Pyjo/String/Unicode.py +553 -0
- pyjoyment-0.1.0/Pyjo/TOML.py +232 -0
- pyjoyment-0.1.0/Pyjo/Template.py +1290 -0
- pyjoyment-0.1.0/Pyjo/Test/Pyjo.py +1454 -0
- pyjoyment-0.1.0/Pyjo/Test/__init__.py +1233 -0
- pyjoyment-0.1.0/Pyjo/Test/pytest_plugin.py +305 -0
- pyjoyment-0.1.0/Pyjo/Transaction/HTTP.py +374 -0
- pyjoyment-0.1.0/Pyjo/Transaction/WebSocket.py +709 -0
- pyjoyment-0.1.0/Pyjo/Transaction/__init__.py +429 -0
- pyjoyment-0.1.0/Pyjo/URL/Template.py +459 -0
- pyjoyment-0.1.0/Pyjo/URL/__init__.py +651 -0
- pyjoyment-0.1.0/Pyjo/Upload.py +139 -0
- pyjoyment-0.1.0/Pyjo/UserAgent/CookieJar.py +391 -0
- pyjoyment-0.1.0/Pyjo/UserAgent/Proxy.py +138 -0
- pyjoyment-0.1.0/Pyjo/UserAgent/Server.py +239 -0
- pyjoyment-0.1.0/Pyjo/UserAgent/Transactor.py +766 -0
- pyjoyment-0.1.0/Pyjo/UserAgent/__init__.py +1243 -0
- pyjoyment-0.1.0/Pyjo/Util.py +3567 -0
- pyjoyment-0.1.0/Pyjo/WebSocket.py +332 -0
- pyjoyment-0.1.0/Pyjo/YAML.py +1167 -0
- pyjoyment-0.1.0/Pyjo/__init__.py +441 -0
- pyjoyment-0.1.0/Pyjo/__main__.py +35 -0
- pyjoyment-0.1.0/Pyjo/py.typed +0 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/__init__.py +20 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/__init__.py +106 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/app.py +299 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/dockerfile.py +281 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/kubernetes.py +514 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/lambda_zip.py +372 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/lite_app.py +113 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/plugin.py +267 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/generate/pyproject.py +123 -0
- pyjoyment-0.1.0/Pyjoyment/Command/Author/inflate.py +101 -0
- pyjoyment-0.1.0/Pyjoyment/Command/__init__.py +332 -0
- pyjoyment-0.1.0/Pyjoyment/Command/asgi.py +92 -0
- pyjoyment-0.1.0/Pyjoyment/Command/cgi.py +90 -0
- pyjoyment-0.1.0/Pyjoyment/Command/daemon.py +160 -0
- pyjoyment-0.1.0/Pyjoyment/Command/eval.py +128 -0
- pyjoyment-0.1.0/Pyjoyment/Command/fastcgi.py +99 -0
- pyjoyment-0.1.0/Pyjoyment/Command/get.py +305 -0
- pyjoyment-0.1.0/Pyjoyment/Command/lambda.py +117 -0
- pyjoyment-0.1.0/Pyjoyment/Command/prefork.py +181 -0
- pyjoyment-0.1.0/Pyjoyment/Command/prethread.py +126 -0
- pyjoyment-0.1.0/Pyjoyment/Command/routes.py +133 -0
- pyjoyment-0.1.0/Pyjoyment/Command/stdio.py +92 -0
- pyjoyment-0.1.0/Pyjoyment/Command/version.py +141 -0
- pyjoyment-0.1.0/Pyjoyment/Command/wsgi.py +93 -0
- pyjoyment-0.1.0/Pyjoyment/Commands.py +546 -0
- pyjoyment-0.1.0/Pyjoyment/Controller.py +1307 -0
- pyjoyment-0.1.0/Pyjoyment/HelloWorld.py +56 -0
- pyjoyment-0.1.0/Pyjoyment/Lite.py +494 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/AllowedHosts.py +205 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/Config.py +248 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/DefaultHelpers.py +1202 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/EPLRenderer.py +134 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/EPRenderer.py +212 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/HeaderCondition.py +98 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/Health.py +325 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/JSONConfig.py +172 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/Mount.py +223 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/PyRenderer.py +209 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/TOMLConfig.py +141 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/TagHelpers.py +959 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/YAMLConfig.py +178 -0
- pyjoyment-0.1.0/Pyjoyment/Plugin/__init__.py +80 -0
- pyjoyment-0.1.0/Pyjoyment/Plugins.py +215 -0
- pyjoyment-0.1.0/Pyjoyment/Renderer.py +673 -0
- pyjoyment-0.1.0/Pyjoyment/Routes/Match.py +251 -0
- pyjoyment-0.1.0/Pyjoyment/Routes/Pattern.py +443 -0
- pyjoyment-0.1.0/Pyjoyment/Routes/Route.py +827 -0
- pyjoyment-0.1.0/Pyjoyment/Routes/__init__.py +419 -0
- pyjoyment-0.1.0/Pyjoyment/Sessions.py +255 -0
- pyjoyment-0.1.0/Pyjoyment/Static.py +421 -0
- pyjoyment-0.1.0/Pyjoyment/Types.py +238 -0
- pyjoyment-0.1.0/Pyjoyment/Validator/Validation.py +395 -0
- pyjoyment-0.1.0/Pyjoyment/Validator/__init__.py +304 -0
- pyjoyment-0.1.0/Pyjoyment/__init__.py +1083 -0
- pyjoyment-0.1.0/Pyjoyment/__main__.py +5 -0
- pyjoyment-0.1.0/Pyjoyment/py.typed +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/favicon.ico +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/favicon.svg +345 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/bootstrap/LICENSE +21 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/bootstrap/bootstrap.bundle.min.js.map +1 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/bootstrap/bootstrap.css +6 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/bootstrap/bootstrap.js +7 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/bootstrap/bootstrap.min.css.map +1 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/failunicat.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/failunicat.svg +50 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/highlight.js/LICENSE +29 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/highlight.js/highlight-mojo-dark.css +56 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/highlight.js/highlight.min.js +1262 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/highlight.js/pyjoyment.min.js +1 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-black-4x.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-black-4x.svg +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white-2x.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white-2x.svg +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white-4x.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white-4x.svg +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo-white.svg +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/logo.svg +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/notfound.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/notfound.svg +3 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/nounicat.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/nounicat.svg +5 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/pinstripe-dark.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/pinstripe-dark.svg +4 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/pinstripe-light.png +0 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/pinstripe-light.svg +4 -0
- pyjoyment-0.1.0/Pyjoyment/resources/public/pyjo/pyjo.css +204 -0
- pyjoyment-0.1.0/Pyjoyment/resources/templates/pyjo/debug.html.ep +346 -0
- pyjoyment-0.1.0/Pyjoyment/resources/templates/pyjo/exception.html.ep +32 -0
- pyjoyment-0.1.0/Pyjoyment/resources/templates/pyjo/not_found.html.ep +45 -0
- pyjoyment-0.1.0/README.md +334 -0
- pyjoyment-0.1.0/docs/.gitignore +2 -0
- pyjoyment-0.1.0/docs/Makefile +245 -0
- pyjoyment-0.1.0/docs/_static/mermaid.css +5 -0
- pyjoyment-0.1.0/docs/api/Pyjo.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App_ASGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App_CGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App_FastCGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App_Lambda.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_App_WSGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Asset.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Asset_File.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Asset_Memory.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Base.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Cache.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Collection.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Content.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Content_MultiPart.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Content_Single.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Cookie.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Cookie_Request.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Cookie_Response.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_DOM.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_DOM_CSS.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_DOM_HTML.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Date.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_EventEmitter.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Exception.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_File.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_GetOpt.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Headers.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_HelloWorld.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Home.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_ChildProcess.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Client.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Datagram.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Messages.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Server.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Stdio.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Stream.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_Subprocess.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_IOLoop_TLS.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_JSON.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_JSON_Pointer.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_JSON_RPC.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_JSON_Schema.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Loader.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Log.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Message.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Message_Request.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Message_Response.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Parameters.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Path.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Promise.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Prove.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Reactor.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Reactor_Asyncio.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Reactor_Poll.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_SSE.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_ASGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_CGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Daemon.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_FastCGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Hot.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Lambda.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Prefork.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Prethread.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Reload.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Reload_Backend.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Reload_Backend_Poll.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_Stdio.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Server_WSGI.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_String_Bytes.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_String_HTML.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_String_Mixin.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_String_Template.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_String_Unicode.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_TOML.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Template.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Test.rst +10 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Test_Pyjo.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Test_pytest_plugin.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Transaction.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Transaction_HTTP.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Transaction_WebSocket.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_URL.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_URL_Template.rst +3 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Upload.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_UserAgent.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_UserAgent_CookieJar.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_UserAgent_Proxy.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_UserAgent_Server.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_UserAgent_Transactor.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_Util.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_WebSocket.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjo_YAML.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_app.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_dockerfile.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_kubernetes.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_lambda_zip.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_lite_app.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_plugin.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_generate_pyproject.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_Author_inflate.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_asgi.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_cgi.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_daemon.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_eval.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_fastcgi.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_get.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_lambda.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_prefork.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_prethread.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_routes.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_stdio.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_version.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Command_wsgi.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Commands.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Controller.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_HelloWorld.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Lite.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_AllowedHosts.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_Config.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_DefaultHelpers.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_EPLRenderer.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_EPRenderer.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_HeaderCondition.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_Health.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_JSONConfig.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_Mount.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_PyRenderer.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_TOMLConfig.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_TagHelpers.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugin_YAMLConfig.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Plugins.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Renderer.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Routes.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Routes_Match.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Routes_Pattern.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Routes_Route.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Sessions.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Static.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Types.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Validator.rst +2 -0
- pyjoyment-0.1.0/docs/api/Pyjoyment_Validator_Validation.rst +2 -0
- pyjoyment-0.1.0/docs/api/index.rst +9 -0
- pyjoyment-0.1.0/docs/conf.py +138 -0
- pyjoyment-0.1.0/docs/distributions.rst +34 -0
- pyjoyment-0.1.0/docs/examples.rst +219 -0
- pyjoyment-0.1.0/docs/guides/contributing.rst +186 -0
- pyjoyment-0.1.0/docs/guides/cookbook/backend.py +26 -0
- pyjoyment-0.1.0/docs/guides/cookbook/background.py +25 -0
- pyjoyment-0.1.0/docs/guides/cookbook/basic_auth.py +16 -0
- pyjoyment-0.1.0/docs/guides/cookbook/blocking.py +23 -0
- pyjoyment-0.1.0/docs/guides/cookbook/commands/MyApp/Command/spy.py +18 -0
- pyjoyment-0.1.0/docs/guides/cookbook/commands/MyApp/__init__.py +11 -0
- pyjoyment-0.1.0/docs/guides/cookbook/commands/MyApp/__main__.py +5 -0
- pyjoyment-0.1.0/docs/guides/cookbook/commands/Pyjoyment/Command/spy.py +18 -0
- pyjoyment-0.1.0/docs/guides/cookbook/config/myapp.conf +1 -0
- pyjoyment-0.1.0/docs/guides/cookbook/config/myapp.py +21 -0
- pyjoyment-0.1.0/docs/guides/cookbook/counter.py +24 -0
- pyjoyment-0.1.0/docs/guides/cookbook/delayed.py +12 -0
- pyjoyment-0.1.0/docs/guides/cookbook/echo.py +49 -0
- pyjoyment-0.1.0/docs/guides/cookbook/errors.py +31 -0
- pyjoyment-0.1.0/docs/guides/cookbook/health.py +17 -0
- pyjoyment-0.1.0/docs/guides/cookbook/hello.py +5 -0
- pyjoyment-0.1.0/docs/guides/cookbook/hosts.py +13 -0
- pyjoyment-0.1.0/docs/guides/cookbook/hosts_under.py +21 -0
- pyjoyment-0.1.0/docs/guides/cookbook/hot.py +8 -0
- pyjoyment-0.1.0/docs/guides/cookbook/installable/MyApp/__init__.py +35 -0
- pyjoyment-0.1.0/docs/guides/cookbook/installable/pyproject.toml +12 -0
- pyjoyment-0.1.0/docs/guides/cookbook/json_inline.py +28 -0
- pyjoyment-0.1.0/docs/guides/cookbook/jsonp.py +24 -0
- pyjoyment-0.1.0/docs/guides/cookbook/lambda/gateway.py +10 -0
- pyjoyment-0.1.0/docs/guides/cookbook/lambda/myapp.py +10 -0
- pyjoyment-0.1.0/docs/guides/cookbook/livelog.py +46 -0
- pyjoyment-0.1.0/docs/guides/cookbook/plugin/MyApp/Plugin/MyHelpers.py +12 -0
- pyjoyment-0.1.0/docs/guides/cookbook/plugin/myapp.py +12 -0
- pyjoyment-0.1.0/docs/guides/cookbook/proxy.py +34 -0
- pyjoyment-0.1.0/docs/guides/cookbook/sleepy.py +13 -0
- pyjoyment-0.1.0/docs/guides/cookbook/sort.py +21 -0
- pyjoyment-0.1.0/docs/guides/cookbook/stdio/client.py +26 -0
- pyjoyment-0.1.0/docs/guides/cookbook/stdio/lines.py +23 -0
- pyjoyment-0.1.0/docs/guides/cookbook/stdio/rpc.py +29 -0
- pyjoyment-0.1.0/docs/guides/cookbook/synchronizing.py +28 -0
- pyjoyment-0.1.0/docs/guides/cookbook/titles.py +15 -0
- pyjoyment-0.1.0/docs/guides/cookbook/upload.py +53 -0
- pyjoyment-0.1.0/docs/guides/cookbook/worker.py +12 -0
- pyjoyment-0.1.0/docs/guides/cookbook/wsgi/myapp.py +6 -0
- pyjoyment-0.1.0/docs/guides/cookbook/wsgi/myapp_wsgi.py +18 -0
- pyjoyment-0.1.0/docs/guides/cookbook/wsgi/welcome.py +20 -0
- pyjoyment-0.1.0/docs/guides/cookbook.rst +2602 -0
- pyjoyment-0.1.0/docs/guides/faq.rst +344 -0
- pyjoyment-0.1.0/docs/guides/growing/foundation/myapp.py +10 -0
- pyjoyment-0.1.0/docs/guides/growing/hybrid/MyApp/__init__.py +43 -0
- pyjoyment-0.1.0/docs/guides/growing/hybrid/myapp.py +6 -0
- pyjoyment-0.1.0/docs/guides/growing/login/MyApp/Controller/Login.py +26 -0
- pyjoyment-0.1.0/docs/guides/growing/login/MyApp/Model/Users.py +14 -0
- pyjoyment-0.1.0/docs/guides/growing/login/MyApp/__init__.py +22 -0
- pyjoyment-0.1.0/docs/guides/growing/login/MyApp/__main__.py +5 -0
- pyjoyment-0.1.0/docs/guides/growing/login/t/login.py +36 -0
- pyjoyment-0.1.0/docs/guides/growing/login/templates/layouts/default.html.ep +5 -0
- pyjoyment-0.1.0/docs/guides/growing/login/templates/login/index.html.ep +12 -0
- pyjoyment-0.1.0/docs/guides/growing/login/templates/login/protected.html.ep +6 -0
- pyjoyment-0.1.0/docs/guides/growing/model/myapp.py +28 -0
- pyjoyment-0.1.0/docs/guides/growing/prototype/myapp.py +96 -0
- pyjoyment-0.1.0/docs/guides/growing/prototype/t/login.py +44 -0
- pyjoyment-0.1.0/docs/guides/growing.rst +623 -0
- pyjoyment-0.1.0/docs/guides/index.rst +414 -0
- pyjoyment-0.1.0/docs/guides/mounting/api.py +22 -0
- pyjoyment-0.1.0/docs/guides/mounting/legacy.py +4 -0
- pyjoyment-0.1.0/docs/guides/mounting/myapp.py +14 -0
- pyjoyment-0.1.0/docs/guides/mounting.rst +267 -0
- pyjoyment-0.1.0/docs/guides/rendering/alert_assets/Pyjoyment/Plugin/AlertAssets/public/alertassets.js +1 -0
- pyjoyment-0.1.0/docs/guides/rendering/alert_assets/Pyjoyment/Plugin/AlertAssets/templates/alertassets.html.ep +1 -0
- pyjoyment-0.1.0/docs/guides/rendering/alert_assets/Pyjoyment/Plugin/AlertAssets.py +15 -0
- pyjoyment-0.1.0/docs/guides/rendering/alert_assets_data/Pyjoyment/Plugin/AlertAssets.py +22 -0
- pyjoyment-0.1.0/docs/guides/rendering/alert_me.py +22 -0
- pyjoyment-0.1.0/docs/guides/rendering/before_render.py +24 -0
- pyjoyment-0.1.0/docs/guides/rendering/blocks.py +18 -0
- pyjoyment-0.1.0/docs/guides/rendering/cache_control.py +26 -0
- pyjoyment-0.1.0/docs/guides/rendering/chunked.py +9 -0
- pyjoyment-0.1.0/docs/guides/rendering/clock.py +23 -0
- pyjoyment-0.1.0/docs/guides/rendering/compressed.py +40 -0
- pyjoyment-0.1.0/docs/guides/rendering/content_for.py +27 -0
- pyjoyment-0.1.0/docs/guides/rendering/csrf.py +37 -0
- pyjoyment-0.1.0/docs/guides/rendering/debug_helper.py +21 -0
- pyjoyment-0.1.0/docs/guides/rendering/debug_helper_plugin/Pyjoyment/Plugin/DebugHelper.py +11 -0
- pyjoyment-0.1.0/docs/guides/rendering/debug_plugin.py +13 -0
- pyjoyment-0.1.0/docs/guides/rendering/divide.py +30 -0
- pyjoyment-0.1.0/docs/guides/rendering/exception_format.py +18 -0
- pyjoyment-0.1.0/docs/guides/rendering/exception_template.py +25 -0
- pyjoyment-0.1.0/docs/guides/rendering/favicon.py +22 -0
- pyjoyment-0.1.0/docs/guides/rendering/form.py +36 -0
- pyjoyment-0.1.0/docs/guides/rendering/heart.py +13 -0
- pyjoyment-0.1.0/docs/guides/rendering/inheritance.py +42 -0
- pyjoyment-0.1.0/docs/guides/rendering/layout.py +21 -0
- pyjoyment-0.1.0/docs/guides/rendering/layout_title.py +21 -0
- pyjoyment-0.1.0/docs/guides/rendering/leak_asset.py +12 -0
- pyjoyment-0.1.0/docs/guides/rendering/leak_rendered.py +13 -0
- pyjoyment-0.1.0/docs/guides/rendering/mine.py +19 -0
- pyjoyment-0.1.0/docs/guides/rendering/mustache.py +15 -0
- pyjoyment-0.1.0/docs/guides/rendering/my_renderer/Pyjoyment/Plugin/MyRenderer.py +35 -0
- pyjoyment-0.1.0/docs/guides/rendering/partial.py +20 -0
- pyjoyment-0.1.0/docs/guides/rendering/pickled.py +28 -0
- pyjoyment-0.1.0/docs/guides/rendering/public/foo/bar.png +0 -0
- pyjoyment-0.1.0/docs/guides/rendering/public/index.html +9 -0
- pyjoyment-0.1.0/docs/guides/rendering/range_check.py +57 -0
- pyjoyment-0.1.0/docs/guides/rendering/static_files.py +20 -0
- pyjoyment-0.1.0/docs/guides/rendering/streaming.py +20 -0
- pyjoyment-0.1.0/docs/guides/rendering/streaming_finish.py +22 -0
- pyjoyment-0.1.0/docs/guides/rendering/trim_newline.py +24 -0
- pyjoyment-0.1.0/docs/guides/rendering/validation.py +62 -0
- pyjoyment-0.1.0/docs/guides/rendering.rst +1285 -0
- pyjoyment-0.1.0/docs/guides/routing/app_plugin/EmbeddedApp.py +11 -0
- pyjoyment-0.1.0/docs/guides/routing/app_plugin/MyApp/__init__.py +13 -0
- pyjoyment-0.1.0/docs/guides/routing/app_plugin/Pyjoyment/Plugin/MyEmbeddedApp.py +14 -0
- pyjoyment-0.1.0/docs/guides/routing/embed/MyApp/Controller/Bar.py +12 -0
- pyjoyment-0.1.0/docs/guides/routing/embed_lite/MyApp/Controller/Bar.py +9 -0
- pyjoyment-0.1.0/docs/guides/routing/hooks/MyApp/__init__.py +21 -0
- pyjoyment-0.1.0/docs/guides/routing/minimal/MyApp/Controller/Foo.py +12 -0
- pyjoyment-0.1.0/docs/guides/routing/minimal/MyApp/__init__.py +15 -0
- pyjoyment-0.1.0/docs/guides/routing/special/MyApp/Controller/Foo.py +12 -0
- pyjoyment-0.1.0/docs/guides/routing/special/MyApp/__init__.py +12 -0
- pyjoyment-0.1.0/docs/guides/routing/websockets/MyApp/Controller/Foo.py +13 -0
- pyjoyment-0.1.0/docs/guides/routing/werewolf/MyApp/__init__.py +16 -0
- pyjoyment-0.1.0/docs/guides/routing/werewolf/Pyjoyment/Plugin/WerewolfCondition.py +28 -0
- pyjoyment-0.1.0/docs/guides/routing.rst +1160 -0
- pyjoyment-0.1.0/docs/guides/testing/TestLocation.py +10 -0
- pyjoyment-0.1.0/docs/guides/testing/celestial.py +24 -0
- pyjoyment-0.1.0/docs/guides/testing/echo.py +19 -0
- pyjoyment-0.1.0/docs/guides/testing/login.py +25 -0
- pyjoyment-0.1.0/docs/guides/testing/weather/MyApp/__init__.py +28 -0
- pyjoyment-0.1.0/docs/guides/testing.rst +991 -0
- pyjoyment-0.1.0/docs/guides/tutorial/blocks.py +24 -0
- pyjoyment-0.1.0/docs/guides/tutorial/conditions.py +24 -0
- pyjoyment-0.1.0/docs/guides/tutorial/content_negotiation.py +19 -0
- pyjoyment-0.1.0/docs/guides/tutorial/exception_pages.py +16 -0
- pyjoyment-0.1.0/docs/guides/tutorial/external_templates.py +10 -0
- pyjoyment-0.1.0/docs/guides/tutorial/file_uploads.py +40 -0
- pyjoyment-0.1.0/docs/guides/tutorial/formats.py +25 -0
- pyjoyment-0.1.0/docs/guides/tutorial/hello_world.py +10 -0
- pyjoyment-0.1.0/docs/guides/tutorial/helpers.py +26 -0
- pyjoyment-0.1.0/docs/guides/tutorial/home.py +14 -0
- pyjoyment-0.1.0/docs/guides/tutorial/http_methods.py +30 -0
- pyjoyment-0.1.0/docs/guides/tutorial/json_reverse.py +12 -0
- pyjoyment-0.1.0/docs/guides/tutorial/json_rpc.py +30 -0
- pyjoyment-0.1.0/docs/guides/tutorial/layouts.py +22 -0
- pyjoyment-0.1.0/docs/guides/tutorial/mode.py +15 -0
- pyjoyment-0.1.0/docs/guides/tutorial/optional_formats.py +14 -0
- pyjoyment-0.1.0/docs/guides/tutorial/optional_placeholders.py +18 -0
- pyjoyment-0.1.0/docs/guides/tutorial/parameters.py +11 -0
- pyjoyment-0.1.0/docs/guides/tutorial/placeholders.py +20 -0
- pyjoyment-0.1.0/docs/guides/tutorial/plugins.py +14 -0
- pyjoyment-0.1.0/docs/guides/tutorial/relaxed_placeholders.py +15 -0
- pyjoyment-0.1.0/docs/guides/tutorial/request_response.py +19 -0
- pyjoyment-0.1.0/docs/guides/tutorial/restrictive_placeholders.py +12 -0
- pyjoyment-0.1.0/docs/guides/tutorial/restrictive_regex.py +14 -0
- pyjoyment-0.1.0/docs/guides/tutorial/route_names.py +24 -0
- pyjoyment-0.1.0/docs/guides/tutorial/routes.py +10 -0
- pyjoyment-0.1.0/docs/guides/tutorial/sessions.py +18 -0
- pyjoyment-0.1.0/docs/guides/tutorial/stash.py +18 -0
- pyjoyment-0.1.0/docs/guides/tutorial/static_files.py +14 -0
- pyjoyment-0.1.0/docs/guides/tutorial/under_authentication.py +31 -0
- pyjoyment-0.1.0/docs/guides/tutorial/under_group.py +29 -0
- pyjoyment-0.1.0/docs/guides/tutorial/under_prefix.py +19 -0
- pyjoyment-0.1.0/docs/guides/tutorial/user_agent.py +35 -0
- pyjoyment-0.1.0/docs/guides/tutorial/websockets.py +35 -0
- pyjoyment-0.1.0/docs/guides/tutorial/wildcard_placeholders.py +16 -0
- pyjoyment-0.1.0/docs/guides/tutorial.rst +634 -0
- pyjoyment-0.1.0/docs/index.rst +20 -0
- pyjoyment-0.1.0/docs/installation.rst +21 -0
- pyjoyment-0.1.0/docs/intro.rst +53 -0
- pyjoyment-0.1.0/docs/license.rst +14 -0
- pyjoyment-0.1.0/docs/make.bat +272 -0
- pyjoyment-0.1.0/docs/requirements.txt +5 -0
- pyjoyment-0.1.0/docs/status.rst +22 -0
- pyjoyment-0.1.0/examples/README.md +81 -0
- pyjoyment-0.1.0/examples/aws/s3.py +149 -0
- pyjoyment-0.1.0/examples/lambda/README.md +94 -0
- pyjoyment-0.1.0/examples/lambda/alb.tf +67 -0
- pyjoyment-0.1.0/examples/lambda/function/app.py +71 -0
- pyjoyment-0.1.0/examples/lambda/function/phpinfo.php +1 -0
- pyjoyment-0.1.0/examples/lambda/function.tf +73 -0
- pyjoyment-0.1.0/examples/lambda/network.tf +21 -0
- pyjoyment-0.1.0/examples/lambda/outputs.tf +26 -0
- pyjoyment-0.1.0/examples/lambda/url.tf +21 -0
- pyjoyment-0.1.0/examples/lambda/variables.tf +44 -0
- pyjoyment-0.1.0/examples/lambda/versions.tf +23 -0
- pyjoyment-0.1.0/examples/lambda_stream/README.md +75 -0
- pyjoyment-0.1.0/examples/lambda_stream/function/app.py +29 -0
- pyjoyment-0.1.0/examples/lambda_stream/function/wrapper.py +8 -0
- pyjoyment-0.1.0/examples/lambda_stream/function.tf +81 -0
- pyjoyment-0.1.0/examples/lambda_stream/outputs.tf +21 -0
- pyjoyment-0.1.0/examples/lambda_stream/url.tf +23 -0
- pyjoyment-0.1.0/examples/lambda_stream/variables.tf +23 -0
- pyjoyment-0.1.0/examples/lambda_stream/versions.tf +23 -0
- pyjoyment-0.1.0/examples/lambda_zip/README.md +73 -0
- pyjoyment-0.1.0/examples/lambda_zip/function/app.py +36 -0
- pyjoyment-0.1.0/examples/lambda_zip/function.tf +84 -0
- pyjoyment-0.1.0/examples/lambda_zip/outputs.tf +26 -0
- pyjoyment-0.1.0/examples/lambda_zip/url.tf +23 -0
- pyjoyment-0.1.0/examples/lambda_zip/variables.tf +39 -0
- pyjoyment-0.1.0/examples/lambda_zip/versions.tf +23 -0
- pyjoyment-0.1.0/examples/mount/cgi-bin/hello.py +10 -0
- pyjoyment-0.1.0/examples/mount/hello_asgi.py +16 -0
- pyjoyment-0.1.0/examples/mount/hello_lambda.py +6 -0
- pyjoyment-0.1.0/examples/mount/hello_mangum.py +15 -0
- pyjoyment-0.1.0/examples/mount/hello_wsgi.py +10 -0
- pyjoyment-0.1.0/examples/mount/mount_asgi.py +9 -0
- pyjoyment-0.1.0/examples/mount/mount_asgi_inception.py +18 -0
- pyjoyment-0.1.0/examples/mount/mount_cgi.py +12 -0
- pyjoyment-0.1.0/examples/mount/mount_cgi_php.py +13 -0
- pyjoyment-0.1.0/examples/mount/mount_fastcgi_php.py +14 -0
- pyjoyment-0.1.0/examples/mount/mount_lambda.py +15 -0
- pyjoyment-0.1.0/examples/mount/mount_lambda_inception.py +22 -0
- pyjoyment-0.1.0/examples/mount/mount_lambda_mangum.py +15 -0
- pyjoyment-0.1.0/examples/mount/mount_mcp.py +21 -0
- pyjoyment-0.1.0/examples/mount/mount_wsgi.py +9 -0
- pyjoyment-0.1.0/examples/mount/mount_wsgi_inception.py +18 -0
- pyjoyment-0.1.0/examples/mount/php/index.php +13 -0
- pyjoyment-0.1.0/examples/mount/php/php-fpm.conf +9 -0
- pyjoyment-0.1.0/examples/mount/php/phpinfo.php +1 -0
- pyjoyment-0.1.0/examples/pyjo/base.pl +20 -0
- pyjoyment-0.1.0/examples/pyjo/base.py +23 -0
- pyjoyment-0.1.0/examples/pyjo/eventemitter.pl +35 -0
- pyjoyment-0.1.0/examples/pyjo/eventemitter.py +29 -0
- pyjoyment-0.1.0/examples/pyjo/eventemitter_imper.py +29 -0
- pyjoyment-0.1.0/examples/pyjo/eventemitter_profile.py +24 -0
- pyjoyment-0.1.0/examples/pyjo/http_benchmark.pl +58 -0
- pyjoyment-0.1.0/examples/pyjo/http_benchmark.py +71 -0
- pyjoyment-0.1.0/examples/pyjo/http_benchmark_imper.py +74 -0
- pyjoyment-0.1.0/examples/pyjo/ioloop.pl +49 -0
- pyjoyment-0.1.0/examples/pyjo/ioloop.py +42 -0
- pyjoyment-0.1.0/examples/pyjo/ioloop_imper.py +50 -0
- pyjoyment-0.1.0/examples/pyjo/microhttp.pl +19 -0
- pyjoyment-0.1.0/examples/pyjo/microhttp.py +23 -0
- pyjoyment-0.1.0/examples/pyjo/microhttp_imper.py +24 -0
- pyjoyment-0.1.0/examples/pyjo/microhttpd.pl +32 -0
- pyjoyment-0.1.0/examples/pyjo/microhttpd.py +34 -0
- pyjoyment-0.1.0/examples/pyjo/microhttpd_imper.py +37 -0
- pyjoyment-0.1.0/examples/pyjo/resolv_dns.pl +37 -0
- pyjoyment-0.1.0/examples/pyjo/resolv_dns.py +43 -0
- pyjoyment-0.1.0/examples/pyjo/tcp_proxy.py +72 -0
- pyjoyment-0.1.0/examples/pyjo/timers.pl +14 -0
- pyjoyment-0.1.0/examples/pyjo/timers.py +14 -0
- pyjoyment-0.1.0/examples/pyjo/timers_lambda.py +7 -0
- pyjoyment-0.1.0/examples/pyjo/timers_obj.py +17 -0
- pyjoyment-0.1.0/examples/pyjo/timers_obj_imper.py +21 -0
- pyjoyment-0.1.0/examples/pyjo/url.pl +10 -0
- pyjoyment-0.1.0/examples/pyjo/url.py +10 -0
- pyjoyment-0.1.0/examples/pyjo/url_utf8.pl +16 -0
- pyjoyment-0.1.0/examples/pyjo/url_utf8.py +16 -0
- pyjoyment-0.1.0/examples/pyjoyment/hello.pl +5 -0
- pyjoyment-0.1.0/examples/pyjoyment/hello.py +6 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_rpc.py +146 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema.py +143 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/LICENSE +213 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/README.md +15 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/address.json +8 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/address.schema.json +34 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/blog-post.json +10 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/blog-post.schema.json +28 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/calendar.json +7 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/calendar.schema.json +47 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/device.json +6 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/device.schema.json +29 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/ecommerce.json +15 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/ecommerce.schema.json +34 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/geographical-location.json +4 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/geographical-location.schema.json +20 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/health-record.json +12 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/health-record.schema.json +40 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/job-posting.json +9 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/job-posting.schema.json +32 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/laptop.schema.json +20 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/movie.json +8 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/movie.schema.json +33 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/smartphone.schema.json +17 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/user-profile.json +8 -0
- pyjoyment-0.1.0/examples/pyjoyment/json_schema_examples/user-profile.schema.json +32 -0
- pyjoyment-0.1.0/examples/pyjoyment/title.pl +25 -0
- pyjoyment-0.1.0/examples/pyjoyment/title.py +30 -0
- pyjoyment-0.1.0/examples/servers/bootstrap +4 -0
- pyjoyment-0.1.0/examples/servers/hello_world.py +5 -0
- pyjoyment-0.1.0/examples/servers/hello_world_lambda.py +6 -0
- pyjoyment-0.1.0/examples/servers/hello_world_uvicorn.py +9 -0
- pyjoyment-0.1.0/examples/servers/hello_world_werkzeug.py +9 -0
- pyjoyment-0.1.0/examples/servers/http_server.py +53 -0
- pyjoyment-0.1.0/examples/servers/server_asgi_on_request.py +27 -0
- pyjoyment-0.1.0/examples/servers/server_cgi_on_request.pl +20 -0
- pyjoyment-0.1.0/examples/servers/server_cgi_on_request.py +22 -0
- pyjoyment-0.1.0/examples/servers/server_daemon_on_request.pl +20 -0
- pyjoyment-0.1.0/examples/servers/server_daemon_on_request.py +21 -0
- pyjoyment-0.1.0/examples/servers/server_psgi_on_request.pl +29 -0
- pyjoyment-0.1.0/examples/servers/server_wsgi_on_request.py +28 -0
- pyjoyment-0.1.0/examples/ua/entities.pl +10 -0
- pyjoyment-0.1.0/examples/ua/entities.py +9 -0
- pyjoyment-0.1.0/examples/ua/get.pl +19 -0
- pyjoyment-0.1.0/examples/ua/get.py +23 -0
- pyjoyment-0.1.0/examples/ua/loopback.py +15 -0
- pyjoyment-0.1.0/examples/ua/user_agent.py +22 -0
- pyjoyment-0.1.0/pyjoyment-0.1.0.spdx.json +1 -0
- pyjoyment-0.1.0/pyproject.toml +416 -0
- pyjoyment-0.1.0/t/Pyjo/App.py +101 -0
- pyjoyment-0.1.0/t/Pyjo/App_ASGI.py +811 -0
- pyjoyment-0.1.0/t/Pyjo/App_CGI.py +486 -0
- pyjoyment-0.1.0/t/Pyjo/App_FastCGI.py +782 -0
- pyjoyment-0.1.0/t/Pyjo/App_Lambda.py +523 -0
- pyjoyment-0.1.0/t/Pyjo/App_WSGI.py +489 -0
- pyjoyment-0.1.0/t/Pyjo/Asset.py +357 -0
- pyjoyment-0.1.0/t/Pyjo/Base.py +162 -0
- pyjoyment-0.1.0/t/Pyjo/Cache.py +55 -0
- pyjoyment-0.1.0/t/Pyjo/Collection.py +176 -0
- pyjoyment-0.1.0/t/Pyjo/Content.py +114 -0
- pyjoyment-0.1.0/t/Pyjo/Cookie.py +465 -0
- pyjoyment-0.1.0/t/Pyjo/DOM.py +3311 -0
- pyjoyment-0.1.0/t/Pyjo/Date.py +77 -0
- pyjoyment-0.1.0/t/Pyjo/EventEmitter.py +282 -0
- pyjoyment-0.1.0/t/Pyjo/Exception.py +371 -0
- pyjoyment-0.1.0/t/Pyjo/File.py +500 -0
- pyjoyment-0.1.0/t/Pyjo/File_download.py +127 -0
- pyjoyment-0.1.0/t/Pyjo/GetOpt.py +339 -0
- pyjoyment-0.1.0/t/Pyjo/Headers.py +292 -0
- pyjoyment-0.1.0/t/Pyjo/Home.py +69 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop.py +716 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_ChildProcess.py +327 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_Datagram.py +491 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_IPv6.py +49 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_Messages.py +309 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_Stdio.py +237 -0
- pyjoyment-0.1.0/t/Pyjo/IOLoop_TLS.py +498 -0
- pyjoyment-0.1.0/t/Pyjo/JSON.py +464 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Pointer.py +102 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_RPC.py +813 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Schema.py +981 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Schema_lazy.py +56 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Schema_suite.py +94 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Schema_validate.py +508 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_Schema_zod.py +163 -0
- pyjoyment-0.1.0/t/Pyjo/JSON_stdlib.py +94 -0
- pyjoyment-0.1.0/t/Pyjo/Loader.py +181 -0
- pyjoyment-0.1.0/t/Pyjo/Log.py +371 -0
- pyjoyment-0.1.0/t/Pyjo/Message_Request.py +2283 -0
- pyjoyment-0.1.0/t/Pyjo/Message_Request_CGI.py +627 -0
- pyjoyment-0.1.0/t/Pyjo/Message_Response.py +1145 -0
- pyjoyment-0.1.0/t/Pyjo/Parameters.py +210 -0
- pyjoyment-0.1.0/t/Pyjo/Path.py +251 -0
- pyjoyment-0.1.0/t/Pyjo/Promise.py +619 -0
- pyjoyment-0.1.0/t/Pyjo/Promise_async_await.py +248 -0
- pyjoyment-0.1.0/t/Pyjo/Prove.py +877 -0
- pyjoyment-0.1.0/t/Pyjo/Reactor_Asyncio.py +465 -0
- pyjoyment-0.1.0/t/Pyjo/Reactor_Poll.py +461 -0
- pyjoyment-0.1.0/t/Pyjo/Reactor_detect.py +36 -0
- pyjoyment-0.1.0/t/Pyjo/SSE.py +153 -0
- pyjoyment-0.1.0/t/Pyjo/Server_ASGI.py +491 -0
- pyjoyment-0.1.0/t/Pyjo/Server_CGI.py +348 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Daemon.py +709 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Daemon_IPv6_TLS.py +82 -0
- pyjoyment-0.1.0/t/Pyjo/Server_FastCGI.py +436 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Hot.py +336 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Lambda.py +515 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Prefork.py +457 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Prethread.py +532 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Reload.py +522 -0
- pyjoyment-0.1.0/t/Pyjo/Server_Stdio.py +192 -0
- pyjoyment-0.1.0/t/Pyjo/Server_WSGI.py +415 -0
- pyjoyment-0.1.0/t/Pyjo/String.py +178 -0
- pyjoyment-0.1.0/t/Pyjo/String_HTML.py +104 -0
- pyjoyment-0.1.0/t/Pyjo/String_Mixin.py +360 -0
- pyjoyment-0.1.0/t/Pyjo/String_Template.py +251 -0
- pyjoyment-0.1.0/t/Pyjo/String_Template_native.py +81 -0
- pyjoyment-0.1.0/t/Pyjo/Subprocess.py +293 -0
- pyjoyment-0.1.0/t/Pyjo/TLS.py +77 -0
- pyjoyment-0.1.0/t/Pyjo/TOML.py +158 -0
- pyjoyment-0.1.0/t/Pyjo/Template.py +1325 -0
- pyjoyment-0.1.0/t/Pyjo/Test.py +513 -0
- pyjoyment-0.1.0/t/Pyjo/Test_Pyjo.py +588 -0
- pyjoyment-0.1.0/t/Pyjo/Test_pytest_plugin.py +144 -0
- pyjoyment-0.1.0/t/Pyjo/URL.py +718 -0
- pyjoyment-0.1.0/t/Pyjo/URL_Template.py +356 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent.py +792 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_CookieJar.py +529 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_Proxy.py +53 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_TLS.py +154 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_Transactor.py +1178 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_online.py +250 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_socks.py +124 -0
- pyjoyment-0.1.0/t/Pyjo/UserAgent_unix.py +140 -0
- pyjoyment-0.1.0/t/Pyjo/Util.py +902 -0
- pyjoyment-0.1.0/t/Pyjo/WebSocket.py +634 -0
- pyjoyment-0.1.0/t/Pyjo/WebSocket_frames.py +319 -0
- pyjoyment-0.1.0/t/Pyjo/WebSocket_proxy.py +153 -0
- pyjoyment-0.1.0/t/Pyjo/WebSocket_proxy_TLS.py +259 -0
- pyjoyment-0.1.0/t/Pyjo/YAML.py +489 -0
- pyjoyment-0.1.0/t/Pyjo/ojo.py +150 -0
- pyjoyment-0.1.0/t/Pyjoyment/Command.py +105 -0
- pyjoyment-0.1.0/t/Pyjoyment/Commands.py +932 -0
- pyjoyment-0.1.0/t/Pyjoyment/Dispatch.py +235 -0
- pyjoyment-0.1.0/t/Pyjoyment/Pattern.py +295 -0
- pyjoyment-0.1.0/t/Pyjoyment/Renderer.py +204 -0
- pyjoyment-0.1.0/t/Pyjoyment/Routes.py +1041 -0
- pyjoyment-0.1.0/t/Pyjoyment/Types.py +121 -0
- pyjoyment-0.1.0/t/Pyjoyment/allowed_hosts_lite_app.py +130 -0
- pyjoyment-0.1.0/t/Pyjoyment/app.py +987 -0
- pyjoyment-0.1.0/t/Pyjoyment/asgi_lite_app.py +123 -0
- pyjoyment-0.1.0/t/Pyjoyment/charset_lite_app.py +132 -0
- pyjoyment-0.1.0/t/Pyjoyment/dispatcher_lite_app.py +245 -0
- pyjoyment-0.1.0/t/Pyjoyment/embedded_app.py +107 -0
- pyjoyment-0.1.0/t/Pyjoyment/embedded_lite_app.json +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/embedded_lite_app.py +418 -0
- pyjoyment-0.1.0/t/Pyjoyment/exception_lite_app.py +506 -0
- pyjoyment-0.1.0/t/Pyjoyment/external_app.py +44 -0
- pyjoyment-0.1.0/t/Pyjoyment/external_lite_app.py +67 -0
- pyjoyment-0.1.0/t/Pyjoyment/group_lite_app.py +549 -0
- pyjoyment-0.1.0/t/Pyjoyment/health_lite_app.py +281 -0
- pyjoyment-0.1.0/t/Pyjoyment/helper_types_lite_app.py +180 -0
- pyjoyment-0.1.0/t/Pyjoyment/hints_lite_app.py +139 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_lite_app.json +16 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_lite_app.py +87 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_lite_app_abs.development.json +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_lite_app_abs.json +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_mode_lite_app.json +4 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_mode_lite_app.py +30 -0
- pyjoyment-0.1.0/t/Pyjoyment/json_config_mode_lite_app.testing.json +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/layouted_lite_app.py +597 -0
- pyjoyment-0.1.0/t/Pyjoyment/lite_app.py +1525 -0
- pyjoyment-0.1.0/t/Pyjoyment/log_lite_app.py +75 -0
- pyjoyment-0.1.0/t/Pyjoyment/longpolling_lite_app.py +392 -0
- pyjoyment-0.1.0/t/Pyjoyment/mount_lite_app.py +65 -0
- pyjoyment-0.1.0/t/Pyjoyment/multipath_lite_app.py +59 -0
- pyjoyment-0.1.0/t/Pyjoyment/production_app.py +224 -0
- pyjoyment-0.1.0/t/Pyjoyment/proxy_app.py +259 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo/bar/baz.123.js +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo/bar/baz.development.js +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo/bar/test.ab1234cd5678ef.min.js +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo/bar/yada.css +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo/bar.321.js +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo.ab1234cd5678ef.css +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/assets/foo.ab1234cd5678ef.js +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/hello.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/hello2.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/public/hello4.txt +0 -0
- pyjoyment-0.1.0/t/Pyjoyment/public2/hello.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/public2/hello3.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/public_dev/another/file +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/public_dev/hello.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/py_lite_app.py +302 -0
- pyjoyment-0.1.0/t/Pyjoyment/py_native_lite_app.py +101 -0
- pyjoyment-0.1.0/t/Pyjoyment/pyjoyment_config_test.whatever.conf +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/rebased_lite_app.py +131 -0
- pyjoyment-0.1.0/t/Pyjoyment/restful_lite_app.py +665 -0
- pyjoyment-0.1.0/t/Pyjoyment/secret.txt +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/session_lite_app.py +66 -0
- pyjoyment-0.1.0/t/Pyjoyment/signatures_lite_app.py +42 -0
- pyjoyment-0.1.0/t/Pyjoyment/single_file_test_app.conf +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/sse_lite_app.py +134 -0
- pyjoyment-0.1.0/t/Pyjoyment/static_lite_app.py +536 -0
- pyjoyment-0.1.0/t/Pyjoyment/static_prefix_lite_app.py +136 -0
- pyjoyment-0.1.0/t/Pyjoyment/tag_helper_lite_app.py +767 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/23.html.epl +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/WithGreenLayout.html.epl +2 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/dies_too.html.ep +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/encoding.koi8-r.ep +4 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/exception.html.epl +7 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/exception.testing.html.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/foo/bar/index.html.epl +2 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/foo/bar/test.html.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/foo/bar.rss.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/foo/index.html.xpl +3 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/foo/yada.html.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/layouts/default.html.epl +8 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/layouts/green.html.epl +8 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/not_found.testing.html.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/syntaxerror.html.epl +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates/withblock.txt.epl +6 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates2/42.html+test.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates2/42.html.ep +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/templates2/foo/yada.html.epl +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/testing_app.py +119 -0
- pyjoyment-0.1.0/t/Pyjoyment/tls_lite_app.py +92 -0
- pyjoyment-0.1.0/t/Pyjoyment/toml_config_lite_app.py +87 -0
- pyjoyment-0.1.0/t/Pyjoyment/toml_config_lite_app.toml +7 -0
- pyjoyment-0.1.0/t/Pyjoyment/toml_config_lite_app_abs.development.toml +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/toml_config_lite_app_abs.toml +1 -0
- pyjoyment-0.1.0/t/Pyjoyment/twinkle_lite_app.conf +4 -0
- pyjoyment-0.1.0/t/Pyjoyment/twinkle_lite_app.py +111 -0
- pyjoyment-0.1.0/t/Pyjoyment/upload_lite_app.py +89 -0
- pyjoyment-0.1.0/t/Pyjoyment/upload_stream_lite_app.py +69 -0
- pyjoyment-0.1.0/t/Pyjoyment/validation_lite_app.py +549 -0
- pyjoyment-0.1.0/t/Pyjoyment/websocket_lite_app.py +496 -0
- pyjoyment-0.1.0/t/Pyjoyment/wsgi_lite_app.py +92 -0
- pyjoyment-0.1.0/t/Pyjoyment/yaml_config_lite_app.py +109 -0
- pyjoyment-0.1.0/t/Pyjoyment/yaml_config_lite_app.yaml +2 -0
- pyjoyment-0.1.0/t/Pyjoyment/yaml_config_lite_app.yml +10 -0
- pyjoyment-0.1.0/t/Pyjoyment/yaml_config_lite_app_abs.development.yml +2 -0
- pyjoyment-0.1.0/t/Pyjoyment/yaml_config_lite_app_abs.yml +2 -0
- pyjoyment-0.1.0/t/README.md +101 -0
- pyjoyment-0.1.0/t/certs/README.md +57 -0
- pyjoyment-0.1.0/t/certs/bad.crt +21 -0
- pyjoyment-0.1.0/t/certs/bad.key +28 -0
- pyjoyment-0.1.0/t/certs/ca.crt +21 -0
- pyjoyment-0.1.0/t/certs/client.crt +21 -0
- pyjoyment-0.1.0/t/certs/client.key +28 -0
- pyjoyment-0.1.0/t/certs/mojo_server.crt +21 -0
- pyjoyment-0.1.0/t/certs/mojo_server.key +28 -0
- pyjoyment-0.1.0/t/certs/server.crt +22 -0
- pyjoyment-0.1.0/t/certs/server.key +28 -0
- pyjoyment-0.1.0/t/cookies/curl.txt +10 -0
- pyjoyment-0.1.0/t/docs/App.py +145 -0
- pyjoyment-0.1.0/t/docs/App_ASGI.py +117 -0
- pyjoyment-0.1.0/t/docs/App_CGI.py +123 -0
- pyjoyment-0.1.0/t/docs/App_FastCGI.py +157 -0
- pyjoyment-0.1.0/t/docs/App_Lambda.py +142 -0
- pyjoyment-0.1.0/t/docs/App_WSGI.py +66 -0
- pyjoyment-0.1.0/t/docs/Asset.py +96 -0
- pyjoyment-0.1.0/t/docs/Asset_File.py +137 -0
- pyjoyment-0.1.0/t/docs/Asset_Memory.py +111 -0
- pyjoyment-0.1.0/t/docs/Base.py +143 -0
- pyjoyment-0.1.0/t/docs/Cache.py +55 -0
- pyjoyment-0.1.0/t/docs/Collection.py +206 -0
- pyjoyment-0.1.0/t/docs/Content.py +309 -0
- pyjoyment-0.1.0/t/docs/Content_MultiPart.py +99 -0
- pyjoyment-0.1.0/t/docs/Content_Single.py +94 -0
- pyjoyment-0.1.0/t/docs/Cookie.py +73 -0
- pyjoyment-0.1.0/t/docs/Cookie_Request.py +33 -0
- pyjoyment-0.1.0/t/docs/Cookie_Response.py +106 -0
- pyjoyment-0.1.0/t/docs/DOM.py +594 -0
- pyjoyment-0.1.0/t/docs/DOM_CSS.py +264 -0
- pyjoyment-0.1.0/t/docs/DOM_HTML.py +52 -0
- pyjoyment-0.1.0/t/docs/Date.py +146 -0
- pyjoyment-0.1.0/t/docs/EventEmitter.py +201 -0
- pyjoyment-0.1.0/t/docs/Exception.py +215 -0
- pyjoyment-0.1.0/t/docs/File.py +376 -0
- pyjoyment-0.1.0/t/docs/GetOpt.py +204 -0
- pyjoyment-0.1.0/t/docs/Headers.py +267 -0
- pyjoyment-0.1.0/t/docs/HelloWorld.py +32 -0
- pyjoyment-0.1.0/t/docs/Home.py +62 -0
- pyjoyment-0.1.0/t/docs/IOLoop.py +409 -0
- pyjoyment-0.1.0/t/docs/IOLoop_ChildProcess.py +217 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Client.py +123 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Datagram.py +287 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Messages.py +248 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Server.py +144 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Stdio.py +97 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Stream.py +249 -0
- pyjoyment-0.1.0/t/docs/IOLoop_Subprocess.py +206 -0
- pyjoyment-0.1.0/t/docs/IOLoop_TLS.py +92 -0
- pyjoyment-0.1.0/t/docs/JSON.py +99 -0
- pyjoyment-0.1.0/t/docs/JSON_Pointer.py +67 -0
- pyjoyment-0.1.0/t/docs/JSON_RPC.py +396 -0
- pyjoyment-0.1.0/t/docs/JSON_Schema.py +558 -0
- pyjoyment-0.1.0/t/docs/Loader.py +111 -0
- pyjoyment-0.1.0/t/docs/Log.py +283 -0
- pyjoyment-0.1.0/t/docs/Message.py +348 -0
- pyjoyment-0.1.0/t/docs/Message_Request.py +300 -0
- pyjoyment-0.1.0/t/docs/Message_Response.py +218 -0
- pyjoyment-0.1.0/t/docs/Parameters.py +206 -0
- pyjoyment-0.1.0/t/docs/Path.py +187 -0
- pyjoyment-0.1.0/t/docs/Promise.py +365 -0
- pyjoyment-0.1.0/t/docs/Prove.py +351 -0
- pyjoyment-0.1.0/t/docs/Pyjo_init.py +284 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command.py +174 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate.py +54 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_app.py +81 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_dockerfile.py +119 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_kubernetes.py +293 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_lambda_zip.py +166 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_lite_app.py +58 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_plugin.py +87 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_generate_pyproject.py +59 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_Author_inflate.py +48 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_asgi.py +53 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_cgi.py +38 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_daemon.py +57 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_eval.py +46 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_fastcgi.py +68 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_get.py +87 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_lambda.py +78 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_prefork.py +61 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_prethread.py +65 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_routes.py +27 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_stdio.py +72 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_version.py +34 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Command_wsgi.py +37 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Commands.py +103 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Controller.py +821 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_HelloWorld.py +40 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Lite.py +275 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin.py +42 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_AllowedHosts.py +109 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_Config.py +144 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_DefaultHelpers.py +705 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_EPLRenderer.py +38 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_EPRenderer.py +69 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_HeaderCondition.py +56 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_Health.py +147 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_JSONConfig.py +109 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_Mount.py +172 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_PyRenderer.py +92 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_TOMLConfig.py +89 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_TagHelpers.py +802 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugin_YAMLConfig.py +95 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Plugins.py +76 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Renderer.py +225 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Routes.py +132 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Routes_Match.py +102 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Routes_Pattern.py +160 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Routes_Route.py +439 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Sessions.py +118 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Static.py +152 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Types.py +65 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Validator.py +140 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_Validator_Validation.py +173 -0
- pyjoyment-0.1.0/t/docs/Pyjoyment_init.py +596 -0
- pyjoyment-0.1.0/t/docs/Reactor.py +154 -0
- pyjoyment-0.1.0/t/docs/Reactor_Asyncio.py +183 -0
- pyjoyment-0.1.0/t/docs/Reactor_Poll.py +153 -0
- pyjoyment-0.1.0/t/docs/SSE.py +24 -0
- pyjoyment-0.1.0/t/docs/Server.py +121 -0
- pyjoyment-0.1.0/t/docs/Server_ASGI.py +96 -0
- pyjoyment-0.1.0/t/docs/Server_CGI.py +84 -0
- pyjoyment-0.1.0/t/docs/Server_Daemon.py +262 -0
- pyjoyment-0.1.0/t/docs/Server_FastCGI.py +87 -0
- pyjoyment-0.1.0/t/docs/Server_Hot.py +269 -0
- pyjoyment-0.1.0/t/docs/Server_Lambda.py +194 -0
- pyjoyment-0.1.0/t/docs/Server_Prefork.py +265 -0
- pyjoyment-0.1.0/t/docs/Server_Prethread.py +157 -0
- pyjoyment-0.1.0/t/docs/Server_Reload.py +243 -0
- pyjoyment-0.1.0/t/docs/Server_Reload_Backend.py +61 -0
- pyjoyment-0.1.0/t/docs/Server_Reload_Backend_Poll.py +54 -0
- pyjoyment-0.1.0/t/docs/Server_Stdio.py +121 -0
- pyjoyment-0.1.0/t/docs/Server_WSGI.py +103 -0
- pyjoyment-0.1.0/t/docs/String_Bytes.py +108 -0
- pyjoyment-0.1.0/t/docs/String_HTML.py +87 -0
- pyjoyment-0.1.0/t/docs/String_Mixin.py +157 -0
- pyjoyment-0.1.0/t/docs/String_Template.py +161 -0
- pyjoyment-0.1.0/t/docs/String_Unicode.py +105 -0
- pyjoyment-0.1.0/t/docs/TOML.py +32 -0
- pyjoyment-0.1.0/t/docs/Template.py +379 -0
- pyjoyment-0.1.0/t/docs/Test.py +673 -0
- pyjoyment-0.1.0/t/docs/Test_Pyjo.py +909 -0
- pyjoyment-0.1.0/t/docs/Test_pytest_plugin.py +154 -0
- pyjoyment-0.1.0/t/docs/Transaction.py +270 -0
- pyjoyment-0.1.0/t/docs/Transaction_HTTP.py +200 -0
- pyjoyment-0.1.0/t/docs/Transaction_WebSocket.py +365 -0
- pyjoyment-0.1.0/t/docs/URL.py +364 -0
- pyjoyment-0.1.0/t/docs/URL_Template.py +110 -0
- pyjoyment-0.1.0/t/docs/Upload.py +89 -0
- pyjoyment-0.1.0/t/docs/UserAgent.py +600 -0
- pyjoyment-0.1.0/t/docs/UserAgent_CookieJar.py +150 -0
- pyjoyment-0.1.0/t/docs/UserAgent_Proxy.py +67 -0
- pyjoyment-0.1.0/t/docs/UserAgent_Server.py +77 -0
- pyjoyment-0.1.0/t/docs/UserAgent_Transactor.py +247 -0
- pyjoyment-0.1.0/t/docs/Util.py +381 -0
- pyjoyment-0.1.0/t/docs/WebSocket.py +101 -0
- pyjoyment-0.1.0/t/docs/YAML.py +87 -0
- pyjoyment-0.1.0/t/docs/guides_cookbook.py +1063 -0
- pyjoyment-0.1.0/t/docs/guides_faq.py +257 -0
- pyjoyment-0.1.0/t/docs/guides_growing.py +169 -0
- pyjoyment-0.1.0/t/docs/guides_index.py +56 -0
- pyjoyment-0.1.0/t/docs/guides_mounting.py +125 -0
- pyjoyment-0.1.0/t/docs/guides_rendering.py +546 -0
- pyjoyment-0.1.0/t/docs/guides_routing.py +713 -0
- pyjoyment-0.1.0/t/docs/guides_testing.py +545 -0
- pyjoyment-0.1.0/t/docs/guides_tutorial.py +321 -0
- pyjoyment-0.1.0/t/docs/skills.py +65 -0
- pyjoyment-0.1.0/t/docs/skills_api.py +57 -0
- pyjoyment-0.1.0/t/docs/skills_app.py +64 -0
- pyjoyment-0.1.0/t/docs/skills_async.py +57 -0
- pyjoyment-0.1.0/t/docs/skills_deploy.py +62 -0
- pyjoyment-0.1.0/t/docs/skills_event_loop.py +61 -0
- pyjoyment-0.1.0/t/docs/skills_lite.py +65 -0
- pyjoyment-0.1.0/t/docs/skills_migration.py +66 -0
- pyjoyment-0.1.0/t/docs/skills_mojolicious.py +43 -0
- pyjoyment-0.1.0/t/docs/skills_mount.py +60 -0
- pyjoyment-0.1.0/t/docs/skills_plugins.py +44 -0
- pyjoyment-0.1.0/t/docs/skills_scraping.py +113 -0
- pyjoyment-0.1.0/t/docs/skills_templates.py +47 -0
- pyjoyment-0.1.0/t/docs/skills_tests.py +67 -0
- pyjoyment-0.1.0/t/docs/usages.py +145 -0
- pyjoyment-0.1.0/t/examples/lambda/app.py +56 -0
- pyjoyment-0.1.0/t/examples/lambda_stream/app.py +71 -0
- pyjoyment-0.1.0/t/examples/lambda_zip/app.py +51 -0
- pyjoyment-0.1.0/t/examples/mount/mount_asgi.py +32 -0
- pyjoyment-0.1.0/t/examples/mount/mount_asgi_inception.py +19 -0
- pyjoyment-0.1.0/t/examples/mount/mount_cgi.py +26 -0
- pyjoyment-0.1.0/t/examples/mount/mount_lambda.py +22 -0
- pyjoyment-0.1.0/t/examples/mount/mount_lambda_inception.py +25 -0
- pyjoyment-0.1.0/t/examples/mount/mount_wsgi.py +32 -0
- pyjoyment-0.1.0/t/examples/mount/mount_wsgi_inception.py +19 -0
- pyjoyment-0.1.0/t/examples/pyjo/base.py +25 -0
- pyjoyment-0.1.0/t/examples/pyjo/eventemitter.py +31 -0
- pyjoyment-0.1.0/t/examples/pyjo/eventemitter_imper.py +32 -0
- pyjoyment-0.1.0/t/examples/pyjo/http_benchmark.py +67 -0
- pyjoyment-0.1.0/t/examples/pyjo/ioloop.py +53 -0
- pyjoyment-0.1.0/t/examples/pyjo/ioloop_imper.py +54 -0
- pyjoyment-0.1.0/t/examples/pyjo/timers.py +20 -0
- pyjoyment-0.1.0/t/examples/pyjo/timers_lambda.py +15 -0
- pyjoyment-0.1.0/t/examples/pyjo/timers_obj.py +22 -0
- pyjoyment-0.1.0/t/examples/pyjo/timers_obj_imper.py +24 -0
- pyjoyment-0.1.0/t/examples/pyjo/url.py +20 -0
- pyjoyment-0.1.0/t/examples/pyjo/url_utf8.py +24 -0
- pyjoyment-0.1.0/t/examples/pyjoyment/hello.py +13 -0
- pyjoyment-0.1.0/t/examples/pyjoyment/json_rpc.py +57 -0
- pyjoyment-0.1.0/t/examples/pyjoyment/json_schema.py +143 -0
- pyjoyment-0.1.0/t/examples/pyjoyment/title.py +25 -0
- pyjoyment-0.1.0/t/examples/servers/bootstrap.py +40 -0
- pyjoyment-0.1.0/t/examples/servers/hello_world_lambda.py +29 -0
- pyjoyment-0.1.0/t/examples/servers/http_server.py +30 -0
- pyjoyment-0.1.0/t/examples/ua/loopback.py +21 -0
- pyjoyment-0.1.0/t/examples/ua/user_agent.py +60 -0
- pyjoyment-0.1.0/t/lib/ASGIClient.py +83 -0
- pyjoyment-0.1.0/t/lib/FakeUV.py +85 -0
- pyjoyment-0.1.0/t/lib/RuntimeAPI.py +98 -0
- pyjoyment-0.1.0/t/lib/ServerProcess.py +99 -0
- pyjoyment-0.1.0/t/lib/ServerStart.py +105 -0
- pyjoyment-0.1.0/t/lib/Skills.py +40 -0
- pyjoyment-0.1.0/t/lib/SocksServer.py +112 -0
- pyjoyment-0.1.0/t/lib/TestConnectProxy.py +70 -0
- pyjoyment-0.1.0/t/lib/TestReactor.py +16 -0
- pyjoyment-0.1.0/t/servers/ASGI.py +191 -0
- pyjoyment-0.1.0/t/servers/CGI.py +153 -0
- pyjoyment-0.1.0/t/servers/HelloWorld.py +46 -0
- pyjoyment-0.1.0/t/servers/JSON_Schema_pydantic.py +148 -0
- pyjoyment-0.1.0/t/servers/Mount.py +635 -0
- pyjoyment-0.1.0/t/servers/WSGI.py +178 -0
- pyjoyment-0.1.0/t/servers/aws_s3.py +134 -0
- pyjoyment-0.1.0/t/stdlib/App.py +21 -0
- pyjoyment-0.1.0/t/stdlib/Asset.py +63 -0
- pyjoyment-0.1.0/t/stdlib/Base.py +93 -0
- pyjoyment-0.1.0/t/stdlib/Cache.py +43 -0
- pyjoyment-0.1.0/t/stdlib/Collection.py +70 -0
- pyjoyment-0.1.0/t/stdlib/Content.py +51 -0
- pyjoyment-0.1.0/t/stdlib/Cookie.py +73 -0
- pyjoyment-0.1.0/t/stdlib/DOM.py +42 -0
- pyjoyment-0.1.0/t/stdlib/Date.py +42 -0
- pyjoyment-0.1.0/t/stdlib/EventEmitter.py +122 -0
- pyjoyment-0.1.0/t/stdlib/Exception.py +62 -0
- pyjoyment-0.1.0/t/stdlib/File.py +115 -0
- pyjoyment-0.1.0/t/stdlib/Headers.py +72 -0
- pyjoyment-0.1.0/t/stdlib/Home.py +51 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop.py +123 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_Client.py +229 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_Datagram.py +113 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_Server.py +160 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_Stream.py +114 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_Subprocess.py +91 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_TLS.py +125 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_gc.py +87 -0
- pyjoyment-0.1.0/t/stdlib/IOLoop_threading.py +181 -0
- pyjoyment-0.1.0/t/stdlib/JSON.py +59 -0
- pyjoyment-0.1.0/t/stdlib/Loader.py +101 -0
- pyjoyment-0.1.0/t/stdlib/Log.py +144 -0
- pyjoyment-0.1.0/t/stdlib/Message.py +380 -0
- pyjoyment-0.1.0/t/stdlib/Parameters.py +38 -0
- pyjoyment-0.1.0/t/stdlib/Path.py +16 -0
- pyjoyment-0.1.0/t/stdlib/Promise.py +256 -0
- pyjoyment-0.1.0/t/stdlib/Reactor_Asyncio.py +369 -0
- pyjoyment-0.1.0/t/stdlib/Reactor_Poll.py +56 -0
- pyjoyment-0.1.0/t/stdlib/SSE.py +25 -0
- pyjoyment-0.1.0/t/stdlib/Server.py +67 -0
- pyjoyment-0.1.0/t/stdlib/Server_ASGI.py +79 -0
- pyjoyment-0.1.0/t/stdlib/Server_CGI.py +85 -0
- pyjoyment-0.1.0/t/stdlib/Server_Daemon.py +252 -0
- pyjoyment-0.1.0/t/stdlib/Server_Hot.py +171 -0
- pyjoyment-0.1.0/t/stdlib/Server_Prefork.py +109 -0
- pyjoyment-0.1.0/t/stdlib/Server_Prethread.py +40 -0
- pyjoyment-0.1.0/t/stdlib/Server_Reload.py +110 -0
- pyjoyment-0.1.0/t/stdlib/Server_WSGI.py +91 -0
- pyjoyment-0.1.0/t/stdlib/String_Mixin.py +52 -0
- pyjoyment-0.1.0/t/stdlib/String_Template.py +42 -0
- pyjoyment-0.1.0/t/stdlib/Template.py +41 -0
- pyjoyment-0.1.0/t/stdlib/Test_Pyjo.py +26 -0
- pyjoyment-0.1.0/t/stdlib/Transaction.py +33 -0
- pyjoyment-0.1.0/t/stdlib/URL.py +44 -0
- pyjoyment-0.1.0/t/stdlib/Upload.py +22 -0
- pyjoyment-0.1.0/t/stdlib/UserAgent.py +233 -0
- pyjoyment-0.1.0/t/stdlib/UserAgent_CookieJar.py +99 -0
- pyjoyment-0.1.0/t/stdlib/UserAgent_Proxy.py +30 -0
- pyjoyment-0.1.0/t/stdlib/UserAgent_Server.py +91 -0
- pyjoyment-0.1.0/t/stdlib/UserAgent_Transactor.py +46 -0
- pyjoyment-0.1.0/t/stdlib/Util.py +165 -0
- pyjoyment-0.1.0/t/stdlib/WebSocket.py +50 -0
- pyjoyment-0.1.0/t/templates/exception.ep +3 -0
- pyjoyment-0.1.0/t/templates/test.ep +2 -0
- pyjoyment-0.1.0/t/templates/utf8_exception.ep +3 -0
- pyjoyment-0.1.0/tt/README.md +66 -0
- pyjoyment-0.1.0/tt/docker-smoke/Caddyfile +10 -0
- pyjoyment-0.1.0/tt/docker-smoke/Dockerfile.caddy +4 -0
- pyjoyment-0.1.0/tt/docker-smoke/Dockerfile.lambda +10 -0
- pyjoyment-0.1.0/tt/docker-smoke/Dockerfile.lambda-stream +16 -0
- pyjoyment-0.1.0/tt/docker-smoke/app.sh +22 -0
- pyjoyment-0.1.0/tt/docker-smoke/events/payload-1.0.json +19 -0
- pyjoyment-0.1.0/tt/docker-smoke/events/payload-2.0.json +11 -0
- pyjoyment-0.1.0/tt/docker-smoke/fastcgi.sh +66 -0
- pyjoyment-0.1.0/tt/docker-smoke/invoke.py +52 -0
- pyjoyment-0.1.0/tt/docker-smoke/kubernetes.sh +193 -0
- pyjoyment-0.1.0/tt/docker-smoke/lambda-image.sh +58 -0
- pyjoyment-0.1.0/tt/docker-smoke/lambda-stream.sh +28 -0
- pyjoyment-0.1.0/tt/docker-smoke/lambda-zip.sh +96 -0
- pyjoyment-0.1.0/tt/docker-smoke/lambda.sh +25 -0
- pyjoyment-0.1.0/tt/docker-smoke/lib.sh +171 -0
- pyjoyment-0.1.0/tt/docker-smoke/lite-pep723.sh +17 -0
- pyjoyment-0.1.0/tt/docker-smoke/lite.sh +14 -0
- pyjoyment-0.1.0/tt/docker-smoke/smoke.sh +38 -0
- pyjoyment-0.1.0/tt/external/lib/MyApp.py +25 -0
- pyjoyment-0.1.0/tt/external/my_app.conf +3 -0
- pyjoyment-0.1.0/tt/external/my_app.testing.conf +3 -0
- pyjoyment-0.1.0/tt/external/myapp.conf +2 -0
- pyjoyment-0.1.0/tt/external/myapp.py +78 -0
- pyjoyment-0.1.0/tt/external/myapp.testing.conf +5 -0
- pyjoyment-0.1.0/tt/external/myapp2.py +48 -0
- pyjoyment-0.1.0/tt/external/public/index.html +1 -0
- pyjoyment-0.1.0/tt/external/script/my_app +16 -0
- pyjoyment-0.1.0/tt/external/templates/index.html.ep +6 -0
- pyjoyment-0.1.0/tt/lib/AroundPlugin.py +15 -0
- pyjoyment-0.1.0/tt/lib/EmbeddedTestApp.py +17 -0
- pyjoyment-0.1.0/tt/lib/MyTestApp/Test1.py +22 -0
- pyjoyment-0.1.0/tt/lib/MyTestApp/Test2.py +8 -0
- pyjoyment-0.1.0/tt/lib/MyTestApp/__init__.py +0 -0
- pyjoyment-0.1.0/tt/lib/PluginWithEmbeddedApp/App.py +12 -0
- pyjoyment-0.1.0/tt/lib/PluginWithEmbeddedApp/__init__.py +11 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentConfigTest.py +10 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Baz.py +9 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Command/__init__.py +0 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Command/_test2_command.py +9 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Command/test_command.py +13 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Controller/Foo/Bar.py +12 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Exceptional.py +14 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Foo.py +107 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Plugin/DeploymentPlugin.py +12 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Plugin/Test/SomePlugin2.py +10 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Plugin/UPPERCASETestPlugin.py +10 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/Plugin/__init__.py +0 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/SideEffects/Test.py +9 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest/__init__.py +176 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest2/Foo.py +10 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest3/Bar.py +9 -0
- pyjoyment-0.1.0/tt/lib/PyjoymentTest3/Baz.py +9 -0
- pyjoyment-0.1.0/tt/lib/SingleFileTestApp.py +85 -0
- pyjoyment-0.1.0/tt/lib/TestApp.py +12 -0
- pyjoyment-0.1.0/tt/pytest/myapp.py +9 -0
- pyjoyment-0.1.0/tt/pytest/pyproject.toml +2 -0
- pyjoyment-0.1.0/tt/pytest/t/died.py +6 -0
- pyjoyment-0.1.0/tt/pytest/t/fail.py +9 -0
- pyjoyment-0.1.0/tt/pytest/t/pass.py +7 -0
- pyjoyment-0.1.0/tt/pytest/t/requires.py +10 -0
- pyjoyment-0.1.0/tt/pytest/t/skip.py +4 -0
- pyjoyment-0.1.0/tt/pytest/t/test_named.py +6 -0
- pyjoyment-0.1.0/tt/pytest/tests/conftest.py +8 -0
- pyjoyment-0.1.0/tt/pytest/tests/test_app.py +6 -0
- pyjoyment-0.1.0/tt/pytest/tests/test_functions.py +32 -0
- pyjoyment-0.1.0/tt/pytest/xt/bail.py +6 -0
- pyjoyment-0.1.0/tt/pytest/xt/sleep.py +10 -0
- pyjoyment-0.1.0/tt/pytest/xt/test_bail.py +9 -0
- pyjoyment-0.1.0/tt/templates/files/dies.html.py +2 -0
- pyjoyment-0.1.0/tt/templates/files/hello.html.py +7 -0
- pyjoyment-0.1.0/tt/templates/files/item.html.py +5 -0
- pyjoyment-0.1.0/tt/templates/files/items.html.py +5 -0
- pyjoyment-0.1.0/tt/templates/files/no_render.html.py +2 -0
- pyjoyment-0.1.0/tt/templates/files/text.txt.py +5 -0
- pyjoyment-0.1.0/tt/templates/layouts/files.html.py +5 -0
- pyjoyment-0.1.0/tt/templates_native/native.html.py +2 -0
- Pyjoyment-0.0.1/MANIFEST.in +0 -1
- Pyjoyment-0.0.1/PKG-INFO +0 -216
- Pyjoyment-0.0.1/Pyjo/Asset/File.py +0 -289
- Pyjoyment-0.0.1/Pyjo/Asset/Memory.py +0 -191
- Pyjoyment-0.0.1/Pyjo/Asset/__init__.py +0 -198
- Pyjoyment-0.0.1/Pyjo/Base.py +0 -87
- Pyjoyment-0.0.1/Pyjo/Collection.py +0 -375
- Pyjoyment-0.0.1/Pyjo/Content/MultiPart.py +0 -321
- Pyjoyment-0.0.1/Pyjo/Content/Single.py +0 -167
- Pyjoyment-0.0.1/Pyjo/Content/__init__.py +0 -730
- Pyjoyment-0.0.1/Pyjo/Cookie/Request.py +0 -75
- Pyjoyment-0.0.1/Pyjo/Cookie/Response.py +0 -185
- Pyjoyment-0.0.1/Pyjo/Cookie/__init__.py +0 -96
- Pyjoyment-0.0.1/Pyjo/DOM/CSS.py +0 -718
- Pyjoyment-0.0.1/Pyjo/DOM/HTML.py +0 -452
- Pyjoyment-0.0.1/Pyjo/DOM/__init__.py +0 -1043
- Pyjoyment-0.0.1/Pyjo/Date.py +0 -230
- Pyjoyment-0.0.1/Pyjo/EventEmitter.py +0 -242
- Pyjoyment-0.0.1/Pyjo/Headers.py +0 -1160
- Pyjoyment-0.0.1/Pyjo/HelloWorld.py +0 -54
- Pyjoyment-0.0.1/Pyjo/IOLoop/Client.py +0 -368
- Pyjoyment-0.0.1/Pyjo/IOLoop/Delay.py +0 -356
- Pyjoyment-0.0.1/Pyjo/IOLoop/Server.py +0 -402
- Pyjoyment-0.0.1/Pyjo/IOLoop/Stream.py +0 -398
- Pyjoyment-0.0.1/Pyjo/IOLoop/__init__.py +0 -787
- Pyjoyment-0.0.1/Pyjo/IOLoop/certs/server.crt +0 -14
- Pyjoyment-0.0.1/Pyjo/IOLoop/certs/server.key +0 -15
- Pyjoyment-0.0.1/Pyjo/JSON/Pointer.py +0 -128
- Pyjoyment-0.0.1/Pyjo/JSON/__init__.py +0 -134
- Pyjoyment-0.0.1/Pyjo/Loader.py +0 -144
- Pyjoyment-0.0.1/Pyjo/Log.py +0 -298
- Pyjoyment-0.0.1/Pyjo/Message/Request.py +0 -563
- Pyjoyment-0.0.1/Pyjo/Message/Response.py +0 -315
- Pyjoyment-0.0.1/Pyjo/Message/__init__.py +0 -769
- Pyjoyment-0.0.1/Pyjo/Parameters.py +0 -420
- Pyjoyment-0.0.1/Pyjo/Path.py +0 -428
- Pyjoyment-0.0.1/Pyjo/Reactor/Base.py +0 -278
- Pyjoyment-0.0.1/Pyjo/Reactor/Poll.py +0 -241
- Pyjoyment-0.0.1/Pyjo/Reactor/Select.py +0 -361
- Pyjoyment-0.0.1/Pyjo/Reactor/__init__.py +0 -13
- Pyjoyment-0.0.1/Pyjo/Regexp.py +0 -85
- Pyjoyment-0.0.1/Pyjo/Server/Base.py +0 -157
- Pyjoyment-0.0.1/Pyjo/Server/CGI.py +0 -143
- Pyjoyment-0.0.1/Pyjo/Server/Daemon.py +0 -545
- Pyjoyment-0.0.1/Pyjo/Server/WSGI.py +0 -133
- Pyjoyment-0.0.1/Pyjo/Server/__init__.py +0 -13
- Pyjoyment-0.0.1/Pyjo/String/Bytes.py +0 -116
- Pyjoyment-0.0.1/Pyjo/String/Mixin.py +0 -345
- Pyjoyment-0.0.1/Pyjo/String/Unicode.py +0 -178
- Pyjoyment-0.0.1/Pyjo/Test.py +0 -850
- Pyjoyment-0.0.1/Pyjo/Transaction/HTTP.py +0 -360
- Pyjoyment-0.0.1/Pyjo/Transaction/WebSocket.py +0 -442
- Pyjoyment-0.0.1/Pyjo/Transaction/__init__.py +0 -363
- Pyjoyment-0.0.1/Pyjo/URL.py +0 -622
- Pyjoyment-0.0.1/Pyjo/Upload.py +0 -102
- Pyjoyment-0.0.1/Pyjo/UserAgent/CookieJar.py +0 -255
- Pyjoyment-0.0.1/Pyjo/UserAgent/Proxy.py +0 -113
- Pyjoyment-0.0.1/Pyjo/UserAgent/Transactor.py +0 -295
- Pyjoyment-0.0.1/Pyjo/UserAgent/__init__.py +0 -476
- Pyjoyment-0.0.1/Pyjo/Util.py +0 -3020
- Pyjoyment-0.0.1/Pyjo/__init__.py +0 -13
- Pyjoyment-0.0.1/Pyjoyment/Base.py +0 -24
- Pyjoyment-0.0.1/Pyjoyment/Lite.py +0 -46
- Pyjoyment-0.0.1/Pyjoyment/__init__.py +0 -13
- Pyjoyment-0.0.1/Pyjoyment.egg-info/PKG-INFO +0 -216
- Pyjoyment-0.0.1/Pyjoyment.egg-info/SOURCES.txt +0 -71
- Pyjoyment-0.0.1/Pyjoyment.egg-info/dependency_links.txt +0 -1
- Pyjoyment-0.0.1/Pyjoyment.egg-info/top_level.txt +0 -2
- Pyjoyment-0.0.1/Pyjoyment.egg-info/zip-safe +0 -1
- Pyjoyment-0.0.1/setup.cfg +0 -13
- Pyjoyment-0.0.1/setup.py +0 -40
- {Pyjoyment-0.0.1 → pyjoyment-0.1.0}/Pyjo/String/__init__.py +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# The parts of https://www.toptal.com/developers/gitignore/api/python,node,macos,visualstudiocode
|
|
2
|
+
# that apply here; a path is anchored where it could match a directory of the
|
|
3
|
+
# project, as "lib/" of the template would match t/lib. hatchling builds the
|
|
4
|
+
# packages without the files that this file ignores.
|
|
5
|
+
|
|
6
|
+
# Python
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
*$py.class
|
|
10
|
+
*.so
|
|
11
|
+
*.egg-info/
|
|
12
|
+
.eggs/
|
|
13
|
+
/build/
|
|
14
|
+
/dist/
|
|
15
|
+
|
|
16
|
+
# The SBOM of a release, which the workflow Release creates for the sdist
|
|
17
|
+
/pyjoyment-*.spdx.json
|
|
18
|
+
|
|
19
|
+
# Virtual environments of uv, of the tests of the servers and of the benchmarks
|
|
20
|
+
.venv
|
|
21
|
+
.venv-*
|
|
22
|
+
benchmarks/venv/
|
|
23
|
+
|
|
24
|
+
# Caches of the tools
|
|
25
|
+
.ruff_cache/
|
|
26
|
+
|
|
27
|
+
# The working directories of OpenTofu, with the archives of the functions, the locks
|
|
28
|
+
# of the providers, which are not locked, the states and the variables of each one
|
|
29
|
+
.terraform/
|
|
30
|
+
.terraform.lock.hcl
|
|
31
|
+
*.tfstate
|
|
32
|
+
*.tfstate.*
|
|
33
|
+
*.tfvars
|
|
34
|
+
|
|
35
|
+
# The ZIP files of the functions that "generate lambda-zip" writes for OpenTofu
|
|
36
|
+
examples/*/function/dist/
|
|
37
|
+
|
|
38
|
+
# Logs, as the one of TF_LOG_PATH of OpenTofu
|
|
39
|
+
*.log
|
|
40
|
+
|
|
41
|
+
# The packages of npm, which npm run bundle copies from
|
|
42
|
+
node_modules/
|
|
43
|
+
npm-debug.log*
|
|
44
|
+
|
|
45
|
+
# macOS
|
|
46
|
+
.DS_Store
|
|
47
|
+
._*
|
|
48
|
+
|
|
49
|
+
# Editors
|
|
50
|
+
.idea/
|
|
51
|
+
.vscode/
|
|
52
|
+
|
|
53
|
+
# Secrets, as in the rules of .claude/settings.json
|
|
54
|
+
.env
|
|
55
|
+
.env.*
|
|
56
|
+
.envrc
|
|
57
|
+
.pypirc
|
|
58
|
+
*.jks
|
|
59
|
+
*.keystore
|
|
60
|
+
*.p12
|
|
61
|
+
*.pfx
|
|
62
|
+
*.pem
|
|
63
|
+
*.key
|
|
64
|
+
# The key of the default certificate for TLS servers, like in Mojo
|
|
65
|
+
!/Pyjo/IOLoop/certs/server.key
|
|
66
|
+
# Certificates of the tests, like t/mojo/certs in Mojo
|
|
67
|
+
!/t/certs/*.key
|
pyjoyment-0.1.0/.proverc
ADDED
pyjoyment-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
The Artistic License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2000-2006, The Perl Foundation.
|
|
4
|
+
|
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
6
|
+
of this license document, but changing it is not allowed.
|
|
7
|
+
|
|
8
|
+
Preamble
|
|
9
|
+
|
|
10
|
+
This license establishes the terms under which a given free software
|
|
11
|
+
Package may be copied, modified, distributed, and/or redistributed.
|
|
12
|
+
The intent is that the Copyright Holder maintains some artistic
|
|
13
|
+
control over the development of that Package while still keeping the
|
|
14
|
+
Package available as open source and free software.
|
|
15
|
+
|
|
16
|
+
You are always permitted to make arrangements wholly outside of this
|
|
17
|
+
license directly with the Copyright Holder of a given Package. If the
|
|
18
|
+
terms of this license do not permit the full use that you propose to
|
|
19
|
+
make of the Package, you should contact the Copyright Holder and seek
|
|
20
|
+
a different licensing arrangement.
|
|
21
|
+
|
|
22
|
+
Definitions
|
|
23
|
+
|
|
24
|
+
"Copyright Holder" means the individual(s) or organization(s)
|
|
25
|
+
named in the copyright notice for the entire Package.
|
|
26
|
+
|
|
27
|
+
"Contributor" means any party that has contributed code or other
|
|
28
|
+
material to the Package, in accordance with the Copyright Holder's
|
|
29
|
+
procedures.
|
|
30
|
+
|
|
31
|
+
"You" and "your" means any person who would like to copy,
|
|
32
|
+
distribute, or modify the Package.
|
|
33
|
+
|
|
34
|
+
"Package" means the collection of files distributed by the
|
|
35
|
+
Copyright Holder, and derivatives of that collection and/or of
|
|
36
|
+
those files. A given Package may consist of either the Standard
|
|
37
|
+
Version, or a Modified Version.
|
|
38
|
+
|
|
39
|
+
"Distribute" means providing a copy of the Package or making it
|
|
40
|
+
accessible to anyone else, or in the case of a company or
|
|
41
|
+
organization, to others outside of your company or organization.
|
|
42
|
+
|
|
43
|
+
"Distributor Fee" means any fee that you charge for Distributing
|
|
44
|
+
this Package or providing support for this Package to another
|
|
45
|
+
party. It does not mean licensing fees.
|
|
46
|
+
|
|
47
|
+
"Standard Version" refers to the Package if it has not been
|
|
48
|
+
modified, or has been modified only in ways explicitly requested
|
|
49
|
+
by the Copyright Holder.
|
|
50
|
+
|
|
51
|
+
"Modified Version" means the Package, if it has been changed, and
|
|
52
|
+
such changes were not explicitly requested by the Copyright
|
|
53
|
+
Holder.
|
|
54
|
+
|
|
55
|
+
"Original License" means this Artistic License as Distributed with
|
|
56
|
+
the Standard Version of the Package, in its current version or as
|
|
57
|
+
it may be modified by The Perl Foundation in the future.
|
|
58
|
+
|
|
59
|
+
"Source" form means the source code, documentation source, and
|
|
60
|
+
configuration files for the Package.
|
|
61
|
+
|
|
62
|
+
"Compiled" form means the compiled bytecode, object code, binary,
|
|
63
|
+
or any other form resulting from mechanical transformation or
|
|
64
|
+
translation of the Source form.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Permission for Use and Modification Without Distribution
|
|
68
|
+
|
|
69
|
+
(1) You are permitted to use the Standard Version and create and use
|
|
70
|
+
Modified Versions for any purpose without restriction, provided that
|
|
71
|
+
you do not Distribute the Modified Version.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
Permissions for Redistribution of the Standard Version
|
|
75
|
+
|
|
76
|
+
(2) You may Distribute verbatim copies of the Source form of the
|
|
77
|
+
Standard Version of this Package in any medium without restriction,
|
|
78
|
+
either gratis or for a Distributor Fee, provided that you duplicate
|
|
79
|
+
all of the original copyright notices and associated disclaimers. At
|
|
80
|
+
your discretion, such verbatim copies may or may not include a
|
|
81
|
+
Compiled form of the Package.
|
|
82
|
+
|
|
83
|
+
(3) You may apply any bug fixes, portability changes, and other
|
|
84
|
+
modifications made available from the Copyright Holder. The resulting
|
|
85
|
+
Package will still be considered the Standard Version, and as such
|
|
86
|
+
will be subject to the Original License.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
Distribution of Modified Versions of the Package as Source
|
|
90
|
+
|
|
91
|
+
(4) You may Distribute your Modified Version as Source (either gratis
|
|
92
|
+
or for a Distributor Fee, and with or without a Compiled form of the
|
|
93
|
+
Modified Version) provided that you clearly document how it differs
|
|
94
|
+
from the Standard Version, including, but not limited to, documenting
|
|
95
|
+
any non-standard features, executables, or modules, and provided that
|
|
96
|
+
you do at least ONE of the following:
|
|
97
|
+
|
|
98
|
+
(a) make the Modified Version available to the Copyright Holder
|
|
99
|
+
of the Standard Version, under the Original License, so that the
|
|
100
|
+
Copyright Holder may include your modifications in the Standard
|
|
101
|
+
Version.
|
|
102
|
+
|
|
103
|
+
(b) ensure that installation of your Modified Version does not
|
|
104
|
+
prevent the user installing or running the Standard Version. In
|
|
105
|
+
addition, the Modified Version must bear a name that is different
|
|
106
|
+
from the name of the Standard Version.
|
|
107
|
+
|
|
108
|
+
(c) allow anyone who receives a copy of the Modified Version to
|
|
109
|
+
make the Source form of the Modified Version available to others
|
|
110
|
+
under
|
|
111
|
+
|
|
112
|
+
(i) the Original License or
|
|
113
|
+
|
|
114
|
+
(ii) a license that permits the licensee to freely copy,
|
|
115
|
+
modify and redistribute the Modified Version using the same
|
|
116
|
+
licensing terms that apply to the copy that the licensee
|
|
117
|
+
received, and requires that the Source form of the Modified
|
|
118
|
+
Version, and of any works derived from it, be made freely
|
|
119
|
+
available in that license fees are prohibited but Distributor
|
|
120
|
+
Fees are allowed.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
Distribution of Compiled Forms of the Standard Version
|
|
124
|
+
or Modified Versions without the Source
|
|
125
|
+
|
|
126
|
+
(5) You may Distribute Compiled forms of the Standard Version without
|
|
127
|
+
the Source, provided that you include complete instructions on how to
|
|
128
|
+
get the Source of the Standard Version. Such instructions must be
|
|
129
|
+
valid at the time of your distribution. If these instructions, at any
|
|
130
|
+
time while you are carrying out such distribution, become invalid, you
|
|
131
|
+
must provide new instructions on demand or cease further distribution.
|
|
132
|
+
If you provide valid instructions or cease distribution within thirty
|
|
133
|
+
days after you become aware that the instructions are invalid, then
|
|
134
|
+
you do not forfeit any of your rights under this license.
|
|
135
|
+
|
|
136
|
+
(6) You may Distribute a Modified Version in Compiled form without
|
|
137
|
+
the Source, provided that you comply with Section 4 with respect to
|
|
138
|
+
the Source of the Modified Version.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
Aggregating or Linking the Package
|
|
142
|
+
|
|
143
|
+
(7) You may aggregate the Package (either the Standard Version or
|
|
144
|
+
Modified Version) with other packages and Distribute the resulting
|
|
145
|
+
aggregation provided that you do not charge a licensing fee for the
|
|
146
|
+
Package. Distributor Fees are permitted, and licensing fees for other
|
|
147
|
+
components in the aggregation are permitted. The terms of this license
|
|
148
|
+
apply to the use and Distribution of the Standard or Modified Versions
|
|
149
|
+
as included in the aggregation.
|
|
150
|
+
|
|
151
|
+
(8) You are permitted to link Modified and Standard Versions with
|
|
152
|
+
other works, to embed the Package in a larger work of your own, or to
|
|
153
|
+
build stand-alone binary or bytecode versions of applications that
|
|
154
|
+
include the Package, and Distribute the result without restriction,
|
|
155
|
+
provided the result does not expose a direct interface to the Package.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
Items That are Not Considered Part of a Modified Version
|
|
159
|
+
|
|
160
|
+
(9) Works (including, but not limited to, modules and scripts) that
|
|
161
|
+
merely extend or make use of the Package, do not, by themselves, cause
|
|
162
|
+
the Package to be a Modified Version. In addition, such works are not
|
|
163
|
+
considered parts of the Package itself, and are not subject to the
|
|
164
|
+
terms of this license.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
General Provisions
|
|
168
|
+
|
|
169
|
+
(10) Any use, modification, and distribution of the Standard or
|
|
170
|
+
Modified Versions is governed by this Artistic License. By using,
|
|
171
|
+
modifying or distributing the Package, you accept this license. Do not
|
|
172
|
+
use, modify, or distribute the Package, if you do not accept this
|
|
173
|
+
license.
|
|
174
|
+
|
|
175
|
+
(11) If your Modified Version has been derived from a Modified
|
|
176
|
+
Version made by someone other than you, you are nevertheless required
|
|
177
|
+
to ensure that your Modified Version complies with the requirements of
|
|
178
|
+
this license.
|
|
179
|
+
|
|
180
|
+
(12) This license does not grant you the right to use any trademark,
|
|
181
|
+
service mark, tradename, or logo of the Copyright Holder.
|
|
182
|
+
|
|
183
|
+
(13) This license includes the non-exclusive, worldwide,
|
|
184
|
+
free-of-charge patent license to make, have made, use, offer to sell,
|
|
185
|
+
sell, import and otherwise transfer the Package with respect to any
|
|
186
|
+
patent claims licensable by the Copyright Holder that are necessarily
|
|
187
|
+
infringed by the Package. If you institute patent litigation
|
|
188
|
+
(including a cross-claim or counterclaim) against any party alleging
|
|
189
|
+
that the Package constitutes direct or contributory patent
|
|
190
|
+
infringement, then this Artistic License to you shall terminate on the
|
|
191
|
+
date that such litigation is filed.
|
|
192
|
+
|
|
193
|
+
(14) Disclaimer of Warranty:
|
|
194
|
+
THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
|
|
195
|
+
IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
|
|
196
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
|
|
197
|
+
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
|
|
198
|
+
LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
|
|
199
|
+
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
200
|
+
DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
|
|
201
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
pyjoyment-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: Pyjoyment
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A real-time web framework for the Python programming language, ported from Mojolicious.
|
|
5
|
+
Project-URL: Homepage, https://github.com/dex4er/Pyjoyment
|
|
6
|
+
Project-URL: Documentation, https://pyjoyment.readthedocs.io/
|
|
7
|
+
Project-URL: Source, https://github.com/dex4er/Pyjoyment
|
|
8
|
+
Project-URL: Issues, https://github.com/dex4er/Pyjoyment/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/dex4er/Pyjoyment/releases
|
|
10
|
+
Author-email: Piotr Roszatycki <piotr.roszatycki@gmail.com>
|
|
11
|
+
License-Expression: Artistic-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: asgi,async,asyncio,aws-lambda,framework,html,http,json-rpc,json-schema,mojo,mojolicious,pyjo,pyjoyment,tap,test,web,websocket,wsgi
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Framework :: AsyncIO
|
|
17
|
+
Classifier: Framework :: Pytest
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
29
|
+
Classifier: Topic :: File Formats :: JSON :: JSON Schema
|
|
30
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
31
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
32
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
33
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
34
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
|
|
35
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
36
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
37
|
+
Classifier: Topic :: Software Development :: Testing
|
|
38
|
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
39
|
+
Classifier: Typing :: Typed
|
|
40
|
+
Requires-Python: >=3.12
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
|
|
43
|
+
[](https://github.com/dex4er/Pyjoyment)
|
|
44
|
+
[](https://github.com/dex4er/Pyjoyment)
|
|
45
|
+
[](https://pyjoyment.readthedocs.io/en/latest/)
|
|
46
|
+
[](https://deepwiki.com/dex4er/Pyjoyment)
|
|
47
|
+
[](https://github.com/dex4er/Pyjoyment/blob/main/LICENSE)
|
|
48
|
+
[](https://pypi.org/project/Pyjoyment/)
|
|
49
|
+
[](https://github.com/dex4er/Pyjoyment/actions/workflows/tests.yaml)
|
|
50
|
+
[](https://github.com/dex4er/Pyjoyment/actions/workflows/trunk-check.yaml)
|
|
51
|
+
|
|
52
|
+
# Pyjoyment
|
|
53
|
+
|
|
54
|
+
<p align="center">
|
|
55
|
+
<picture>
|
|
56
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/dex4er/Pyjoyment/main/Pyjoyment/resources/public/pyjo/logo-white-4x.png">
|
|
57
|
+
<img src="https://raw.githubusercontent.com/dex4er/Pyjoyment/main/Pyjoyment/resources/public/pyjo/logo-black-4x.png" alt="Pyjoyment" width="322">
|
|
58
|
+
</picture>
|
|
59
|
+
</p>
|
|
60
|
+
|
|
61
|
+
A real-time web framework for the Python programming language, ported from
|
|
62
|
+
[Mojolicious](https://mojolicious.org), the real-time web framework for Perl.
|
|
63
|
+
Pyjoyment keeps the API of Mojolicious with Python names, so its documentation
|
|
64
|
+
and experience carry over.
|
|
65
|
+
|
|
66
|
+
The `Pyjo` package is the web development toolkit, ported from the `Mojo`
|
|
67
|
+
modules, which can be used for all kinds of applications independently of the
|
|
68
|
+
web framework:
|
|
69
|
+
|
|
70
|
+
- HTTP and WebSocket client and server.
|
|
71
|
+
- Non-blocking I/O web server, which also speaks FastCGI, to a web server in
|
|
72
|
+
front of it and to an application behind it, as PHP on php-fpm, and runs as
|
|
73
|
+
an ASGI, WSGI or CGI application, or as an event function of AWS Lambda.
|
|
74
|
+
- HTML/XML parser with CSS selector support.
|
|
75
|
+
- JSON with JSON Pointers and JSON Schema, from type hints and validated,
|
|
76
|
+
YAML and TOML, all loaded and dumped.
|
|
77
|
+
- JSON-RPC 2.0, its server and its client, over HTTP or any other transport.
|
|
78
|
+
- Command line options with `Pyjo.GetOpt`, in the way of Getopt::Long,
|
|
79
|
+
argparse and Cobra, also from environment variables.
|
|
80
|
+
- Python-ish templates and template strings, with automatic escaping.
|
|
81
|
+
- Containers for URLs, paths, query strings, headers, cookies and HTTP
|
|
82
|
+
messages.
|
|
83
|
+
- Event emitter, event loop with TCP, UDP and UNIX domain sockets and child
|
|
84
|
+
processes, logger and utility functions.
|
|
85
|
+
- Test scripts which print the [Test Anything Protocol](https://testanything.org/)
|
|
86
|
+
(TAP), with `Pyjo.Test`, inspired by Perl's `Test::More`, and a test
|
|
87
|
+
harness, `Pyjo.Prove`, inspired by Perl's `prove`.
|
|
88
|
+
|
|
89
|
+
The `Pyjoyment` package is the web framework itself: routes, controllers,
|
|
90
|
+
renderer, plugins, `Pyjoyment.Lite` and the command line interface. It
|
|
91
|
+
renders JSON, YAML and TOML, and reads its configuration from Python, JSON,
|
|
92
|
+
YAML and TOML files.
|
|
93
|
+
|
|
94
|
+
It mounts the applications of other frameworks under a path or a host, next to
|
|
95
|
+
its own routes: WSGI applications, as those of Flask, and ASGI applications, as
|
|
96
|
+
those of Starlette and the servers of the MCP SDK, in the same process and on
|
|
97
|
+
the same server, whose responses stream at the pace of the client, with their
|
|
98
|
+
WebSockets, FastCGI applications, as PHP on php-fpm, which it connects to, CGI
|
|
99
|
+
programs, which it runs, as a web server does, with one script for every path
|
|
100
|
+
or the scripts of a directory, and event functions of AWS Lambda, which it runs
|
|
101
|
+
in a process of their own, as Lambda does.
|
|
102
|
+
|
|
103
|
+
Both are cloud native: `generate dockerfile` writes the image of an
|
|
104
|
+
application, whose server stops gracefully on the `TERM` of its container
|
|
105
|
+
and listens on the port of `PORT`, as Knative, Cloud Run, Render, Koyeb and
|
|
106
|
+
Heroku set it, and an application runs as an event function of AWS Lambda
|
|
107
|
+
too.
|
|
108
|
+
|
|
109
|
+
Pyjoyment requires Python 3.12 or newer and runs on PyPy on a best-effort
|
|
110
|
+
basis. It needs nothing besides the Python standard library.
|
|
111
|
+
|
|
112
|
+
## Status
|
|
113
|
+
|
|
114
|
+
Pyjoyment was written against Mojolicious 6 and is being revived as a port of
|
|
115
|
+
Mojolicious 9 to Python 3.12 and newer, with `asyncio` as its event loop.
|
|
116
|
+
The toolkit, the `Pyjo` package, is ported: URLs, DOM and CSS selectors,
|
|
117
|
+
JSON, templates, HTTP messages and cookies, the event loop with promises, the
|
|
118
|
+
user agent, and the servers, on their own, preforking, prethreading, with hot
|
|
119
|
+
deployment or reloading, and through FastCGI, ASGI, WSGI, CGI and AWS Lambda. So is the web framework, the
|
|
120
|
+
`Pyjoyment` package: routes, controllers, the renderer with templates and
|
|
121
|
+
template strings, plugins, `Pyjoyment.Lite` and the commands. The tests of
|
|
122
|
+
Mojolicious are ported with them, and a ported module names the Mojolicious
|
|
123
|
+
version it was ported from in its documentation.
|
|
124
|
+
|
|
125
|
+
Pyjoyment runs on Linux, macOS and Windows. On Windows, Python has no
|
|
126
|
+
`os.fork` and no UNIX domain sockets, so `Pyjo.Server.Prefork`,
|
|
127
|
+
`Pyjo.Server.Hot`, `Pyjo.Server.Reload` and `Pyjo.IOLoop.Subprocess` do not
|
|
128
|
+
run there, and `Pyjo.Server.Prethread` runs the workers in threads instead.
|
|
129
|
+
The event loop watches up to 512 sockets there, with the `select` of Windows,
|
|
130
|
+
and a server stops with Ctrl-C, gracefully, or with Ctrl-Break, immediately.
|
|
131
|
+
|
|
132
|
+
The progress is tracked in [GitHub Issues](https://github.com/dex4er/Pyjoyment/issues).
|
|
133
|
+
|
|
134
|
+
## Installation
|
|
135
|
+
|
|
136
|
+
Pyjoyment is installed from its Git repository, as the release on PyPI
|
|
137
|
+
predates the revival:
|
|
138
|
+
|
|
139
|
+
```sh
|
|
140
|
+
pip install git+https://github.com/dex4er/Pyjoyment
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
or, in a project managed with [uv](https://docs.astral.sh/uv/):
|
|
144
|
+
|
|
145
|
+
```sh
|
|
146
|
+
uv add git+https://github.com/dex4er/Pyjoyment
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
The skills for coding agents that write applications with Pyjoyment are a
|
|
150
|
+
plugin of [Claude Code](https://code.claude.com/docs/en/plugins), whose
|
|
151
|
+
`SKILL.md` files other agents read too:
|
|
152
|
+
|
|
153
|
+
```text
|
|
154
|
+
/plugin install pyjoyment --marketplace dex4er/Pyjoyment
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
or from the shell, as the extensions of the editors have no `/plugin`:
|
|
158
|
+
|
|
159
|
+
```sh
|
|
160
|
+
claude plugin install pyjoyment --marketplace dex4er/Pyjoyment
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Quick start
|
|
164
|
+
|
|
165
|
+
These three lines are a whole web application.
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
from Pyjoyment.Lite import *
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
get('/', {'text': 'I ♥ Pyjoyment!'})
|
|
172
|
+
|
|
173
|
+
app.start()
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
To run the example with the built-in development web server, just put the
|
|
177
|
+
code into a file and start it with `pyjo-reload`.
|
|
178
|
+
|
|
179
|
+
```console
|
|
180
|
+
$ pyjo-reload hello.py
|
|
181
|
+
Web application available at http://127.0.0.1:3000
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Test it with any HTTP client you prefer.
|
|
185
|
+
|
|
186
|
+
```console
|
|
187
|
+
$ curl http://127.0.0.1:3000/
|
|
188
|
+
I ♥ Pyjoyment!
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Duct tape for the HTML5 web
|
|
192
|
+
|
|
193
|
+
Use all the latest Python and HTML features in beautiful single file
|
|
194
|
+
prototypes like this one, and grow them easily into well-structured
|
|
195
|
+
Model-View-Controller web applications with `pyjo generate app`.
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
"""
|
|
199
|
+
__DATA__
|
|
200
|
+
|
|
201
|
+
@@ index.html.ep
|
|
202
|
+
% url = url_for('title')
|
|
203
|
+
<script>
|
|
204
|
+
const ws = new WebSocket('<%= url.to_abs() %>');
|
|
205
|
+
ws.onmessage = function (event) { document.body.innerHTML += event.data };
|
|
206
|
+
ws.onopen = function (event) { ws.send('https://mojolicious.org') };
|
|
207
|
+
</script>
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
from Pyjoyment.Lite import *
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
# Render template "index.html.ep" from the DATA section
|
|
214
|
+
@get('/')
|
|
215
|
+
def index(c):
|
|
216
|
+
c.render(template='index')
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
# WebSocket service used by the template to extract the title from a website
|
|
220
|
+
@websocket('/title')
|
|
221
|
+
def title(c):
|
|
222
|
+
@c.on('message')
|
|
223
|
+
def message(c, msg):
|
|
224
|
+
c.ua().get_p(msg).then(lambda tx: c.send(tx.result.dom().at('title').text))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
app.start()
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
The templates of a script of `Pyjoyment.Lite` are in its docstring, after a
|
|
231
|
+
line `__DATA__`, and the website is requested without blocking, as the
|
|
232
|
+
WebSocket service runs in the event loop.
|
|
233
|
+
|
|
234
|
+
## Servers
|
|
235
|
+
|
|
236
|
+
`Pyjo.HelloWorld` is the application that a server runs when it is given
|
|
237
|
+
none, and it answers every request with `Your Pyjo is working!`. It runs
|
|
238
|
+
natively on the web server of Pyjoyment:
|
|
239
|
+
|
|
240
|
+
```python
|
|
241
|
+
import Pyjo.HelloWorld
|
|
242
|
+
import Pyjo.Server.Daemon
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
Pyjo.Server.Daemon.new(app=Pyjo.HelloWorld.new(), listen=['http://*:3000']).run()
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
on [uvicorn](https://www.uvicorn.org/), an ASGI server
|
|
249
|
+
(`pip install uvicorn`):
|
|
250
|
+
|
|
251
|
+
```python
|
|
252
|
+
import Pyjo.HelloWorld
|
|
253
|
+
import Pyjo.Server.ASGI
|
|
254
|
+
|
|
255
|
+
import uvicorn
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
app = Pyjo.Server.ASGI.new(app=Pyjo.HelloWorld.new()).to_asgi_app()
|
|
259
|
+
|
|
260
|
+
uvicorn.run(app, port=3000)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
or on [Werkzeug](https://werkzeug.palletsprojects.com/), a WSGI server
|
|
264
|
+
(`pip install werkzeug`):
|
|
265
|
+
|
|
266
|
+
```python
|
|
267
|
+
import Pyjo.HelloWorld
|
|
268
|
+
import Pyjo.Server.WSGI
|
|
269
|
+
|
|
270
|
+
from werkzeug.serving import run_simple
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
app = Pyjo.Server.WSGI.new(app=Pyjo.HelloWorld.new()).to_wsgi_app()
|
|
274
|
+
|
|
275
|
+
run_simple('localhost', 3000, app)
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
and answers on port 3000:
|
|
279
|
+
|
|
280
|
+
```sh
|
|
281
|
+
curl http://localhost:3000/
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
On a platform that tells the server the port to listen on with the `PORT`
|
|
285
|
+
environment variable, as [Knative](https://knative.dev/),
|
|
286
|
+
[Cloud Run](https://cloud.google.com/run), [Render](https://render.com/),
|
|
287
|
+
[Koyeb](https://www.koyeb.com/) or [Heroku](https://www.heroku.com/), the
|
|
288
|
+
web server of Pyjoyment listens on that port, and `generate dockerfile`
|
|
289
|
+
writes the `Dockerfile` of the image of an application, with the port that
|
|
290
|
+
the image exposes:
|
|
291
|
+
|
|
292
|
+
```sh
|
|
293
|
+
./myapp.py generate dockerfile --port 8080
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
On [AWS Lambda](https://aws.amazon.com/lambda/), it is an event function,
|
|
297
|
+
whose handler `hello_world_lambda.handler` answers the events of API
|
|
298
|
+
Gateway, Function URLs and Application Load Balancers:
|
|
299
|
+
|
|
300
|
+
```python
|
|
301
|
+
import Pyjo.HelloWorld
|
|
302
|
+
import Pyjo.Server.Lambda
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
# The handler "hello_world_lambda.handler" of an event function of AWS Lambda
|
|
306
|
+
handler = Pyjo.Server.Lambda.new(app=Pyjo.HelloWorld.new()).to_lambda_app()
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
On a custom runtime, as `provided.al2023`, its `bootstrap` runs it with the
|
|
310
|
+
runtime client of Pyjoyment:
|
|
311
|
+
|
|
312
|
+
```sh
|
|
313
|
+
#!/bin/sh
|
|
314
|
+
# The bootstrap of a custom runtime of AWS Lambda, as provided.al2023, which runs the handler of the function, as
|
|
315
|
+
# "hello_world_lambda.handler" of _HANDLER, with the runtime client of Pyjoyment
|
|
316
|
+
exec python3 -m Pyjo.Server.Lambda
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
## Distributions
|
|
320
|
+
|
|
321
|
+
Pyjoyment needs nothing besides the Python standard library, so what needs
|
|
322
|
+
another library is a distribution of its own, which adds a module to a
|
|
323
|
+
namespace of Pyjoyment, as `Pyjo.Reactor` for a reactor or `Pyjoyment.Plugin`
|
|
324
|
+
for a plugin. They are installed from their Git repositories until they are
|
|
325
|
+
on PyPI.
|
|
326
|
+
|
|
327
|
+
- [Pyjo.Reactor.Twisted - Low-level event reactor with Twisted support](https://pyjoyment.readthedocs.io/projects/pyjo-reactor-twisted/en/latest/)
|
|
328
|
+
|
|
329
|
+
## Documentation
|
|
330
|
+
|
|
331
|
+
The documentation is on [Read the Docs](https://pyjoyment.readthedocs.io/).
|
|
332
|
+
|
|
333
|
+
## Examples
|
|
334
|
+
|
|
335
|
+
### Web scraping
|
|
336
|
+
|
|
337
|
+
```python
|
|
338
|
+
import Pyjo.UserAgent
|
|
339
|
+
|
|
340
|
+
from Pyjo.String.Unicode import u
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
# Extract named character references from HTML spec
|
|
344
|
+
tx = Pyjo.UserAgent.new().get('https://html.spec.whatwg.org')
|
|
345
|
+
for n in tx.res.dom('#named-character-references-table tbody > tr').each():
|
|
346
|
+
u(n.at('td > code').text + ' ' + n.children('td')[1].text).trim().say()
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### URL manipulation
|
|
350
|
+
|
|
351
|
+
```python
|
|
352
|
+
import Pyjo.URL
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
# 'ssh+git://git@github.com/dex4er/Pyjoyment.git'
|
|
356
|
+
url = Pyjo.URL.new('https://github.com/dex4er/Pyjoyment')
|
|
357
|
+
print(url.set(scheme='ssh+git', userinfo='git', path=f'{url.path}.git').to_unsafe_str())
|
|
358
|
+
|
|
359
|
+
# 'https://pypi.org/search/?q=Pyjoyment&o=&c=Programming+Language+%3A%3A+Python'
|
|
360
|
+
url = Pyjo.URL.new('https://pypi.org/search/')
|
|
361
|
+
print(url.set(query=[('q', 'Pyjoyment'), ('o', ''), ('c', 'Programming Language :: Python')]))
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
## Copyright and license
|
|
365
|
+
|
|
366
|
+
Copyright (C) 2014-2026, Piotr Roszatycki.
|
|
367
|
+
|
|
368
|
+
Based on Mojolicious: Copyright (C) 2008-2025, Sebastian Riedel and others.
|
|
369
|
+
|
|
370
|
+
This program is free software, you can redistribute it and/or modify it under
|
|
371
|
+
the terms of the Artistic License version 2.0.
|
|
372
|
+
|
|
373
|
+
The pages of errors bundle [Bootstrap](https://getbootstrap.com), with
|
|
374
|
+
Popper, under the MIT License, and [highlight.js](https://highlightjs.org)
|
|
375
|
+
under the BSD 3-Clause License, whose texts are next to them in
|
|
376
|
+
`Pyjoyment/resources/public/pyjo`.
|