Skip to content

vterron/iaa-phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IAA-CSIC Phone Book

This Python script, iaa-phone, serves as the white pages of the Institute of Astrophysics of Andalusia (CSIC, Spain). It is a command-line application that queries the website in order to find the telephone number given a name or surname. Associate researchers are also included in the search, unlike visiting ones, which are not currently listed in the general alphabetical list.

The reverse telephone directory (grey pages) is also available, as searches may also be done by the phone number or e-mail address.

All searches are case- and accent-insensitive.

Examples

$ phone ter
Cafetería IAA                    | 565 |
Terrón Salas, Víctor Francisco   | 605 | vterron
Cafetería UDIT                   | 571 |
[...]

Include multiple terms to restrict the search results:

$ phone vic ter
Terrón Salas, Víctor Francisco | 605 | vterron

People can also be looked up by phone number:

$ phone 605
Terrón Salas, Víctor Francisco | 605 | vterron

Installation

Download the tarball:

$ curl -OL https://github.com/vterron/iaa-phone/tarball/master

Or, download the zipball:

$ curl -OL https://github.com/vterron/iaa-phone/zipball/master

Once you have a copy of the source, installing the script is a simple matter of running one command from a terminal:

$ pip install beautifulsoup4
$ python setup.py install

If you do not have root permissions, include the --user option:

$ pip install --user beautifulsoup4
$ python setup.py install --user

The Python docs have an entire section devoted to Installing Python Modules.

About

Telephone directory for the IAA-CSIC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages