1. 30 Oct, 2015 3 commits
    • Stavros Sachtouris's avatar
      Implement a stream download method, use it in cat · 9fa0fe6f
      Stavros Sachtouris authored
      "kamaki file cat" can now output data as they are being downloaded
      It is also safe to pipe it
      The new library method "stream_down" is implemented in
          "kamaki.clients.PithosClient" and it sequentially downloads
          parts of a remote object to a buffer, which is then written to
          the destination. The destination descriptor is prepared and
          provided by the caller (i.e., "kamaki file cat"). Each part of
          the object is downloaded asynchronously, though.
      9fa0fe6f
    • Stavros Sachtouris's avatar
      Fix pep8 errors on affected files · 2efb0894
      Stavros Sachtouris authored
      Used flake8 to check for pep8 errors
      2efb0894
    • Stavros Sachtouris's avatar
      Support uploading an object to different account · 71a2170b
      Stavros Sachtouris authored
      The term "different account" refers to a user account that is not
      the same as the one running the request.
      
      The most notable example is when user A uploads something to a
      directory owned by user B, provided user B has granted write
      permissions to user A.
      71a2170b
  2. 08 Sep, 2015 1 commit
  3. 04 May, 2015 1 commit
    • Stavros Sachtouris's avatar
      Return object-related request headers in downloads · 9fb02168
      Stavros Sachtouris authored
      Refs grnet/kamaki#96
      
      Affects the class "kamaki.clients.pithos.PithosClient" and more
      specifically the methods "get_object_hashmap", "download_object"
      and "download_to_string".
      
      All affected methods will now accept an optional placeholder
      "headers" dict as a parameter.
      9fb02168
  4. 25 Aug, 2014 1 commit
  5. 16 Jun, 2014 1 commit
  6. 05 Jun, 2014 1 commit
  7. 23 May, 2014 1 commit
  8. 21 May, 2014 2 commits
  9. 29 Apr, 2014 1 commit
  10. 01 Apr, 2014 2 commits
  11. 17 Mar, 2014 1 commit
  12. 05 Mar, 2014 1 commit
  13. 28 Feb, 2014 1 commit
  14. 26 Feb, 2014 2 commits
  15. 28 Jan, 2014 1 commit
  16. 24 Jan, 2014 1 commit
  17. 23 Jan, 2014 2 commits
  18. 17 Jan, 2014 1 commit
  19. 10 Jan, 2014 2 commits
    • Stavros Sachtouris's avatar
      Remove fstat from clients.utils.readall · d58df7c0
      Stavros Sachtouris authored
      Refs: #4871
      
      Fstat was used to compute the actual file size in order to
      distinguish if an empty read was because the file ended.
      It now considers an empty read to be an end of file.
      
      This allows reading non-regular files.
      d58df7c0
    • Stavros Sachtouris's avatar
      Remove fstat from clients.utils.readall · e9195e9d
      Stavros Sachtouris authored
      Refs: #4871
      
      Fstat was used to compute the actual file size in order to
      distinguish if an empty read was because the file ended.
      It now considers an empty read to be an end of file.
      
      This allows reading non-regular files.
      e9195e9d
  20. 07 Jan, 2014 2 commits
  21. 11 Dec, 2013 6 commits
  22. 25 Nov, 2013 1 commit
  23. 24 Oct, 2013 2 commits
  24. 07 Oct, 2013 1 commit
    • Stavros Sachtouris's avatar
      Create a step by step showcase kamaki.lib example · 6c068db6
      Stavros Sachtouris authored
      Refs: #4441
      
      This example involves astakos, pithos, image and cyclades clients
      It also shows how to use kamaki.cli.config to get cloud information
      It attempts to create a cluster of VMs from a user-created image,
      from scratch.
      6c068db6
  25. 05 Aug, 2013 1 commit
  26. 02 Aug, 2013 1 commit