The canonical library for interfacing with AWS via Python is Boto. Though it is intended to be used as a library in a Python script, it is simple enough to use independently. You can skim the fine documentation, and this page has an overview of how to use Boto, but here are the important parts:
Put your AWS credentials in ~/.boto
:
[Credentials] aws_access_key_id = FOO aws_secret_access_key = BAR
List your vaults:
$ glacier vaults
Upload a file:
$ glacier upload foo-vault foo.zip
List pending jobs on a particular vault:
$ glacier jobs foo-vault
Though it really isn't easier to use than Boto itself, Amazon Glacier CLI Interface is based on Boto and is in fact designed for end users. Here is a tutorial for it.
Lastly the official AWS-CLI is rather easy to use. Put the credentials in ~/.aws/credentials
and then simply use these commands:
Create a vault:
$ aws glacier create-vault --account-id - --vault-name foo-vault
Upload a file:
$ aws glacier upload-archive --account-id - --vault-name foo-vault --body foo.zip