-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Python bindings #2
Comments
I appreciate this is still WIP. With the exception of Extracting attachments. Line 159 in 3aefe76
Any timeline on this feature and anything i can do to help? Just trying to avoid OS calls. Appreciate all the work you have done. |
I'm also curious about support for attachments. I'd be happy to take a look at implementing support for it and opening a PR if you could give me some pointers as to what needs to be done @joachimmetz |
Sorry for the slower response, quite busy at the moment. What needs to be done is adding attachment support to the Python bindings. Which is largely a wrapper around the API. Unless you're very familiar with writing Python bindings, it is likely faster for me to implement it than explain it. But if you want you have a look at the current code. |
No worries, and fair enough! I don't have any prior experience with writing Python bindings unfortunately. Do you have a sense of when you may have the time to tackle this? I see this commented out code: Lines 105 to 118 in 3222929
And at first glance what look like the necessary implementations here: Lines 2089 to 2274 in 3222929
Is there much left to do beyond uncommenting the headers and other definitions? |
I'm also interested in this binding, but have no experience writing this kind of things |
@NicolasBD the Python binding uses the library, either compiled into it or as a separate shared library |
Hello @joachimmetz, did you had the time to implement the python bindings for msg attachments ? it seems that @kujenga saw the code implemented somewhere but i can't use it so far. i'm using the pip package (pip install pypff) which works well for parsing PST files and reading each msg one by one, but i also need to have access to attachements ... thanks in advance, |
Unfortunately no, I have a very busy schedule, and numerous things consume the little available time I have.
I'm unfamiliar with this work, nor has there been a PR from this person. There was #56 however that was closed by the author without any explanation. |
Looks like it is already written in your code ? Lines 2089 to 2274 in 3222929
Thanks in advance, and thanks already for all the great work! |
I made a start, but this needs to be finalized and tested |
Is there a way to get at the attachment by now? I'm working for the first time with Outlook PST files, and thanks to your library got to a list of messages and see this:
Is there any other way to extract all the attachments (Excel files in my case) from the emails in the PST? |
Yes, but currently not with the Python bindings. Use pffexport |
Hello, It would be nice to be able to get the categorization of the emails that are in the .PST file. |
Raul first of all don't hijack this issue. Second per side conversation please read up what a PST files is (a MAPI database). |
Complete work on Python bindings
The text was updated successfully, but these errors were encountered: