Skip to main content

Proton SDK In Python (P+)

Project description

Proton SDK

HitCount
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


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 hashes)

Uploaded Source

Built Distribution

ProtonPySDK-0.1.1-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page