Utils to load local chrome bookmarks.
Project description
my-chrome-bookmarks
Python module 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_chrome_bookmarks-1.2.0.tar.gz.
File metadata
- Download URL: my_chrome_bookmarks-1.2.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
250cbe22691c863d3628caca478a09cd3cb97d3d131635662154a2262ef4a29b
|
|
| MD5 |
73a12703583a41f5cf5cf735d8a601ed
|
|
| BLAKE2b-256 |
1bcc13c96d1e8a1ce7c2526eedac57132d9066df664af03f0c1894879ad2dc1e
|
File details
Details for the file my_chrome_bookmarks-1.2.0-py3-none-any.whl.
File metadata
- Download URL: my_chrome_bookmarks-1.2.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d552739d494cb46a89900da562cdd1d31ff6762f8ce96183bc35f4153110e738
|
|
| MD5 |
ae4ec885388ce8b0c0b6649eb71fcf6b
|
|
| BLAKE2b-256 |
790e8fe572a8b3da1770b4fe33d9a148297d1096cac67d50dc7872579e95683b
|