Skip to main content

Utiltities for dealing with eBird codes.

Project description

eBird Checklists is a reusable Django app for loading data from eBird into a database.

Overview

Observations submitted to eBird are available from three sources:

  1. The eBird Basic Dataset

  2. Records from Download My Data in your eBird account

  3. Records downloaded from the eBird API 2.0

This project contains loaders and models to take data from each of these sources and load it into a database. The models also have custom QuerySets which implement the most common queries, providing an easy to use API for accessing the data.

Install

You can use either pip or uv to download the package from PyPI and install it into a virtualenv:

pip install ebird-checklists

or:

uv add ebird-checklists

Update INSTALLED_APPS in your Django setting:

INSTALLED_APPS = [
    ...
    ebird.checklists
]

Finally, run the migrations to create the tables:

python manage.py migrate

Everything is now ready to load data from one of the sources above. The project documentation has detailed instructions in the Loading Data section. Please see ‘Project Information’ below.

Demo

If you check out the code from the repository there is a fully functioning Django site, and a sample data file for the eBird Basic Dataset, that you can use to see the app in action.

git clone git@github.com:StuartMacKay/ebird-checklists.git
cd ebird-checklists

Create the virtual environment:

uv venv

Activate it:

source venv/bin/activate

Install the requirements:

uv sync

Run the database migrations:

python manage.py migrate

Load the sample data from the eBird Basic Dataset:

python manage.py load_dataset data/downloads/ebird_basic_dataset_sample.csv

Create a user:

python manage.py createsuperuser

Run the demo:

python manage.py runserver

Now log into the Django Admin <http:localhost:8000/admin> to browse the tables.

Project Information

The app is tested on Python 3.8+, and officially supports Django 4.2, 5.0 and 5.1.

eBird Checklists is released under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ebird_codes-0.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ebird_codes-0.0.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file ebird_codes-0.0.0.tar.gz.

File metadata

  • Download URL: ebird_codes-0.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.25

File hashes

Hashes for ebird_codes-0.0.0.tar.gz
Algorithm Hash digest
SHA256 8c1f65101cbf7c9ca0c9e801ea9703d612f41c6301f56a714971c39b392d33bf
MD5 3341f0f28c013f0d0962821ae3f2fcbe
BLAKE2b-256 6b3e5a58a50cc0b2261a311e7f3945f8d06e185313c6b6f65424f48d945a212a

See more details on using hashes here.

File details

Details for the file ebird_codes-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ebird_codes-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ea2ac45d0bbf767df4c67dcedbca73f1699442d55e0847eb31d3492a4827f84
MD5 4452432e68444e9eb79337539b356dcd
BLAKE2b-256 8956d1771c8dd18e53cd035cd15787d5445678971564f044d669e5b7010bbb5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page