|
PyXMake Developer Guide 1.0
PyXMake
|
Class instance to define PyXMake's web API instance. More...
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
Public Member Functions inherited from PyXMake.API.Base | |
| RedirectException (self, url) | |
| StaticFiles (self, url, path, index="index.html", html=True) | |
| mount (self, *args) | |
| include (self, *args) | |
| create (self) | |
| run (self, Hostname=str(platform.node()), PortID=8020) | |
Public Member Functions inherited from PyXMake.API.Backend | |
Public Member Functions inherited from PyXMake.Tools.Utility.AbstractBase | |
| __new__ (cls, *args, **kwargs) | |
| recover (cls, *args) | |
| classify (cls, *args, **kwargs) | |
| jsonify (self) | |
| update (self, **kwargs) | |
| __repr__ (self) | |
| __str__ (self) | |
| __getstate__ (self) | |
| __setstate__ (self, _dict) | |
Public Attributes | |
| str | APIObjectKind = "Frontend" |
| APIMeta = kwargs.get("Meta", {}) | |
| list | APITags |
| dict | APISwagger = {"defaultModelsExpandDepth": -1} |
| API | |
| APIHost = kwargs.get("HostID",socket.gethostname()) | |
| APIPort = kwargs.get("PortID",str(8020)) | |
| str | APIBase = ":".join([self.APIHost,self.APIPort]) |
Public Attributes inherited from PyXMake.API.Base | |
| API = APIRouter(); | |
| str | APIObjectKind = "Base" |
| Router | |
Public Attributes inherited from PyXMake.API.Backend | |
| str | APIObjectKind = "Backend" |
| APIBase | |
Additional Inherited Members | |
Static Public Member Functions inherited from PyXMake.Tools.Utility.AbstractBase | |
| __getbase__ (base, cls) | |
Class instance to define PyXMake's web API instance.
Class instance to define PyXMake's server instance for a web API.
| PyXMake.API.Frontend.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Initialization of PyXMake's Frontend API.
Reimplemented from PyXMake.API.Base.
Definition at line 1904 of file __init__.py.
| PyXMake.API.Frontend.API |
Definition at line 1924 of file __init__.py.
| str PyXMake.API.Frontend.APIBase = ":".join([self.APIHost,self.APIPort]) |
Definition at line 1934 of file __init__.py.
| PyXMake.API.Frontend.APIHost = kwargs.get("HostID",socket.gethostname()) |
Definition at line 1932 of file __init__.py.
| PyXMake.API.Frontend.APIMeta = kwargs.get("Meta", {}) |
Definition at line 1912 of file __init__.py.
| str PyXMake.API.Frontend.APIObjectKind = "Frontend" |
Definition at line 1909 of file __init__.py.
| PyXMake.API.Frontend.APIPort = kwargs.get("PortID",str(8020)) |
Definition at line 1933 of file __init__.py.
| dict PyXMake.API.Frontend.APISwagger = {"defaultModelsExpandDepth": -1} |
Definition at line 1921 of file __init__.py.
| list PyXMake.API.Frontend.APITags |
Definition at line 1915 of file __init__.py.