用于分析摄影习惯的软件包。
项目描述
photocrawl
一个简单的软件包,用于运行分析和了解我在摄影实践中对设备和设置的运用。
安装
此代码与所有当前支持的Python版本兼容,并要求您在PATH
中安装Phil Harvey的出色ExifTool软件包。您可以在虚拟环境中使用以下命令安装它:
python -m pip install photocrawl
用法
在已激活的环境中安装此软件包后,可以通过python -m photocrawl
或通过新创建的photocrawl
命令来调用。
详细用法如下
Usage: python -m photocrawl [OPTIONS] [IMAGES]
Crawl and ensemble of pictures to run analysis of their metadata and get insight
on one's use of equipment and settings in their practice of photography.
╭─ Arguments ────────────────────────────────────────────────────────────────────╮
│ images [IMAGES] Location, relative or absolute, of the images │
│ directory you wish to crawl. │
│ [default: None] │
╰────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────╮
│ --output-dir TEXT Location, either relative │
│ or absolute, of the output │
│ directory. │
│ [default: outputs] │
│ --show-figures --no-show-figures Whether or not to show │
│ figures when plotting │
│ insights. │
│ [default: no-show-figures] │
│ --save-figures --no-save-figures Whether or not to save │
│ figures when plotting │
│ insights. │
│ [default: no-save-figures] │
│ --log-level TEXT The base console logging │
│ level. Can be 'debug', │
│ 'info', 'warning' and │
│ 'error'. │
│ [default: info] │
│ --install-completion Install completion for the │
│ current shell. │
│ --show-completion Show completion for the │
│ current shell, to copy it │
│ or customize the │
│ installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────╯
脚本将爬取文件,提取EXIF信息,并在新创建的outputs
文件夹(或您指定的文件夹)中输出名为insight_1.png
和insight_2.png
的见解可视化。
输出示例
以下是脚本输出的示例
待办事项
- 处理原始文件。
- 在查找文件时处理子文件夹。
- 在单个/两个图中输出所有见解。
- 实现适当的日志记录。
- 将其制成软件包。
- 使其可作为Python模块调用(
python -m photocrawl ...
)。 - 改进命令行体验。
由 fsoubelet 用❤️制作
MIT © 2019 Felix Soubelet
MIT © 2019 Felix Soubelet
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分布
photocrawl-0.3.2.tar.gz (7.9 MB 查看哈希值)
构建分布
photocrawl-0.3.2-py3-none-any.whl (11.3 kB 查看哈希值)
关闭
photocrawl-0.3.2.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c8662f5032615b29392f1de9de033ad87f65a63b124097b2725a81d1fec074fc |
|
MD5 | 40b454f9cea5a0e38e00e6676a877cd4 |
|
BLAKE2b-256 | 5c43bb00e714eb43b1b847229f5dd63dcd109b887887366a403fd1dcd046b44f |
关闭
photocrawl-0.3.2-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 140d71ea1c52ff583403f4e47717718a70e6f45e2dbb38d365d4c3ed948f0d5b |
|
MD5 | 5946d99d6f17f9f51f9a528a3ab86d89 |
|
BLAKE2b-256 | f348c4c7417ddf7746b1ff5b2c6a7d82cbe11bd200f5c0dec15aceba1b52dced |