Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/y/Pyfa-HEAD/eos/utils/scripts/eveCacheToDb.py   Pyfa(Download)
    # Print out results and actually commit results to database
    print "\nInserted {0} rows. skipped {1} rows".format(rows, rows_skipped)
    eos.db.gamedata_session.commit()
 
def process_value(value, tableclass, header):
        eos.db.gamedata_session.add(MetaData(fieldname, metadata[fieldname]))
 
    eos.db.gamedata_session.commit()
 
    # Get table map, processing order and special table data

src/p/y/Pyfa-HEAD/eos/utils/scripts/jsonToSql.py   Pyfa(Download)
                eos.db.gamedata_session.add(instance)
 
        eos.db.gamedata_session.commit()
 
    print("done")