Coder Social home page Coder Social logo

vman45 / python-cloudfiles-hubic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gu1/python-cloudfiles-hubic

0.0 1.0 0.0 2.65 MB

Python language bindings for Cloud Files API with HubiC Authentication support

Home Page: http://www.rackspacecloud.com

License: Other

Python 100.00%

python-cloudfiles-hubic's Introduction

python-cloudfiles-hubic

IMPORTANT NOTE: The original python-cloudfiles bindings are no longer being maintained and their use is deprecated in favor of pyrax. The HubiC fork will be maintained for the time being, until pyrax has been more widely adopted.

Python language bindings for Cloud Files API, modified to add HubiC Authentication support

Goal

Being able to use tools already compatible with Cloud Files with HubiC, OVH's own cloud storage service. HubiC is based on the same underlying protocol as RackSpace's Cloud Files: OpenStack Object Storage aka Swift. Only authentication is different. This is a modified version of the official Cloud Files python bindings which add support for HubiC authentication.

How to use

The HubiC API uses OAuth 2.0 since 2014. You need to generate app credentials in your account settings and put those in the AUTHURL.

Use Case: Duplicity

From wikipedia:

Duplicity is a software suite that provides encrypted, digitally signed, versioned, remote backup of files requiring little of the remote server. Duplicity has the ability to store encrypted backups on Cloud Files using python-cloudfiles. With this modified version of python-cloudfiles, it gains the ability to connect to HubiC.

Example

export CLOUDFILES_USERNAME="YOUR_HUBIC_EMAIL"
export CLOUDFILES_APIKEY="YOUR_HUBIC_PASSWORD"
export CLOUDFILES_AUTHURL='hubic|YOUR_CLIENT_ID|YOUR_CLIENT_SECRET|YOUR_REDIRECT_URL'
duplicity /local/dir/to/backup cf+http://default

python-cloudfiles-hubic's People

Contributors

brimcfadden avatar chmouel avatar danudey avatar dpgoetz avatar forestbond avatar gabrielhurley avatar gu1 avatar jamesv avatar jcallicoat avatar jjchoy avatar kvnloo avatar mshuler avatar ncw avatar noodley avatar notmyname avatar pandemicsyn avatar prestontimmons avatar rconradharris avatar redbo avatar richleland avatar sannies avatar sasimpson avatar sorenisanerd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.