bookmarks-parser
Parsing Netscape bookmark (Google Chrome, Firefox, ... export files) .
Installation
$ pip install bookmarks-parser
Usage
parse Usage
The function parse returns a list of nested dicts representing the directory structure of your bookmarks file.
import pprint
import bookmarks_parser
bookmarks = bookmarks_parser.parse("bookmarks.html")
pprint.pprint(bookmarks)
parse Output Examples
parse_flat Usage
The function parse_flat returns all bookmarks in a single, non-nested list.
import pprint
import bookmarks_parser
bookmarks = bookmarks_parser.parse_flat("bookmarks.html")
pprint.pprint(bookmarks)
parse_flat Output Examples
Development
Install uv
$ uv sync
run tests
$ uv run pytest --cov=bookmarks_parser
License
Metadata
Release files for bookmarks-parser 0.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 | Provenance | Actions |
|---|---|---|---|---|
| bookmarks_parser-0.2.0.tar.gz | 2.5 kB | Without provenance | Details for bookmarks_parser-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bookmarks_parser-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for bookmarks_parser-0.2.0-py3-none-any.whl |
Total release size: 5.6 kB
Release files / bookmarks_parser-0.2.0.tar.gz
| Download URL | bookmarks_parser-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef709aa03df1db48846249056f6eb7838ac67bb8b83551be130fb97c7506bf26
|
|
BLAKE2b-256 checksum How to use checksums |
d9116656bbef24540218a8c4d894e9bb05f9dd25879924d6ce6ab126ef9d40bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / bookmarks_parser-0.2.0-py3-none-any.whl
| Download URL | bookmarks_parser-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dda8a45c71897e34d68de68d4f29ec861d565770a33b2ce035ff16768dbb795
|
|
BLAKE2b-256 checksum How to use checksums |
1a6ce61aea814d3dee3d9620c4850ed1d7812d4949f66e1aba884ce4e6995542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for bookmarks-parser 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.