hsdb module

hsdb.add_anime(name, id)[source]

This function adds an anime to the database and print weither it works or not

Parameters:
  • name – Name of the anime to be added
  • id – Episod number
hsdb.delete_anime(name)[source]

This function deletes an anime and print weither it works or not

Parameters:name – Name of the anime to be deleted
hsdb.get_animes()[source]

This function returns all the animes in the database

Returns:A tuple of animes
hsdb.get_animes_for_print()[source]

This function prints all the animes in the database

hsdb.get_sqlite_connexion()[source]

This function returns the sqlite connection

Returns:The connetion with the database
hsdb.init_sql()[source]

This function intializes the database

hsdb.update_anime(uName, uId)[source]

This function updates an anime print a message and send an SMS

Parameters:
  • uName – Name of the anime to be updated
  • uId – Episod number to be updated