Manage your Firefox bookmarks with ease
Project description
firefox-bookmarks
Manage your Firefox bookmarks with ease
installation
pip install firefox-bookmarks
usage
Import and initialize:
from firefox_bookmarks import *
fb = FirefoxBookmarks()
# You can pass a `ProfileCriterion` to choose from multiple profiles
fb.connect(criterion=ProfileCriterion.LARGEST)
Query as you would in peewee (or Django or SQLAlchemy)
github_bookmarks = fb.bookmarks(
where=Bookmark.url.contains("https://github.com"),
)
for bookmark in github_bookmarks:
print(f"Title: {bookmark.title}\nURL: {bookmark.url}\n")
examples
contributing
Want to fix a bug, add a feature, or improve documentation? Awesome! Read up on our guidelines for contributing and then visit our /contribute page to find good first issues! Pull requests are always welcome!
license
Copyright (C) 2023 Aditya Rajput & other contributors
This software is licensed under the Affero GPL v3. You should have received a copy of the Affero GPL v3 along with this program. If not, you can visit the original here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
firefox_bookmarks-1.2.0.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for firefox_bookmarks-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a43ad62fac8feb42845a4d49ae9b9042b260fd39140d76640425bb93e2eaa6 |
|
MD5 | b836370d0d751d70d64c251b143e5c4b |
|
BLAKE2b-256 | bc4f4de7060417f5db318eff22957547f87e010e19d2e7cedc8565f234c17e21 |