Pythonista Dropbox Sync - Revisited

As mentioned in my previous post the Pythonista Dropbox Sync script has been receiving some improvements as a result of “issues” raised on the GitHub Project. It still has some outstanding issues, but has gained many new features since it was first introduced.

Run Arguments

Pressing and holding the Play button in Pythonista will result in a prompt dialog being displayed to allow arguments to be supplied to the script.

There are three run arguments which can be supplied to this script to change its behaviour.

  1. “-v” turns on FINE level logging in the script
  2. “-vv” turns on full DEBUG level logging in the script
  3. “-c” runs the advanced configuration phase detailed below.

Arguments are processed from first to last, with later arguments taking precedence where there is any overlap.


The initial version of the script which was published required the user to tweak some variables near the start of the file to hold items such as API tokens. This made updating the script to commit, or pulling a new version problematic.

First run configuration

When the script is ran without the “<Pythonista Documents>/dropbox_sync/PythonistaDropbox.conf” file existing, a set of first-run configuration prompts are shown. This just covers the basic configuration of the Dropbox authentication token required for the script to function.

Advanced configuration

Running the script with the “-c” run argument will prompt for input for an advanced set of configuration options.

These are:

  • The file extensions to sync.
    • The default set are: “.py, .pyui, .txt, .conf”.
    • A special value of “*” can be used to sync all file types.
    • Entered values will be merged with the default options.
  • File paths to explicitly skip
    • Multiple paths can be specified by comma separating them.
    • Paths should be relative to the root Pythonista documents folder.

Going Forward

There are still a few bugs to work out in the script, and a few larger enhancements. I’m hoping to get some time over the next month to tackle them, but all contributions are welcome!

You can contribute using this GitHub repository.

(Temporarily) Abandoned, but not forgotten

It has been around 6 months since I last posted a new article on this site.

For the last 6 months I have been in full blown tight deadline project mode, which has resulted in a general lack of ability to pursue personal projects at night time. The one personal project which has seen some updates is the Pythonista Dropbox Sync script.

As this first phase of the project I have been working on is drawing to a close, personal projects and research should be returning. The first item on the list however, will be writing up the Pythonista Dropbox Sync script, as it’s current feature set is described by a set of GitHub issue tickets and nothing else.

Apache as a Reverse Proxy to GlassFish

This is largely just my notes on this problem. It seems like it should be a relatively simple thing to set up, but scattershot documentation, strange failure behaviours and undocumented inconsistencies have made this a major headache to figure out.

» Continue reading

Fitness Tracking

I have been quiet for a little while, in part due to needing a rest in my free time away from code. Now I have some personal projects on the go, and one is about ready to see the light of day.

Since just after Christmas I have been trying to get a bit fitter, and I am trying to achieve this by cycling on an exercise bike. I am getting the hang of playing Xbox games while on the bike (currently a mixture of Watch_Dogs and Saints Row IV) so I can combine a lazy activity with an active one!

Of course I’ve been keeping track of my cycling sessions, since the new year at least, so I wanted to build something to visualise this data.

» Continue reading