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 hashes)
Built Distribution
ogimg-0.1.2-py3-none-any.whl
(3.4 kB
view hashes)