Skip to main content

Utils to load local chrome bookmarks.

Project description

my-chrome-bookmarks

PyPI version

Python extension to read local Chrome bookmarks.

Installation:

pip install my-chrome-bookmarks

Usage:

import my_chrome_bookmarks

# Get the top-level folder.
# Equivalent to `my_chrome_bookmarks.bookmarks().bookmark_bar`
bookmarks = my_chrome_bookmarks.bookmark_bar()

# Note: `bookmarks.urls` and `bookmarks.folders` also exists
for bookmark in bookmarks:
    if bookmark.is_folder:  # Folder
        print(f'{bookmark.name} contain {bookmark.num_urls} urls')
    else:  # Url
        print(f'{bookmark.name}: {bookmark.url}')


bookmark = bookmarks['My folder']  # Access a specific bookmark or folder

See the source code for the full API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my_chrome_bookmarks-1.0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

my_chrome_bookmarks-1.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file my_chrome_bookmarks-1.0.1.tar.gz.

File metadata

  • Download URL: my_chrome_bookmarks-1.0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for my_chrome_bookmarks-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ad9779b6a064379cce54146d47b91ef2ea977d3c03d1cc265d71fc70095e8c0d
MD5 8686bcf844170923f754d122810dfd4a
BLAKE2b-256 aa88fd40d6c2f5b345561bfe5d082b3a67003e05a3af1ce2f61e60735f822947

See more details on using hashes here.

File details

Details for the file my_chrome_bookmarks-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for my_chrome_bookmarks-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 491146d363983a2d2e8f3d8fab448b06c81e314410192a60bbbdf4560316a0cb
MD5 446bf60894680992e57b9e2fcaf9a285
BLAKE2b-256 7e3c335a59dd1377e7d94d84d41169515005c85982939c7a17093641f034365b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page