Skip to main content

README banner for firefox-bookmarks

CI Status PyPI License - AGPL v3 or later Code style: YAPF Code style: isort

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

See the examples directory

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.

Release files for firefox-bookmarks 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for firefox-bookmarks 1.2.0
File Size Uploaded
firefox_bookmarks-1.2.0.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for firefox-bookmarks 1.2.0
File Interpreter ABI Platform
firefox_bookmarks-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.4 kB

Release files / firefox_bookmarks-1.2.0.tar.gz

Download URL firefox_bookmarks-1.2.0.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4af39bd2ac53281b142a4797c8229a14175617369c7531254f1ada34444138bc
BLAKE2b-256 checksum
How to use checksums
b9db98b033ba56f69f4312d44a660f59ded262733c1e5dc82992dcedb180d77a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.1 Windows/10

Release files / firefox_bookmarks-1.2.0-py3-none-any.whl

Download URL firefox_bookmarks-1.2.0-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5a43ad62fac8feb42845a4d49ae9b9042b260fd39140d76640425bb93e2eaa6
BLAKE2b-256 checksum
How to use checksums
bc4f4de7060417f5db318eff22957547f87e010e19d2e7cedc8565f234c17e21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.1 Windows/10

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page