A Python CLI for downloading metadata images (e.g., OG images) from web pages.
Project description
ogimg
A Python CLI for downloading metadata images (e.g., OG images) from web pages.
References
- OpenGraph.xyz.
imghdr
module.- PDM-VSCode plugin.
Development
pdm config python.use_venv False
+pdm config python.use_venv
pdm install
pdm run ogimg --help
pdm run ogimg https://github.com/joaopalmeiro/nbadge
pdm run black .
+pdm run isort .
Notes
- Pyflow:
- Commands:
pip install wheel
(GitHub issue).pyflow init
orpyflow new ogimg
.pyflow install metadata_parser click
.pyflow install black --dev
andpyflow install isort --dev
.pyflow clear
andpyflow reset
.pyflow -V
.pyflow install
.pyflow ogimg --help
orpyflow ogimg https://github.com/joaopalmeiro/nbadge
.pyflow black .
andpyflow isort . --profile black
.
- tools like
black
don't work with VSCode (open) issue. - Incomplete package install issue.
- Running ipython fails with
No module named 'pexpect'
(open) issue.pyflow install tomli typed-ast --dev
. - pyflow randomizes the order of pyflow.lock every time I run a script through it (open) issue.
- Commands:
- Twine documentation.
pdm add -dG format black isort
.pdm add metadata_parser click
.pdm config python.use_venv
.
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
ogimg-0.1.2.tar.gz
(2.7 kB
view details)
Built Distribution
ogimg-0.1.2-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file ogimg-0.1.2.tar.gz
.
File metadata
- Download URL: ogimg-0.1.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8a65d2f2de115e66f695ab7bed42eb1af36bd83109f6c44656f79ba421cc01 |
|
MD5 | ffe5099d266b391f850cda60bf9fa334 |
|
BLAKE2b-256 | 41fdc9e5d76a25245c4b7757f5df9edcbf24d2d33932242ccbeaf865fee350d6 |
File details
Details for the file ogimg-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ogimg-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6990681017af52adac50b06502ce6b1baedd5984492cf5e0e3ec34d7ba128642 |
|
MD5 | 8ec632470f7e755dcfd76cd8c58707fd |
|
BLAKE2b-256 | 87ce983e60ecf52050b5ce56810066fa8e7d9f89ae3145634fe9f77682857bb5 |