...
If you haven’t already, it’s highly recommended you have reviewed Command-line Tools in the Advanced Guide. Installing the python-openstackclient should include the python-swiftclient, but if you need to install it again.
On Ubuntu:
Code Block |
---|
pip install python-swiftclient |
On MacOS, there may be a conflict with the Apple Swift compiler, so be sure the Python bin directory is first in your $PATH (as specified in OSX command line tools) From there you’ll need to install the swift client which can be installed by running:
Code Block |
---|
pip install --user python-swiftclient |
After sourcing your openrc file you can then use the swift command to interact with the object storage. Examples can be found below.
...