Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Looks up where the Crossrail Tunnel Boring Machines are and prints a little status message, optionally posting to Twitter.

Data sources

Deps:

(Later versions may very well work fine)

Install using virtualenv:

# setup and activate virtualenv
virtualenv tbm
cd tbm ; ./bin/activate
# clone this repo inside a src directory
git clone https://github.com/jwheare/tbm.git src
# install deps
pip install pyproj==1.9.3
pip install twitter==1.9.4
# run
cd src
./tbm.py
    Ada here. I'm under Mayfair, heading east towards Farringdon with 3.3km to go
    Hi, it's Elizabeth. I'm under Blackwall, heading west towards Farringdon with 7.2km to go
    This is Phyllis and I'm at Bond Street station, heading east towards Farringdon with 3km to go
    Hey, it's Sophia. I'm under Plumstead, heading west towards North Woolwich with 1.6km to go
    This is Victoria and I'm under Blackwall, heading west towards Farringdon with 7.6km to go

Tweeting

Specify the following environment variables when running this script to post the updates to Twitter:

  • TBM_OAUTH_TOKEN
  • TBM_OAUTH_SECRET
  • TBM_CONSUMER_KEY
  • TBM_CONSUMER_SECRET

About

Crossrail Tunnel Boring Machines on Twitter

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages