eBird Notebooks brings together Django and Jupyter Lab to create an easy to use platform for analysing data from eBird.
- Load checklists from the eBird API
Download and unzip the code.
cd ebird-notebooksCreate the virtual environment:
uv venvActivate it:
source .venv/bin/activateInstall the project requirements:
uv syncCreate a copy of the example .env file and edit it to add your eBird API key:
cp .env.example .envCreate the database tables:
python manage.py migrateStart Jupyter Lab:
python manage.py shell_plus --notebookFinally, open up the Getting Started notebook and run all cells.
THe great thing about Django is the batteries-included philosophy, and, in particular, the Django Admin which allows you to browse and edit the data in the database.
To use the Django Admin, create a user account (with superpowers):
python manage.py createsuperuserNow run the django server:
python manage.py runserverOpen a new tab on your browser, visit http://localhost:8000/admin/, log in using the newly created superuser account. When you run the cells in the Getting Started notebook you can then browse the data loaded into the tables.
- Issues: https://todo.sr.ht/~smackay/ebird-notebooks
- Repository: https://git.sr.ht/~smackay/ebird-notebooks
- Announcements: https://lists.sr.ht/~smackay/ebirders-announce
- Discussions: https://lists.sr.ht/~smackay/ebirders-discuss
- Development: https://lists.sr.ht/~smackay/ebirders-develop
The repository is also mirrored on Github:
- Repository: https://github.com/StuartMacKay/ebird-notebooks
The project is made available under the terms of the MIT license.