pyworms

pyworms.aphiaAttributesByAphiaID(*args, **kwds)

Returns the Aphia attributes for an AphiaID.

Parameters:id – AphiaID
Returns:Aphia attributes.
pyworms.aphiaClassificationByAphiaID(*args, **kwds)

Returns the Aphia classification for an AphiaID.

Parameters:id – AphiaID
Returns:Aphia classification.
pyworms.aphiaDistributionsByAphiaID(*args, **kwds)

Returns the Aphia distributions for an AphiaID.

Parameters:id – AphiaID
Returns:Aphia distributions.
pyworms.aphiaExternalIDByAphiaID(*args, **kwds)

Returns an external identifier for an AphiaID.

Parameters:
  • id – AphiaID
  • type – One of algaebase, bold, dyntaxa, eol, fishbase, iucn, lsid, ncbi, tsn, gisd
Returns:

Aphia classification.

pyworms.aphiaRecordByAphiaID(*args, **kwds)

Returns the Aphia record for an AphiaID.

Parameters:id – AphiaID
Returns:Aphia record, None if not found.
pyworms.aphiaRecordsByDate(start_date, end_date=None, marine_only=True)

Returns Aphia records by change date.

Parameters:
  • start_date – Start date
  • end_date – End date
  • marine_only – Marine only
Returns:

Aphia records.

pyworms.aphiaRecordsByMatchNames(names, marine_only=True)

Returns Aphia matches for a set of names.

Parameters:
  • names – Names
  • marine_only – Marine only
Returns:

Aphia matches.

pyworms.aphiaRecordsByName(*args, **kwds)

Returns the Aphia records for a name.

Parameters:
  • id – AphiaID
  • like – SQL like query with % wildcard after input
  • marine_only – Limit to marine taxa
Returns:

Aphia records.