.. _jgdv.files.bookmarks.collection: =============================== jgdv.files.bookmarks.collection =============================== .. py:module:: jgdv.files.bookmarks.collection Classes ------- .. autoapisummary:: jgdv.files.bookmarks.collection.BookmarkCollection Module Contents =============== .. _jgdv.files.bookmarks.collection.BookmarkCollection: .. py:class:: BookmarkCollection(/, **data) Bases: :py:obj:`pydantic.BaseModel` A container of bookmarks, read from a file where each line is a bookmark url with tags. .. py:method:: difference(other) -> .. py:method:: merge_duplicates() -> .. py:method:: read(fpath) -> :staticmethod: Read a file to build a bookmark collection .. py:method:: update(*values) -> .. py:attribute:: entries :type: list[jgdv.files.bookmarks.bookmark.Bookmark] :value: [] .. py:attribute:: ext :type: str :value: '.bookmarks'