Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Created October 13, 2014 20:23
Show Gist options
  • Save jmchilton/df6861854d75ec81b68e to your computer and use it in GitHub Desktop.
Save jmchilton/df6861854d75ec81b68e to your computer and use it in GitHub Desktop.
upload.py
from bioblend import toolshed
ts = toolshed.ToolShedInstance(url='http://localhost:9009/', key="3eb77b8c27ae339e1d8056473ce1d6c2")
print ts.key
rl = ts.repositories.update_repository('adb5f5c93f827949', 'test_repo.tar.gz')
print rl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment