Proton SDK In Python (P+)
Project description
Proton SDK
This is a rewrite module from various languages to Python
Proton made by Seth A. Robinson which is an old school game designer
who design and code an MMO game, Growtopia. (with Mike Hommel also!)
This package writen in Vanilla Python 3.8
Installation
pip3 install ProtonPySDK
Simple Usage
>>> import Proton
>>>
>>> myData = Proton.Data()
>>> myData.set("Hello", "world")
>>> myData.serialize()
"Hello|world"
>>> myData.toDict()
{"Hello": "world"}
>>> myData.set("number",60)
>>> myData.toDict()
{"Hello": "world", "number": 60}
>>> myData.get("number")
60
>> myData.loads("action|connect\n\rmessage|hello there\n\rid|118233")
>> myData.toDict()
{"action": "connect", "message": "hello there", "id": 118233}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ProtonPySDK-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for ProtonPySDK-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d61940ff3c9fc3d655c33fbed139c882570196b5e964b7ab940a4fb69990060 |
|
MD5 | adf297a2609c66a1cdb23e7af5447e57 |
|
BLAKE2b-256 | 7926c9253e5bef3ef1343af480f4451e088073654e2d19024103653bcecd18ca |