Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

A project which tries to define the social networks that can be defined from letters written in the nineteenth century. Currently the project focuses on Charles Dickens but this will be expanded as new datasets are created.

Project home page (wiki): http://wiki.okfn.org/p/Open_Letters

Installation and Setup

You will need to have python, mercurial, setuptools, virtualenv and pip to install openletters (all other dependencies will be automatically installed using pip):

# check out the code to openletters directory
hg clone https://knowledgeforge.net/letters/hg openletters

# move into the directory
cd openletters

# now install it to virtualenv at ../pyenv-openletters using pip
pip -E ../pyenv-openletters install -r pip-requirements.txt

Make a config file as follows:

paster make-config openletters development.ini

Tweak the config file as appropriate and then setup the application:

paster setup-app config.ini

Then you are ready to go.

Using the Command Line Tools

Our command line tools have been created as paster commands (and found in openletters/cli.py). To get a list do:

paster -h

And look at commands in openletters section (some of other commands may be useful to). To get more info on a given command do:

paster {command} -h

Recent activity

austgate

Commits by austgate were pushed to okfn/openletters

e4c320b - Changes to search links and tidying up templating
austgate

Commits by austgate were pushed to okfn/openletters

af910ec - Changed location of javascript library from localhost
austgate

Commits by austgate were pushed to okfn/openletters

7f897b1 - Changes to the correspondents pages and cleaning of the letters XML file
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.