Git Product home page Git Product logo

pysusestudio's Introduction

                                                                                                                          
             __                __ _             _ _       
 _ __  _   _/ _\_   _ ___  ___/ _\ |_ _   _  __| (_) ___  
| '_ \| | | \ \| | | / __|/ _ \ \| __| | | |/ _` | |/ _ \ 
| |_) | |_| |\ \ |_| \__ \  __/\ \ |_| |_| | (_| | | (_) |
| .__/ \__, \__/\__,_|___/\___\__/\__|\__,_|\__,_|_|\___/ 
|_|    |___/                                              

A SUSE Studio library for Python!

Features:
  Up-to-date with Suse Studio api.
  Actively under development.
  Supports all of the Suse Studio api endpoints.
  

Getting started:
  This is a Python library that works with the Suse Studio API. This libraries uses XML-RPC, that’s not necessarily good but I just thought it fit better in to Python since XML-RPC is part of the standard python library. The format that the API functions return is a nested dictionary, it might change later to something more palatable. Other features include a streamlined authentication process and an integrated upload method. Anyway, this whole library came to be because I am working on a Suse Studio client that I will be releasing shortly i think. Here is how it works:

username = 'myusername'
password = 'mypassword' 
    
# Instantiate with Basic (HTTP) Authentication
objSS = pySuseStudio(username, password)

# This returns the Account information
account = objSS.getAccount()
print account


Installing:  
  You may use easy_install to quickly get pysusestudio installed on your system:
      easy_install pysusestudio  (run as root)
  You may also clone/download the source code and then execute:
      python setup.py install (run as root)
  If you wish you may also bundle the pySuseStudio package with your application.

Souce code:
  Google Code: <http://code.google.com/p/pysusestudio/> (questions/feature request/bug reports/anything else)

TODO:
  Python 3 support.
  Streaming API support.
  Cache system (memory, file, memcache client)

Author: Gianluca Urgese <[email protected]>
License: GPL v.2 http://www.gnu.org/licenses/gpl.txt
Dependencies:
  Python 2.5+
  Simplejson <http://undefined.org/python/#simplejson>
  HTTPLib2 <http://code.google.com/p/httplib2/>
    


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.