Using 115 for hosting image.
Installation
You can install from pypi
pip install -U p115imghost
Usage
$ p115imghost -h
usage: p115imghost [-h] [-b BASE_URL] [-c COOKIES] [-cp COOKIES_PATH] [-v] [-l] [file ...]
115 图床(每张图片不大于 50 MB)
positional arguments:
file 图片路径或链接
options:
-h, --help show this help message and exit
-b, --base-url BASE_URL
图片的基地址
- 如果不传,上传到 U_4_-1,获取永久的图片链接
- 如果传 "",上传到 U_4_-1,获取一次性的图片链接,有效时间 1 小时
- 其它(例如 "http://localhost:8000?image=1"),上传到 U_12_0,视为 302 代理,会把 user_id、id、pickcode、sha1 和 size 作为查询参数拼接到其后
-c, --cookies COOKIES
cookies 字符串,优先级高于 -cp/--cookies-path
-cp, --cookies-path COOKIES_PATH
cookies 文件保存路径,默认为当前工作目录下的 115-cookies.txt
-v, --version 输出版本号
-l, --license 输出授权信
Metadata
Release files for p115imghost 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| p115imghost-0.0.2.tar.gz | 14.8 kB | Without provenance | Details for p115imghost-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| p115imghost-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for p115imghost-0.0.2-py3-none-any.whl |
Total release size: 31.2 kB
Release files / p115imghost-0.0.2.tar.gz
| Download URL | p115imghost-0.0.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07fad2904737641811ec48ad559d4dd9e1573fa649cf34f638169679e5ad49b1
|
|
BLAKE2b-256 checksum How to use checksums |
1b82be60ef65ff222acd315baeb18d4bcc4b35ada404af7cb839937316698d63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / p115imghost-0.0.2-py3-none-any.whl
| Download URL | p115imghost-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
085835d0d1c0f090ab4011694341703609077aa9e6fb27764e91d36f99daca5b
|
|
BLAKE2b-256 checksum How to use checksums |
f02390537b692ed68990bbe7e2eca6ddbbcd17067be439c090f3a79cd406406f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Security for p115imghost 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.