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

Uploaded Source

Built Distribution

fathomnet-1.4.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fathomnet-1.4.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1017-azure

File hashes

Hashes for fathomnet-1.4.0.tar.gz
Algorithm Hash digest
SHA256 2a19e333196a5eb20d24bf271b8ee597635d80b6e690712b983f82880c9d0ced
MD5 74247bf2702e95f1fef03e3e7a4a0c62
BLAKE2b-256 b51289f16d56858c0b32fb713521edb4535fd4369cca8bef79ec7775472117cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fathomnet-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1017-azure

File hashes

Hashes for fathomnet-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09e6b8cd27ec3302e52e688b617a4385a42e1578dd9162f27fa988f532954199
MD5 dfffc48236dd7dfd13e969d00eb49028
BLAKE2b-256 eeaa36d5c9e2b0b0b90cfc012c806eaddf6713d919bd3033768d9ee41818e6e6

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