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
Built Distribution
Close
Hashes for firefox_bookmarks-1.0.0.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06cf38e97604a430fbc1d8a56692c55c5b4f2c2574d6f890d84f969bc0e59776 |
|
MD5 | 0721da288e453689d5f2b692bce2e5be |
|
BLAKE2b-256 | 5f4aa6f3210ac07eb0fa8e25346a985f1a281815b1081044950c19d86ffad52e |
Close
Hashes for firefox_bookmarks-1.0.0.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1ee5e8d1343f5155a7209df6e7b771086d0ff77360d92391439908f7a127f2 |
|
MD5 | df189bf690697af8eb2a917578ab86a1 |
|
BLAKE2b-256 | 401d94f07ae161c076059cbf1063ee6e23af4aeb637c76a292d7a9c6f693b855 |