Submodules module

A script that creates a compatibility table from a list of stops in a certain city and its neighborhood and a list of towns and cities.


./ [-d “Main city”] stops.txt cities.txt cities_stops.tsv, stops, main_city)[source], stop, main_city)[source], suppress_comments=False, cols=1)[source][source] module

self cloning, automatic path configuration

copy this into any subdirectory of pypy from which scripts need to be run, typically all of the test subdirs. The idea is that any such script simply issues

import autopath

and this will make sure that the parent directory containing “pypy” is in sys.path.

If you modify the master “” version (in pypy/tool/ you can directly run it which will copy itself on all files it finds under the pypy root directory.

This module always provides these attributes:

pypydir pypy root directory path this_dir directory where this resides module module module module module

A script that collects the locations of all the given cities using the Google Geocoding API.


./ [-d delay] [-l limit] [-a] cities_locations-in.tsv cities_locations-out.tsv

-d = delay between requests in seconds (will be extended by a random period
up to 1/2 of the original value)

-l = limit maximum number of requests -a = retrieve all locations, even if they are set[source]

Retrieve (all possible) coordinates of a city using the Google Geocoding API. → x in the interval [0, 1). module, category, exceptions=set([]))[source], slot, keys)[source], slot1, slot2)[source]

Module contents