Skip to content

A toy to help you pull photos out of Flickr

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Flickr-Foundation/flinumeratr

Repository files navigation

flinumeratr

This is a toy to help you pull photos out of Flickr. You enter a Flickr URL, and it shows you a list of photos that can be viewed at that URL. This includes:

Screenshot of flinumeratr. It's a web app with a single input field at the top, into which somebody has entered a Flickr URL. Below the input form is a purple box explaining that this URL shows the photos in a gallery about celebrating Hispanic Heritage Month, and then two photos from the gallery.

Usage

You can use flinumeratr by visiting https://www.flickr.org/tools/flinumeratr/

Development

You can set up a local development environment by cloning the repo and installing dependencies:

$ git clone https://github.com/Flickr-Foundation/flinumeratr.git
$ cd flinumeratr
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -e .

You need a Flickr API key. Then you can run the app by running the Flask app with your API key passed as an environment variable:

$ flask --app flinumeratr.app run --debug

If you want to run tests, install the dev dependencies and run py.test:

$ source .venv/bin/activate
$ pip install -r dev_requirements.txt
$ coverage run -m pytest tests
$ coverage report

To start the app in prod, run the start_prod.sh script on Sontag:

$ bash start_prod.sh

To restart the app with new code, run the restart script on Sontag or in your local checkout:

$ bash scripts/restart_prod.sh

License

This project is dual-licensed as Apache-2.0 and MIT.

About

A toy to help you pull photos out of Flickr

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •