GitXplorerGitXplorer
J

pekel

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d32d19c22925077fa4d3b8bba70e9afd21c9036b

turn on verbose flake8 mode to make sure it works right

JJelleZijlstra committed 8 years ago
Unverified
0c98899ed6e9ea3d5892666b2fe7f095ab093db4

give up on tox for travis

JJelleZijlstra committed 8 years ago
Unverified
3818a385088735c4e314433e4a0655867bdfeaa0

maybe 3.3 is still around?

JJelleZijlstra committed 8 years ago
Unverified
23333d5be8af291a9deadcf084585e1c375908d0

how about this

JJelleZijlstra committed 8 years ago
Unverified
fef206b093477cd97f6199f977716a068d226004

use 3.6's tox

JJelleZijlstra committed 8 years ago
Unverified
d14bf7d39859d0df79d999e4237e443f07c2cb09

maybe on trusty

JJelleZijlstra committed 8 years ago

README

The README file for this repository.

pekel

About

Pekel is a protocol for encoding simple objects like strings, integers, and tuples in an efficient binary format. The protocol is similar to Python's pickle. Pekel has the following design goals:

1. Consistency: If you encode an object, you should get the same
   serialized string out, regardless of what language and language version
   you are using.
2. Portability: Pekel should work reliably and consistently across all
   supported languages and language versions.
3. Efficiency: It should be fast to serialize and deserialize data, and
   serialized data should be space-efficient.

Name

Pekel is the Dutch word for "pickle", evoking the protocol's similarity to the Python pickle format.

Interface

The Python interface is similar to that of the pickle module and exposes dumps, dump, loads, and load functions.

The following data types are supported:

1. Binary strings
2. Text strings
3. Arbitrary-sized, signed integers
4. Booleans
5. None/NULL
6. Heterogeneous tuples of any other types
7. Homogeneous lists of any other types

Other data types, including sets, dictionaries, and floats, may be added later.

Protocol details

Pekel is mostly a subset of pickle protocol 2.

Testing

Run python3.6 -m tox in a checkout of this repo.