Python SDK Pre-Release 0.5

Last post 06-13-2008 8:58 PM by BarryR. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-09-2008 8:57 AM

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 466

    Python SDK Pre-Release 0.5

    I have attached to this post the pre-release of the Python SDK.  This has only had light testing and has a number of things that still need to be added.  The major functionality should be in place as well as 100% coverage of all web service calls. There are a number of helper functions to be added.

    Please see the Readme.pdf for instructions as well as an overview of the Object model.  I look forward to hearing some reviews of this version and will try to get the next release out soon.

    Regards,
        Barry R.

  • 05-23-2008 8:20 AM In reply to

    • vvarp
    • Top 100 Contributor
    • Joined on 05-22-2008
    • Posts 2

    Re: Python SDK Pre-Release 0.5

    Hi, I've checked and it works great for me with all basic stuff! Many thanks and keep up the good work!
  • 06-13-2008 8:45 PM In reply to

    • bej34
    • Top 10 Contributor
    • Joined on 11-12-2007
    • Posts 39

    Re: Python SDK Pre-Release 0.5

    Can you post an example of how to use the upload call?

    http://www.brianjinwright.com
    Filed under:
  • 06-13-2008 8:57 PM In reply to

    • vvarp
    • Top 100 Contributor
    • Joined on 05-22-2008
    • Posts 2

    Re: Python SDK Pre-Release 0.5

     

    bej34:

    Can you post an example of how to use the upload call?

     Just browse source code for test suites included with Python SDK - there is a plenty of examples for most common cases

  • 06-13-2008 8:58 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 466

    Re: Python SDK Pre-Release 0.5

     There is an included file called unittests.py which has several sample calls including an upload call.


    from nirvanix import Nirvanix
    from nirvanix import Session
    from nirvanix import NirvanixUploader

    session = Session(appKey, Username, Password)

    uploader = NirvanixUploader(session)
    uploader.uploadfile('filetoupload.txt', '/destfolder/', 'destfile.txt')

    Let me know if you need any other examples thare are not covered in the brief unit tests.

    Regards,
        Barry R.

Page 1 of 1 (5 items)