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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
ogimg-0.1.0-py3-none-any.whl
(3.4 kB
view hashes)