Tools for working with the SMILE data format
Project description
Encode/Decode SMILE format objects
Based on https://github.com/brianm/libsmile
Install:
python setup.py clean build test && python setup.py install
Example Usage:
>>> import pysmile
>>> d = open('test/data/smile/test1.smile', 'rb').read()
>>> print repr(d)
':)\n\x03\xfa\x87test key#\x88nullField!\x82foo\xc2\x83foo2\xfa\x80a\xc6\xfb\xc2a\xc3\xa3b$\n\x85\x802\xf8\xc2\xc4\xc6\xf9\x84"foo"Ffoo\nbar\xfb'
>>> print pysmile.decode(d)
{u'"foo"': u'foo\nbar',
u'2': [1, 2, 3],
u'a\xe3b': -323,
u'foo': 1,
u'foo2': {u'a': 3},
u'nullField': None,
u'test key': True}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysmile-0.1.tar.gz
(17.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pysmile-0.1-py2.7.egg
(19.2 kB
view details)
File details
Details for the file pysmile-0.1.tar.gz.
File metadata
- Download URL: pysmile-0.1.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a36dc8513136048c4a0ba362f3947c4bc6e380d4ab537bf394e3f65ccfd991
|
|
| MD5 |
bdb12dc0cc574e86945b9a96519ac086
|
|
| BLAKE2b-256 |
06fc398aef6f5232a901e52077af31f024300fd592b3b0a9615e32551e24418f
|
File details
Details for the file pysmile-0.1-py2.7.egg.
File metadata
- Download URL: pysmile-0.1-py2.7.egg
- Upload date:
- Size: 19.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1473576ed13b34eb2ab3581d1300bbbb63fc7144dc28f793ae63d267ab1e01d5
|
|
| MD5 |
298604fff9b98d061cce291f60c031f6
|
|
| BLAKE2b-256 |
48725334be5691bd4024994a75e898b9f72e2f32712734c7c84b0c927db2c794
|