Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A simple command line client for uploading files to Imgur.

Project Description
# imgur-uploader

A simple command line client for uploading files to Imgur.

Created for my [PyCon US 2015 Docker tutorial](https://us.pycon.org/2015/schedule/presentation/312/) so that students using my cloud servers can see the gifs they create at the end of exercise 1.

This tool is open source under the [MIT License](LICENSE).

## Quickstart

### Getting Imgur API credentials

Go to https://api.imgur.com/oauth2/addclient and register a new Imgur API client. You will need an Imgur account to do this.

You can put it any valid URL for the callback URL - we won't be using it.

### Installing imgur-uploader

Installing imgur-uploader is easy. It runs on versions of Python >=2.7 or >=3.3.

1. Clone this repository
1. Install the tool with `pip install -e .`
1. Set the following environment variables using your client's credentials:
- `IMGUR_API_ID`
- `IMGUR_API_SECRET`

### Using imgur-uploader

Upload an image by running `imgur-uploader path/to/my.gif`

The tool return a shortened link to your uploaded gif upon completion:

```
Uploading file output.gif
...
File uploaded - see your gif at http://i.imgur.com/6WsQPpw.gif
```
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
imgur_uploader-0.1.0-py2.py3-none-any.whl (4.4 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Apr 13, 2015
imgur-uploader-0.1.0.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Apr 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting