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.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file ProtonPySDK-0.1.1.tar.gz
.
File metadata
- Download URL: ProtonPySDK-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9282d0609f0c11ab4333f399e5303ded34c442ccfac79dfe8e637e18311001f |
|
MD5 | a65dd9aace0960c9e86cc5cdfdc5a2d9 |
|
BLAKE2b-256 | daa5be55a9530145e086c8beac57b58b9c80424fd63ac1022b6c1b3b4385738d |
File details
Details for the file ProtonPySDK-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ProtonPySDK-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f27cbf4994f78f4d36a5204395282ef0bcbae56334bfe71e900681038b4ebfa |
|
MD5 | 83e6283449432b3e93e5a5ddabd7c4aa |
|
BLAKE2b-256 | 3f6abd9f56af0cae22dd0835e5ca913989a3225cd2b16f90c49b881d550c069b |