images-upload-cli 4.0.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: images-upload-cli
3
+ Version: 4.0.0
4
+ License-File: LICENSE
5
+ Summary: Upload images via APIs
6
+ Keywords: image,upload,cli
7
+ License: MIT
8
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
+ Project-URL: Source Code, https://github.com/deadnews/imgup
10
+
11
+ # imgup
12
+
13
+ > Upload images via APIs
14
+
15
+ [![Rust: Crates.io](https://img.shields.io/badge/dynamic/json?url=https://crates.io/api/v1/crates/imgup&query=$.crate.max_stable_version&prefix=v&label=crates.io&logo=rust&logoColor=white&color=orange)](https://crates.io/crates/imgup)
16
+ [![PyPI: Version](https://img.shields.io/pypi/v/images-upload-cli?logo=pypi&logoColor=white)](https://pypi.org/project/images-upload-cli)
17
+ [![AUR: version](https://img.shields.io/aur/version/imgup-bin?logo=archlinux&logoColor=white)](https://aur.archlinux.org/packages/imgup-bin)
18
+ [![GitHub: Release](https://img.shields.io/github/v/release/deadnews/imgup?logo=github&logoColor=white)](https://github.com/deadnews/imgup/releases/latest)
19
+ [![CI: Main](https://img.shields.io/github/actions/workflow/status/deadnews/imgup/main.yml?branch=main&logo=github&logoColor=white&label=main)](https://github.com/deadnews/imgup)
20
+ [![CI: Coverage](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/deadnews/imgup/refs/heads/badges/coverage.json)](https://github.com/deadnews/imgup)
21
+
22
+ **[Installation](#installation)** • **[Hostings](#hostings)** • **[Usage](#usage)** • **[Env Variables](#env-variables)**
23
+
24
+ ## Installation
25
+
26
+ ```sh
27
+ # PyPI
28
+ uv tool install images-upload-cli
29
+
30
+ # AUR
31
+ yay -S imgup-bin
32
+ ```
33
+
34
+ ## Hostings
35
+
36
+ | host | key required | return example |
37
+ | :------------------------------------ | :----------: | :--------------------------------------------------- |
38
+ | [beeimg](https://beeimg.com/) | - | `https://beeimg.com/images/{id}.png` |
39
+ | [catbox](https://catbox.moe/) | - | `https://files.catbox.moe/{id}` |
40
+ | [fastpic](https://fastpic.org/) | - | `https://i120.fastpic.org/big/2022/0730/d9/{id}.png` |
41
+ | [freeimage](https://freeimage.host/) | + | `https://iili.io/{id}.png` |
42
+ | [gyazo](https://gyazo.com/) | + | `https://i.gyazo.com/{id}.png` |
43
+ | [imageban](https://imageban.ru/) | + | `https://i2.imageban.ru/out/2022/07/30/{id}.png` |
44
+ | [imgbb](https://imgbb.com/) | + | `https://i.ibb.co/{id}/image.png` |
45
+ | [imgchest](https://imgchest.com/) | + | `https://cdn.imgchest.com/files/{id}.png` |
46
+ | [imgur](https://imgur.com/) | - | `https://i.imgur.com/{id}.png` |
47
+ | [lensdump](https://lensdump.com/) | + | `https://i.lensdump.com/i/{id}.png` |
48
+ | [pixeldrain](https://pixeldrain.com/) | + | `https://pixeldrain.com/api/file/{id}` |
49
+ | [pixhost](https://pixhost.to/) | - | `https://img75.pixhost.to/images/69/{id}_img.png` |
50
+ | [ptpimg](https://ptpimg.me/) | + | `https://ptpimg.me/{id}.png` |
51
+ | [sxcu](https://sxcu.net/) | - | `https://sxcu.net/{id}.png` |
52
+ | [thumbsnap](https://thumbsnap.com/) | + | `https://thumbsnap.com/i/{id}.png` |
53
+ | [tixte](https://tixte.com/) | + | `https://{domain}.tixte.co/r/{id}.png` |
54
+ | [uplio](https://upl.io/) | + | `https://upl.io/i/{id}.png` |
55
+ | [uploadcare](https://uploadcare.com/) | + | `https://ucarecdn.com/{id}/img.png` |
56
+ | [vgy](https://vgy.me/) | + | `https://i.vgy.me/{id}.png` |
57
+ | [zpic](https://zpic.biz/) | + | `https://zpi.cx/b/{id}.png` |
58
+
59
+ ## Usage
60
+
61
+ ```sh
62
+ Usage: imgup [OPTIONS] <IMAGES>...
63
+
64
+ Arguments:
65
+ <IMAGES>... Image files to upload
66
+
67
+ Options:
68
+ -H, --hosting <HOSTING> Hosting service to use [default: imgur]
69
+ [possible values: beeimg, catbox, fastpic, freeimage,
70
+ gyazo, imageban, imgbb, imgchest, imgur, lensdump,
71
+ pixeldrain, pixhost, ptpimg, sxcu, thumbsnap, tixte,
72
+ uplio, uploadcare, vgy, zpic]
73
+ -f, --format <FORMAT> Output format for the links [default: plain]
74
+ [possible values: plain, bbcode, html, markdown]
75
+ -t, --thumbnail Create captioned thumbnails
76
+ -n, --notify Send desktop notification on completion
77
+ --no-clipboard Disable copying the result to the clipboard
78
+ --env-file <ENV_FILE> Path to .env file. Overrides default config path
79
+ -j, --jobs <JOBS> Max concurrent uploads [default: 4]
80
+ -v, --verbose... Increase verbosity (-v for info, -vv for debug)
81
+ -h, --help Print help
82
+ -V, --version Print version
83
+ ```
84
+
85
+ ## Env Variables
86
+
87
+ ```ini
88
+ FREEIMAGE_KEY=
89
+ GYAZO_TOKEN=
90
+ IMAGEBAN_TOKEN=
91
+ IMGBB_KEY=
92
+ IMGCHEST_KEY=
93
+ IMGUR_CLIENT_ID=
94
+ LENSDUMP_KEY=
95
+ PIXELDRAIN_KEY=
96
+ PTPIMG_KEY=
97
+ THUMBSNAP_KEY=
98
+ TIXTE_KEY=
99
+ UPLIO_KEY=
100
+ UPLOADCARE_KEY=
101
+ VGY_KEY=
102
+ ZPIC_KEY=
103
+ ```
104
+
105
+ These can be set as environment variables or in a `.env` file:
106
+
107
+ - Unix: `~/.config/imgup/.env`
108
+ - MacOS: `~/Library/Application Support/imgup/.env`
109
+ - Windows: `C:\Users\<user>\AppData\Roaming\imgup\.env`
110
+
@@ -0,0 +1,6 @@
1
+ images_upload_cli-4.0.0.data/scripts/imgup.exe,sha256=3IA8NIzY4tVQxTEGU2U191d2D1_LNKfJSFDBnkxhOFU,6679040
2
+ images_upload_cli-4.0.0.dist-info/METADATA,sha256=MwKedlgNBAIpbeIYCw0COHOwgm4azV3yGha0c5Wgp_Q,5805
3
+ images_upload_cli-4.0.0.dist-info/WHEEL,sha256=uJOc2U-Q1x95AlblQcqMRb3iR4QnPtdI7X2ycPN99rM,94
4
+ images_upload_cli-4.0.0.dist-info/licenses/LICENSE,sha256=6veSCA4WKTOYoxswPx_ArrWXZWSfhWb_QPKCJ34o6N0,1086
5
+ images_upload_cli-4.0.0.dist-info/sboms/imgup.cyclonedx.json,sha256=QxdB0k4NYfcz3YEi5yTGtXp60aly9ZEw84z0rjdhEMU,245809
6
+ images_upload_cli-4.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.12.6)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 DeadNews
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.