GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HCLTech-SSW/python-simple-swiftclient: The project python-simple-swiftclient can be used for operating the operations of OpenStack Swift Mitaka release as a Client to manage objects using python standard libraries.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
python_simple_swiftclient
python_simple_swiftclient
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

Title python-simple-swiftclient
Description This project is owned by HCL Tech System Software team to provide the simple swift client to support the object upload and download operation over OpenStack Swift.
Owner of the Project HCL Tech System Software Team
Contributor HCL Tech System Software Team
Mail To [email protected]
Tags python-simple-swiftclient, swift-client, swift-python-library, simple-swiftclient
Created 2017 Jun 05
Modified 2017 Jun 06

python-simple-swiftclient

Overview of the Project

The project python-simple-swiftclient can be used for operating the operations (Upload and Download) of OpenStack Swift Mitaka release as a Client to manage objects using python standard libraries.

How to Install

In order to install the client, the following command will be used:

pip install python-simple-swiftclient 

How to Execute

For Upload operation the following command will be executed:

python-simple-swiftclient --os-username [username] --os-password [password] --os-project-name [project name] --os-auth-url [http://yourhost:35357/v3] --os-user-domain-name [user domain name] --os-project-domain-name [project domain name] --os-storage-url [http://yourhost:8080/v1/AUTH_tenant_id] --operation-type upload --container [container name] --upload-path [Upload path of File or Directory]

For Download operation the following command will be executed:

python-simple-swiftclient --os-username [username] --os-password [password] --os-project-name [project name] --os-auth-url [http://yourhost:35357/v3] --os-user-domain-name [user domain name] --os-project-domain-name [project domain name] --os-storage-url [http://yourhost:8080/v1/AUTH_tenant_id] --operation-type download --container [container name] --object [Name of the object to be downloaded] --download-path [Download path of File] 

Example for Operations

The following directory structure explained as an example for Upload and Download operation: 

dir1
|-- dir2
|    |-- image1.jpg 
|-- dir3
|    |-- sample.txt 

Example 1:

$ python-simple-swiftclient [...] --operation-type upload --container [container name] --upload-path dir1/dir2/image1.jpg 

This command will create an object over OpenStack swift named as **dir1/dir2/image1.jpg**

Example 2:

$ python-simple-swiftclient [...] --operation-type upload --container [container name] --upload-path dir1/ 

This command will create 2 objects over OpenStack swift named as **dir1/dir2/image1.jpg** and **dir1/dir3/sample.txt**

Example 3:

$ python-simple-swiftclient [...] --operation-type download --container [container name] --object dir1/dir2/image1.jpg --download-path /home/admin/download

This command will download image1.jpg from OpenStack swift to /home/admin/download

About

The project python-simple-swiftclient can be used for operating the operations of OpenStack Swift Mitaka release as a Client to manage objects using python standard libraries.

Topics

python-swiftclientsimple-swiftclientswift-clientswift-python-library

Resources

Readme
GPL-2.0 license
Activity

Stars

2 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.