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

fathomnet-py is a client-side API to help scientists, researchers, and developers interact with FathomNet 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://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.

CI/CD Documentation Status Open in Colab

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.2.2.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

fathomnet-1.2.2-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fathomnet-1.2.2.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure

File hashes

Hashes for fathomnet-1.2.2.tar.gz
Algorithm Hash digest
SHA256 cc35c4acb91a156054f55a9b78500c4fee57a832e4b615f03c34bf26a7a7b7c2
MD5 c400ee0bebda26ea8261d839a7e6a337
BLAKE2b-256 654239ab83acc76621750a1abb5e05113ab7b3c7947c9dc868fcf652a758ffae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fathomnet-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure

File hashes

Hashes for fathomnet-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd637bdb52469eb1f03cbbdf0771078aaa2bae6192c6646aa083b1509653fed2
MD5 fb2d56735db2268fdba13df83a6fe360
BLAKE2b-256 e9186b6530ad26f5bb8eb7c44a4a897bb18ed025246c8bacee95e10d611eba0a

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