Home

JROC

pywinktransporter

Description

This is a simple command line utility for uploading images to winkflash.com Transporter(TM).

keywords: Linux MAC Windows winkflash transporter python

#
# Transporter(tm) is a trademark of Winkflash
# Winkflash
# 200 Circuit Drive
# North Kingstown, RI 02852
# USA
# www.winkflash.com
#
# The copyright holder makes no claim of affiliation with Winkflash.

The program is a console application and makes it very easy to script uploads to winkflash.com. In many aspects, it is much easier to use than the actual Winkflash Transporter(TM) program available for Windows only. With this tool, it would be easy to create a cron job to monitor a directory for upload.

Installation Notes

Linux / MAC Installation

The project is now also hosted on PyPI - the Python Package Index

at http://pypi.python.org/pypi/PyWinkTransporter/

So, ultimately, the easiest way to install is:

$> easy_install pywinktransporter

or

$> pip install pywinktransporter

If you wish to install from the downloaded tarball:

$> easy_install PyWinkTransporter-0.XXX.tar.gz

or

$> pip install PyWinkTransporter-0.XXX.tar.gz

Brute force install (will require other packages to be installed):

Download the tarball.

$> tar -xzf PyWinkTransporter-0.XXX.tar.gz
$> cd PyWinkTransporter-0.XXX
$> python setup.py install

Windows Installation

  1. Install Python 2.7 from here: http://www.python.org/download/releases/
  2. Download and install setuptools for Python 2.7 from here: http://pypi.python.org/pypi/setuptools#downloads
  3. Open a command window and cd to C:\Python27\Scripts
  4. Use easy_install.exe to install the program like this:

    C:\Python27\Scripts>easy_install.exe pywinktransporter

  5. Afterwards, run the program like this:
    C:\Python27\Scripts>pywinktransporter.exe

If you want to use it without changing directories, add the C:\Python27\Scripts to your path.

*** NOTE: If you install as an Administrator, but run as a different user, some of the python packages will be installed with privileges that may not allow you to use them. If this is the case, you may have to browse to C:\Python27\Lib\site-packages and modify the security/permissions for the packages listed at the end of this wiki.

Examples of uploading to Winkflash:

$> pywinktransporter username password /path/to/image.jpg

$> pywinktransporter username password /path/to/myimages/*.jpg

Once complete, go to a browser and log into winkflash.com. Then navigate to the Transporter(TM) folder.

External Packages Needed:

** NOTE: if you use pip or easy_install the following packages should be automatically installed for you.

python requests # http://pypi.python.org/pypi/requests
beautiful soup 4 # http://pypi.python.org/pypi/beautifulsoup4
progressbar # http://pypi.python.org/pypi/progressbar/

On most systems, those projects above can be downloaded as a tar ball, extracted and installed using something like:

$> tar -xzf tarball.tgz
$> cd tarball
$> sudo python setup.py install

My recommended method for installing most of them is either easy_install or pip.

In brute force install, I installed them like this:

$> umask 022
$> sudo pip install requests
$> sudo pip install beautifulsoup4
$> sudo pip install progressbar

HAPPY UPLOADING!!!

Project Admins: