Command line application that provides a way to find the top 1000 ranking male names between two give years, i.e. BillyÊbetweenÊ1892ÊandÊ2001, of 1880ÊandÊ 2010.
The following software is needed to execute this application:
- Python 2.6
- virtualenv
- virtualenvwrapper
We deploy this application into it's own virtual environment therefore you will need to do the same. Install & Activate the virtualenv (this assumes you are in the root of the application folder using a cli):
easy_install virtualenv
mkdir ~/.virtualenvs
cd ~/.virtualenvs
virtualenv orange
source ~/.virtualenvs/orange/bin/activate
This assumes you are in the root of the application folder using cli:
cd src
while read line; do easy_install -ZU $line; done < src/install-requires.txt
while read line; do easy_install -ZU $line; done < src/install-test-requires.txt
This assumes you are in the root of the application folder using cli:
cd src
python setup.py develop
nosetests
This assumes you are in the root of the application folder using cli. The follow to be executed once to setup the application:
cd src
python setup.py develop
The following to be used to find information (assumes you are in the src folder):
python app/babynames.py [name] [start year] [end year]
- BillyÊbetweenÊ1892ÊandÊ2001: 202.29
- JamieÊbetweenÊ1901ÊandÊ1987: 465.41
- DanielÊbetweenÊ1996ÊandÊ1999: 10.75
- NeilÊbetweenÊ1957ÊandÊ1983: 185.22
- JordanÊbetweenÊ1880ÊandÊ2010: 504.76