summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--msgpack/__init__.py7
-rwxr-xr-xsetup.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/msgpack/__init__.py b/msgpack/__init__.py
index 9593714..86786a2 100644
--- a/msgpack/__init__.py
+++ b/msgpack/__init__.py
@@ -1,3 +1,10 @@
# coding: utf-8
from msgpack._msgpack import *
+# alias for compatibility to simplejson/marshal/pickle.
+load = unpack
+loads = unpackb
+
+dump = pack
+dumps = packb
+
diff --git a/setup.py b/setup.py
index 8d8a6f4..64e71ed 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ except ImportError:
from distutils.command.build_ext import build_ext
have_cython = False
-version = '0.1.3'
+version = '0.1.4'
# take care of extension modules.
if have_cython: