OpenStack Storage (Swift) Client
Go to file
Tim Burke 9fed7ed5e1 Miscellaneous (mostly test) cleanup
* Always use testtools.TestCase, since we're relying on testtools
 * Always use mock (as opposed to unittest.mock) since we're relying on
   mock
 * Add note about when a missing logging handler was added
 * Stop %-formatting the giant usage string that doesn't actually need
   any formatting
 * Prefer assertIs, assertIn, assertIsInstance over assertTrue
 * Use else-self.fail instead of sentinel values
 * Check resp.get('error') is None before checking resp['success'] is
   True, so test failures actually tell you something useful
 * Tighten some isinstance assertions
 * Import MockHttpTest from correct location
 * Only populate clean_os_environ once
 * Use setUp for setup, not __init__
 * Replace assertIn(key, dict) and assertEqual(foo, dict[key]) with
   assertEqual(foo, dict.get(key)) when key is a literal and foo is not
   None
 * Use mock.patch.object instead of manually patching for tests
 * Use six.binary_type instead of type(''.encode('utf-8'))
 * Stop shadowing builtin bytes
 * Reclaim some margin
 * Stop checking the return-type of encode_utf8; we already know it's
   bytes

Change-Id: I2138ea553378ce88810b7353147c8645a8f8c90e
2015-10-07 22:33:42 -07:00
bin Make bin/swift testable part 2 2014-03-25 11:36:39 +00:00
doc absolute expiry option for tempURL generation 2015-09-04 14:57:30 -07:00
swiftclient Miscellaneous (mostly test) cleanup 2015-10-07 22:33:42 -07:00
tests Miscellaneous (mostly test) cleanup 2015-10-07 22:33:42 -07: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 do hand-curated authors/changelog files 2015-09-04 18:29:30 +01: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 do hand-curated authors/changelog files 2015-09-04 18:29:30 +01:00
ChangeLog updated changelog for 2.6.0 release 2015-09-07 08:20:14 -07: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 Add links for release notes tool 2015-09-08 09:40:36 -07: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 do hand-curated authors/changelog files 2015-09-04 18:29:30 +01: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 Drop flake8 ignores for already-passing tests 2015-08-19 14:54:03 -07:00

Python bindings to the OpenStack Object Storage API

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: