OpenStack Storage (Swift) Client
Go to file
Tim Burke 7a1e192803 Use bulk-delete middleware when available
When issuing `delete` commands that would require three or more
individual deletes, check whether the cluster supports bulk deletes
and use that if it's available.

Additionally, a new option is added to the `delete` command:

  * --prefix <prefix>

    Delete all objects that start with <prefix>. This is similar to the
    --prefix option for the `list` command.

Example:

$ swift delete c --prefix obj_prefix/

    ...will delete from container "c" all objects whose name begins with
    "obj_prefix/", such as "obj_prefix/foo" and "obj_prefix/bar".

Change-Id: I6b9504848d6ef562cf4f570bbcd17db4e3da8264
2016-01-12 15:40:57 -08:00
bin Make bin/swift testable part 2 2014-03-25 11:36:39 +00:00
doc Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
swiftclient Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
tests Use bulk-delete middleware when available 2016-01-12 15:40:57 -08: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 and changelog update for 2.6.1 release 2015-12-03 15:45:39 -08: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 and changelog update for 2.6.1 release 2015-12-03 15:45:39 -08:00
ChangeLog Fix some typos 2015-12-30 11:01:33 -08:00
CONTRIBUTING.md Workflow documentation is now in infra-manual 2014-12-05 15:32:57 +11: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 Merge "Remove py26 support" 2015-12-10 20:29:16 +00:00
setup.py Sync with global requirements 2013-09-13 11:02:05 -05:00
test-requirements.txt Update mock to get away from env markers 2015-08-06 14:51:10 -07:00
tox.ini Merge "Deprecated tox -downloadcache option removed" 2015-12-15 09:13:09 +00:00

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: