LOL. Sounds like there is a desire.  I will work on cleaning it up, and making it more... hospitable to use.  Today I got it to finally work, I had a big fight getting the auth_callback stuff to finally work right for me  (what is required for using email addresses as usernames from a client perspective it turns out).  Hopefully I can push to github a rough, barely usable, mess of code next week.<br>
<br>As for a CLI client, ocsync with the owncloud module works as a CLI client directly, you don't have to do anything extra.. but it doesn't allow email usernames, I don't know C very well, but I know python, so instead of trying to fix the C client, I just ported the mirall csyncthread.cpp stuff into python (since Mirall eats email usernames fine).. but I don't use threads, I skipped that part.. :)<br>
<br>I used ctypes code generation for the library, so it's bare-bones, right at the C level.  There isn't anything above that at this point, don't get your hopes up for a nice python API... it's not there currently :)<br>
<br>I have a question for you on the Mirall linux client.  How do you store the password?  I'd like to use the same stuff, to make it interoperability easier. At the moment I'm using 0400 dot files in the home dir.  I welcome better plans for password storage.<br>
<br>-Craig<br><br><br><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 5:28 PM, Sandro Knauß <span dir="ltr"><<a href="mailto:bugs@sandroknauss.de" target="_blank">bugs@sandroknauss.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<div class="im"><br>
> Anyways, I have notes on how I did everything, and can share my python<br>
> client code out, if anyone cares (I use ctypes to connect with libocsync).<br>
> It's not remotely cleaned up at this point, and since I've never used<br>
> ctypes before, I expect some bugs.  The code is now running on our test<br>
> instances, and should make production next week. :)<br>
<br>
</div>A cli client AND a python interface to owncloud, that really sounds very<br>
interessting!<br>
<span class="HOEnZb"><font color="#888888"><br>
sandro<br>
</font></span><br>_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
<br></blockquote></div><br>