Did I find the right examples for you? yes no

All Samples(24)  |  Call(0)  |  Derive(0)  |  Import(24)
Helper to add openlibrary module to sys.path.

src/o/p/openlibrary-HEAD/scripts/2011/05/account_v2_migration.py   openlibrary(Download)
"""
from __future__ import with_statement
import _init_path
 
from infogami.infobase import server

src/o/p/openlibrary-HEAD/scripts/2011/04/reindex_transactions.py   openlibrary(Download)
import os
 
import _init_path
 
import simplejson

src/o/p/openlibrary-HEAD/scripts/2011/02/fix_redirects.py   openlibrary(Download)
import memcache
 
import _init_path
from infogami.infobase.server import parse_db_parameters
from openlibrary.data import db

src/o/p/openlibrary-HEAD/scripts/2010/08/infobase_couchdb_replay.py   openlibrary(Download)
import simplejson
 
import _init_path
from infogami.infobase.logreader import LogFile
 

src/o/p/openlibrary-HEAD/scripts/2010/08/gen_cover_mapping.py   openlibrary(Download)
#! /usr/bin/env python
"""Script to generate <coverid, key, isbns> mapping for each active cover.
"""
import _init_path
from openlibrary.data.dump import read_tsv

src/o/p/openlibrary-HEAD/scripts/2010/07/mark-templates.py   openlibrary(Download)
"""
 
import _init_path
 
import sys

src/o/p/openlibrary-HEAD/scripts/2010/03/olload.py   openlibrary(Download)
    python olload.py memcache localhost:11211 ol_cdump.txt
"""
import _init_path
from openlibrary.data import parse_data_table
 

src/o/p/openlibrary-HEAD/scripts/2010/03/makedump.py   openlibrary(Download)
"""Parse data table dump and generate tsv with "key", "type", "revision", "json" columns.
"""
import _init_path
import sys
from openlibrary.data import parse_data_table

src/o/p/openlibrary-HEAD/scripts/2009/11/fetch.py   openlibrary(Download)
 
"""
import _init_path
import urllib
import simplejson

src/o/p/openlibrary-HEAD/scripts/2009/10/loadworks.py   openlibrary(Download)
import web
 
import _init_path
from openlibrary.utils.bulkimport import DocumentLoader, Reindexer
 

  1 | 2 | 3  Next