Skip to main content

wbia_whaleridgefindr - A plug-in for the finFindR gray whale ID algorithm

Project description

Build and upload to PyPI (main) Latest PyPI version Documentation on ReadTheDocs

whaleridgefindr Plug-in - Part of the WildMe / Wildbook IA Project.

A plug-in for using the containerized version of the whaleridgefindr gray whale ID algorithm.

Running the whaleridgefindr Container

This plugin assumes that:

  1. You have separately started the whaleridgefindr container with the command:

docker run -p 8004:8004/tcp --name flukebook_whaleridgefindr --network flukebook haimeh/whaleridgefindr:latest
  1. Your WBIA container also has the same network (“flukebook” above) defined for it.

Development Setup

./run_developer_setup.sh

Code Style and Development Guidelines

Contributing

It’s recommended that you use pre-commit to ensure linting procedures are run on any commit you make. (See also pre-commit.com)

Reference pre-commit’s installation instructions for software installation on your OS/platform. After you have the software installed, run pre-commit install on the command line. Now every time you commit to this project’s code base the linter procedures will automatically run over the changed files. To run pre-commit on files preemtively from the command line use:

git add .
pre-commit run

# or

pre-commit run --all-files

Brunette

Our code base has been formatted by Brunette, which is a fork and more configurable version of Black (https://black.readthedocs.io/en/stable/).

Flake8

Try to conform to PEP8. You should set up your preferred editor to use flake8 as its Python linter, but pre-commit will ensure compliance before a git commit is completed.

To run flake8 from the command line use:

flake8

This will use the flake8 configuration within setup.cfg, which ignores several errors and stylistic considerations. See the setup.cfg file for a full and accurate listing of stylistic codes to ignore.

PyTest

Our code uses Google-style documentation tests (doctests) that uses pytest and xdoctest to enable full support. To run the tests from the command line use:

pytest

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wbia_whaleridgefindr-0.1.4.dev1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file wbia_whaleridgefindr-0.1.4.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for wbia_whaleridgefindr-0.1.4.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa9579211aa2752bb8388619cd8499dabf4e368c5df2a80c3d37566349e2c121
MD5 11f1591fb376ec9b705d01f05011d07e
BLAKE2b-256 27d295c1e28163871a2716545d7ca1b0ec127632d96acab09a5e7f34e42cc4f0

See more details on using hashes here.

Supported by

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