GitHub - meeron/pybinn: Python 3.x wrapper for BINN binary serialization format (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

meeron / pybinn Public

Python 3.x wrapper for BINN binary serialization format

License

MIT license

4 stars 1 fork Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory54 Commits
pybinn pybinn
.gitignore .gitignore
.travis.yml .travis.yml
LICENCE LICENCE
README.md README.md
setup.py setup.py
test_pybinn.py test_pybinn.py

Repository files navigation

pybinn

Build Status

Python wrapper for BINN serialization (https://github.com/liteserver/binn)

Usage

Encoding

import pybinn

data = pybinn.dumps({'hello':"world", 'id':12}) print(data)

b'\xe2\x16\x02\x02id \x0c\x05hello\xa0\x05world\x00'

Decoding

data = b'\xe2\x16\x02\x02id \x0c\x05hello\xa0\x05world\x00 ' obj = pybinn.loads(data) print(obj)

{'id': 12, 'hello': 'world'}

About

Python 3.x wrapper for BINN binary serialization format

Resources

Readme

License

MIT license

Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork

Report repository

Releases

7 tags

Packages

No packages published

Contributors2

Languages