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.
imghdrmodule.- PDM-VSCode plugin.
Development
pdm config python.use_venv False+pdm config python.use_venvpdm installpdm run ogimg --helppdm run ogimg https://github.com/joaopalmeiro/nbadgepdm run black .+pdm run isort .
Notes
- Pyflow:
- Commands:
pip install wheel(GitHub issue).pyflow initorpyflow new ogimg.pyflow install metadata_parser click.pyflow install black --devandpyflow install isort --dev.pyflow clearandpyflow reset.pyflow -V.pyflow install.pyflow ogimg --helporpyflow ogimg https://github.com/joaopalmeiro/nbadge.pyflow black .andpyflow isort . --profile black.
- tools like
blackdon'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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
|