Skip to main content

fathomnet-py is a client-side API to help scientists, researchers, and developers interact with FathomNet data.

Project description

fathomnet-py

image image image CI/CD Documentation Status Tutorial uv Ruff

fathomnet-py is a client-side API to help scientists, researchers, and developers interact with FathomNet Database data.

>>> from fathomnet.api import boundingboxes
>>> boundingboxes.find_concepts()
['2G Robotics structured light laser', '55-gallon drum', ...]
>>> from fathomnet.api import images
>>> images.find_by_concept('Nanomia')
[
    AImageDTO(
        id=2274942, 
        uuid='cdbfca66-284f-48ac-a36f-7b2ac2b43533', 
        url='https://database.fathomnet.org/static/m3/framegrabs/MiniROV/images/0056/02_18_37_20.png', 
        ...
    ),
    ...
]
>>> from fathomnet.api import taxa
>>> taxa.find_children('mbari', 'Bathochordaeus')
[
    Taxa(name='Bathochordaeus stygius', rank='species'), 
    Taxa(name='Bathochordaeus charon', rank='species'), 
    Taxa(name='Bathochordaeus mcnutti', rank='species')
]
>>> from fathomnet.api import xapikey
>>> xapikey.auth('NuCLjlNUlgHchtgDB01Sp1fABJVcWR')  # your API key here
AuthHeader(
    type='Bearer', 
    token='eyJhbGciOiJI...'
)

The fathomnet-py API offers native Python interaction with the FathomNet REST API, abstracting away the underlying HTTP requests.

Installing fathomnet-py

fathomnet-py is available on PyPI:

$ python -m pip install fathomnet

API Reference available on Read the Docs

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

fathomnet-1.8.1.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

fathomnet-1.8.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file fathomnet-1.8.1.tar.gz.

File metadata

  • Download URL: fathomnet-1.8.1.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for fathomnet-1.8.1.tar.gz
Algorithm Hash digest
SHA256 d9721e3b35d35991489e27b017444d41b0f53c0dd6a4600ab63a9aad7de62b2c
MD5 1a1cacb50d8e6dad50f6c09c84020314
BLAKE2b-256 89411c363f41779045dc3ebd474eba4af7b2583ad8111e934dc1dbdc4215cbe2

See more details on using hashes here.

File details

Details for the file fathomnet-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: fathomnet-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for fathomnet-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a96c03593048f345063fcae07779dacb8541dccead2618e947a031f43ff57ebb
MD5 8a11d8f2cbc8600d83636d9739ea9116
BLAKE2b-256 acc5b80de9259bfb43b93e023e7058655c68d1a47cf0ae1946196d8d7b5f8389

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