Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version 1 Authentication End of Life - 1/29/2021

Install

  1. Make sure you have Python version 2.5 or higher (download python)

    • Windows: Set the PYTHONPATH environment variable 
      On your desktop, right-click My Computer, and then click Properties. In the System Properties dialog box, click Advanced, and then click Environment Variables. Under User variables for <username> (the top half of this window), click New. In the New User Variable dialog box, type "PYTHONPATH" in the Variable name box. In the Variable Value box, type "%PYTHONPATH%;C:\YourPythonFolder" (replace "C:\YourPythonFolder" with the location where you installed Python), and then click OK.

  2. Download the swiftthe swift.py scriptpy script

  3. Navigate to the location where the script is installed and type "swift.py" - you should see a list of all the script options

  4. Test the connection (replace "account", "username" and "password" with your own)

    Code Block
    languagebash
    swift.py -A https://cloud.sdsc.edu/auth/v1.0 -U <account>:<username> -K <password> stat


  5. Set environment variables to avoid having to type common options each time:

...