read/write .webloc files
Project description
Installation
$ [sudo] pip install webloc
$ [sudo] npm i -g webloc
Examples
>>> import webloc
>>> webloc.write("path.webloc","https://www.google.com/")
>>> webloc.read("path.webloc")
'https://www.google.com/'
$ python -m webloc "path.webloc" "https://www.github.com/"
$ python -m webloc "path.webloc"
https://www.github.com/
$ webloc file.webloc https://github.com/
$ webloc file.webloc
https://github.com/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
webloc-2020.12.3.tar.gz
(2.2 kB
view details)
File details
Details for the file webloc-2020.12.3.tar.gz
.
File metadata
- Download URL: webloc-2020.12.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d42becdc4a29c7153c17696d3f6b32dd360a1296b06463d06b2c7ee8c52af85 |
|
MD5 | f6b6c63ec305cd195f7de2d4d9ad22a5 |
|
BLAKE2b-256 | de44bc39d77ae9d8ef4ef9d26b06d0cd0dffdc8dfa91fa8bbec2e15f8958fb94 |