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)
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
from MultiSC.MultiClient.EasyClient import EasyClient
def 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
Metadata
Release files for MultiSC 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| MultiSC-0.0.12.tar.gz | 30.8 kB | Without provenance | Details for MultiSC-0.0.12.tar.gz |
Release files / MultiSC-0.0.12.tar.gz
| Download URL | MultiSC-0.0.12.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd3870a9c137c7b57b78c81ac8e17a03c3f0d7ece9f03a9ad42c31719b3e1501
|
|
BLAKE2b-256 checksum How to use checksums |
c9078f0f52cf4da51fe12f785e807081c61bda34abb882748da45e97ee568df7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.1
|
Security for MultiSC 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.