Silme:Tutorial:Setting up environment

From Braniecki's Wiki
Revision as of 11:51, 13 February 2009 by Zbraniecki (talk | contribs)
Jump to navigation Jump to search


This section explains how to set up an environment to work with silme.


You need Python 2.5. Nothing more. For serveral IOClients and FormatParsers you will need additional modules like MySQLdb for MySQL, pysqlite for SQLite, pysvn for SVN etc.

Linux and MacOS

hg clone

And then you can write first

  1. !/usr/bin/python


from silme.core import Entity

def test():

 entity = Entity('id, 'value')

if __name__ == "__main__":


You can also checkout from HG ./silme/scripts to see examples. (launch from the directory above ./scripts, like: ./scripts/


Not sure... didn't try... should require nothing more than Python.

Next, let's take a closer look at the basic particles in the system - entities.