Skip to main content

Waldo tells what everyone already knows.

We have a manuscript in preparation. If you use this in a publication, please let us know so we can (to the best of our knowledge), give you the right citation.

Installation

Dependencies

  • python

  • lxml

  • sqlalchemy

  • bottle

bottle is only needed if wish to run the web application (i.e., if you only using the local programming API, then you can skip this step).

Under a debian or Ubuntu system, the following commands will install all needed packages:

sudo apt-get install python-lxml
sudo apt-get install python-sqlalchemy
sudo apt-get install python-bottle

Installation

You can run the install.sh file to get everything working:

./install.sh

The individual steps are:

python setup.py install

This is the standard Python installation command. In order to start using waldo, you need to download all the database files and build the index. The utility script update-waldo should accomplish this:

update-waldo --user
update-waldo
update-waldo --datadir /path/to/datadir --database database.sqlite3

There are three variations (shown above):

  1. --user (the default for install.sh) installs waldo locally for this user (under $HOME/.local/share/waldo)

  2. Without an argument, it installs it system-wide (you need to have write access to /var/lib/waldo

  3. You can specify exactly where to store the data.

The datadir is where waldo will store the downloaded information. It defaults to /var/lib/waldo/data. You can also specify where to store the database file (default is /var/lib/waldo/waldo.sqlite3).

Additionally, you can use the --unsafe flag to speed up the indexing, but if you interrupt the process, the database may be broken:

update-waldo --user --unsafe

Running the Webapp

If you have installed waldo as above, you should execute:

python woof/woof.py

Metadata

Release files for waldo 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waldo 0.1
File Size Uploaded
waldo-0.1.tar.gz 219.9 kB Details

Release files / waldo-0.1.tar.gz

Download URL waldo-0.1.tar.gz
Size 219.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f6c9179ca6ab7038206da472008ef3bdfa80521e79668ae0db0a6d2978949e4b
BLAKE2b-256 checksum
How to use checksums
03a188e10acdc7ca1a9ece2e9606c7ea85bb2c6380a7f7bce5c4e8a278b86f9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page