GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yi-yun/PicgoScript: iOS 基于 Pythonista 的图片上传

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
ImageBed.py
ImageBed.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

iOS图片上传

介绍

  • Pythonista 这个被称为神器不是没有原因的,能利用 Python 获取 iOS 的原生接口,这一条就能打败 80% 的应用。68RMB 真的物超所值!

  • 腾讯云的对象存储 这篇文章介绍了详细内容

配置环境

  1. 打开 Pythonista 输入

    import requests as r
    exec(r.get('https://bit.ly/get-stash').text)

    运行即可在目录下得到 launch_stash.py,打开这个文件再次点击运行即可进入控制台

  2. 输入 pip install -U cos-python-sdk-v5 安装环境,若报错可将 -U 去掉,之后再安装缺少的模块即可

  3. 下载这个文件,配置相应参数 PS:需要五处

使用

在相册中分享图片,选中 Run Pythonista Script,选中相应的脚本 run 剪贴板就会有 MarkDown 形式的链接

PS:可以设置图床脚本显示在 Pythonista 首页

文档参考

StaSh - Shell Like an Expert in Pythonista

腾讯云对象存储 SDK 文档

About

iOS 基于 Pythonista 的图片上传

Topics

imagepythonpythonistatecentcloud

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.