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.
Release files for my_chrome_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)
| File | Size | Uploaded | |
|---|---|---|---|
| my_chrome_bookmarks-1.2.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| my_chrome_bookmarks-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / my_chrome_bookmarks-1.2.0.tar.gz
| Download URL | my_chrome_bookmarks-1.2.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
250cbe22691c863d3628caca478a09cd3cb97d3d131635662154a2262ef4a29b
|
|
BLAKE2b-256 checksum How to use checksums |
1bcc13c96d1e8a1ce7c2526eedac57132d9066df664af03f0c1894879ad2dc1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / my_chrome_bookmarks-1.2.0-py3-none-any.whl
| Download URL | my_chrome_bookmarks-1.2.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d552739d494cb46a89900da562cdd1d31ff6762f8ce96183bc35f4153110e738
|
|
BLAKE2b-256 checksum How to use checksums |
790e8fe572a8b3da1770b4fe33d9a148297d1096cac67d50dc7872579e95683b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|