version.py 529 B

12345678910111213141516171819202122
  1. __version__ = '0.4.4'
  2. class Notes:
  3. def __init__(self):
  4. self.show = True
  5. def print_notes(self):
  6. if self.show:
  7. print(f'''
  8. Welcome to use blind-watermark, version = {__version__}
  9. Make sure the version is the same when encode and decode
  10. Your star means a lot: https://github.com/guofei9987/blind_watermark
  11. This message only show once. To close it: `blind_watermark.bw_notes.close()`
  12. ''')
  13. self.close()
  14. def close(self):
  15. self.show = False
  16. bw_notes = Notes()