Skip to main content

Upload to imgur using API(v3). Support CLI, KDE,Zenity(GTK) and Mac dialog upload. And you can also use your account to upload :).

Project description

Upload to imgur using API(v3). Support CLI, KDE, Zenity(GTK) and Mac dialog upload. And you can also use your account to upload :).

Feature

Support upload images(anonymously) or with your account. Support CLI, KDE, Zenity(GTK) and Mac dialog upload

Installation

python setup.py install

or

sudo pip install imgurup

Usage

img [-h] [-f <image path>] [-d [<album id>]] [-g] [-n]

You can just type img without any argument, the program will ask you for another infomation.

But add -f argument with your image file would be easier to use, ex: img -f xx.jpg

After the authentication, the access_token and refresh_token will be saved in ~/.imgurup.conf

Optional arguments:

    -h, --help       show this help message and exit
    -f <image path>  The image you want to upload
    -d [<album id>]  The album id you want your image to be uploaded to
    -g               GUI mode
    -n               Anonymous upload
-s               Add command in the context menu of file manager(Now only support KDE dolphin)

Packcage Dependency

  • None

Todo

  • Cocoa(Mac)

Development

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgurup-1.2.0.tar.gz (8.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page