up2smms
这是基于 picbed 的一个小的扩展模块,用来将上传的图片保存到 sm.ms公共图床
安装
正式版本
$ pip install -U up2smms
开发版本
$ pip install -U git+https://github.com/staugur/picbed-up2smms.git@master
开始使用
此扩展请在部署 picbed 图床后使用,需要 其管理员进行添加扩展、设置钩子等操作。
添加:
请在 站点管理-钩子扩展 中添加第三方钩子,输入名称:up2smms, 确认后提交即可加载这个模块(请先手动安装好此模块)。
配置:
在 站点管理-网站设置 底部的钩子配置区域配置sm.ms的API Secret Token, 若不配置,那么则会匿名上传sm.ms!
使用:
同样在 站点管理-网站设置 上传区域中选择存储后端为up2smms即可, 后续图片上传时将保存到sm.ms!
Metadata
Release files for up2smms 0.1.0
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 |
|---|---|---|---|---|
| up2smms-0.1.0.tar.gz | 2.8 kB | Without provenance | Details for up2smms-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| up2smms-0.1.0-py2-none-any.whl | Python 2 | none | any | Details for up2smms-0.1.0-py2-none-any.whl |
Total release size: 5.7 kB
Release files / up2smms-0.1.0.tar.gz
| Download URL | up2smms-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
786b414ae4e50d10baa758042171f5924618f7b6cc270543b3ff61e19b3b9ecc
|
|
BLAKE2b-256 checksum How to use checksums |
8726d05e7082972a6b2182c5dd9290f344f01181c97c61b5e9aa1c1477c454d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+
|
Release files / up2smms-0.1.0-py2-none-any.whl
| Download URL | up2smms-0.1.0-py2-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3f7b1cec1b93269f4899f132759408bc47f3d6d0255e423430eda4cc2bc89bc1
|
|
BLAKE2b-256 checksum How to use checksums |
d365ddb23e87a41e4a31b228440588a118163f58dd057be69504206265669351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+
|
Security for up2smms 0.1.0
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.