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.1.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5dace029c1fe34cc242178f54519ad277584012795d3a1a1fb6469c43a4e68 |
|
MD5 | 370a5eaef43d6c0d84ec0195e83c9b71 |
|
BLAKE2b-256 | 01c56e4a68f7188213e6c78b5920df1f73ef4b4d525b5d7637888873f5c09d9e |
Close
Hashes for firefox_bookmarks-1.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5861e822c8d0d9a84027bd1af575c7d6c42ac25fa691a44d3616eee56a8dab |
|
MD5 | 7ed0c3ec92a125e20bfe154d649a0346 |
|
BLAKE2b-256 | bbe1e600f8cdd289fd52d1585ec336a501aa480a1377478f021ec9f9c57779aa |