Using storm_oracle is easy, you just have to import it before connecting:
>>> import storm_oracle
>>> from storm.locals import create_database, Store
>>> db = create_database('oracle://username:password@test?tns=True')
>>> store = Store(db)
>>> r = store.execute('SELECT 1 FROM DUAL')
>>> r.get_all()
[(1,)]
The connection URI can be in one of two formats:
1. oracle://username:password@tns_name?tns=True
2. oracle://username:password@host_name:port/SID
The difference being that the first form uses a TNS file while the second form connects using a host name and SID.
Product's homepage
Requirements:
· Python