Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hvuhsg/multisc
Server for your app needs
https://github.com/hvuhsg/multisc
awsome backend client easy framework json-server mit-license mongodb python3 server
Last synced: 7 days ago
JSON representation
Server for your app needs
- Host: GitHub
- URL: https://github.com/hvuhsg/multisc
- Owner: hvuhsg
- License: mit
- Created: 2019-05-24T10:29:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T09:37:29.000Z (over 5 years ago)
- Last Synced: 2024-09-25T16:13:00.778Z (about 1 month ago)
- Topics: awsome, backend, client, easy, framework, json-server, mit-license, mongodb, python3, server
- Language: Python
- Size: 287 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MultiSC
### Server for your app needs.
#### Installation
```
$/> pip insatll MultiSC
```#### New project (server)
```
$/> make_multi server
$/> make_multi server -q //for quick setup mode
```#### New project (client)
```
$/> make_multi client
```#### **Quick setup example (server)**
```python
from MultiSC.MultiServer.quick_setup.manager import ProtocolsManager, MonitorManager, Runner@MonitorManager.add("client_info_printer")
def monitor(self, query):
print(query.other)@ProtocolsManager.add("math", "sum")
def func2(query):
return query["a"] + query["b"]Server = Runner()
Server.run()
```#### **Client example**
```python
from MultiSC.MultiClient.EasyClient import EasyClientdef main():
address = "127.0.0.1", 84
user = EasyClient(address)
user.connect()print(user.castom_request("math", "sum", a=5, b=9)) # -> {'message': 14, 'code': 200}
main()
```### for more information visit our wiki [hare](https://github.com/hvuhsg/MultiSC/wiki)