Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tools for working with the SMILE data format

Project description


Encode/Decode SMILE format objects

Based on:



python clean build test && python install

or from pypi (

pip install pysmile


>>> import pysmile
>>> o = {'a': 1, 'b': [2, 3, 4], 'c': {'d': {'e': 4.20}}}
>>> b = pysmile.encode(o)
>>> print repr(b)

>>> d = pysmile.decode(b)
>>> print d
{u'a': 1, u'b': [2, 3, 4], u'c': {u'd': {u'e': 4.2}}}

>>> assert d == o

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysmile, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pysmile-0.2.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page