Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 431 Bytes

INSTALL.rst

File metadata and controls

20 lines (12 loc) · 431 Bytes

Installation

In order to install SIRUTAlib, you just need to extract the archive and run the following command (usually as root):

# python setup.py install

Then, you can just import sirutalib in your program:

#!/usr/bin/python
import sirutalib

if __name__ == "__main__":
    siruta = sirutalib.SirutaDatabase()
    print siruta.get_name(10)#10 is the SIRUTA code for Alba county