RETIRED, further work has moved to Debian project infrastructure
Go to file
Tim Burke a38efb6031 Add v1password keystoneauth plugin
This lets us use Keystone sessions against endpoints like swauth and
tempauth with code like:

    import keystoneauth1.loading
    import keystoneauth1.session
    import swiftclient

    loader = keystoneauth1.loading.get_plugin_loader('v1password')
    auth_plugin = loader.load_from_options(
        auth_url='http://saio:8080/auth/v1.0',
        username='test:tester',
        password='testing')
    keystone_session = keystoneauth1.session.Session(auth_plugin)

    conn = swiftclient.Connection(session=keystone_session)

The plugin includes an optional project_name option, which may be used
to override the swift account from the storage url that was returned.
Additionally, it includes enough infrastructure to support some commands
in python-openstackclient>=3.0:

    export OS_AUTH_TYPE=v1password
    export OS_AUTH_URL=http://saio:8080/auth/v1.0
    export OS_PROJECT_NAME=AUTH_test2
    export OS_USERNAME=test:tester
    export OS_PASSWORD=testing

    openstack token issue
    openstack catalog list
    openstack catalog show object-store
    openstack object store account show
    openstack container list
    openstack container create <container>
    openstack container save <container>
    openstack container show <container>
    openstack container delete <container>
    openstack object list <container>
    openstack object create <container> <file>
    openstack object save <container> <object>
    opsentack object show <container> <object>
    openstack object delete <container> <object>

Change-Id: Ia963dc44415f72a6518227e86d9528a987e07491
2016-10-24 01:52:37 +02:00
bin Make bin/swift testable part 2 2014-03-25 11:36:39 +00:00
doc Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
examples Add new doc structure and contents for swiftclient 2016-04-29 19:21:36 +01:00
swiftclient Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
tests Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:54:40 +00:00
.functests Fix running the unittests under py3 2014-05-09 09:29:04 +02:00
.gitignore do hand-curated authors/changelog files 2015-09-04 18:29:30 +01:00
.gitreview Add openstack project infrastructure. 2012-05-16 17:30:46 -04:00
.mailmap authors/changelog updates for 2.8 release 2016-02-26 09:09:47 -08:00
.manpages adding .manpages script to swift client 2016-02-25 16:07:28 -05:00
.testr.conf Fix running the unittests under py3 2014-05-09 09:29:04 +02:00
.unittests Add functional tests for python-swiftclient 2014-05-05 11:53:37 +02:00
AUTHORS authors/changelog updates for 2.8 release 2016-02-26 09:09:47 -08:00
CONTRIBUTING.md Workflow documentation is now in infra-manual 2014-12-05 15:32:57 +11:00
ChangeLog bumped version at request of release team 2016-03-02 12:00:05 +00:00
LICENSE Add CHANGELOG LICENSE and MANIFEST.in 2012-05-08 16:30:13 +01:00
MANIFEST.in Switch to pbr for setup. 2013-05-01 12:23:12 -04:00
README.rst improve readme contents 2015-11-19 16:26:14 +08:00
requirements.txt Remove simplejson dependency 2015-05-20 18:14:53 -07:00
run_tests.sh Add run_tests.sh script here. 2012-05-21 12:52:55 +02:00
setup.cfg Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
setup.py Sync with global requirements 2013-09-13 11:02:05 -05:00
test-requirements.txt Move python-keystoneclient to "extras" 2016-03-07 11:21:33 -08:00
tox.ini Move python-keystoneclient to "extras" 2016-03-07 11:21:33 -08:00

README.rst

Python bindings to the OpenStack Object Storage API

Latest Version

Downloads

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.

This code is based on original the client previously included with OpenStack's Swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents: