Skip to content

fallback python-based .rtf extraction #88

Open

Description

@deanmalmgren

This is currently using the unrtf command line tool, but it would be nice to have a pure python extraction method as a fallback.

Activity

  1. pombredanne commented on Aug 20, 2015

    @pombredanne
  2. deanmalmgren commented on Aug 29, 2015

    @deanmalmgren
    OwnerAuthor

    Nice find, @pombredanne; thanks for pointing this out!

    If anyone is interested in taking a crack at this, the pdf parser has a pretty good example for how to have multiple methods for extracting text from documents.

  3. jpadilla commented on Aug 29, 2015

    @jpadilla

    @deanmalmgren I'll try to get this done in a few.

  4. deanmalmgren commented on Aug 29, 2015

    @deanmalmgren
    OwnerAuthor

    Awesome, thanks @jpadilla!

  5. jpadilla commented on Aug 29, 2015

    @jpadilla

    For one thing, pyth seems to have issues with charsets on the existing RTF files in textract which will make it harder to test. Might be related to brendonh/pyth#30

  6. pombredanne commented on Aug 29, 2015

    @pombredanne

    @jpadilla indeed, and I ran pyth through the test files from unrtf and submitted a ticket there: brendonh/pyth#34
    Which is an opportunity to help make @brendonh pyth better?

  7. KyleKing commented on Aug 6, 2026

    @KyleKing
    Collaborator

    Unfortunately pyth doesn't appear to be maintained and there doesn't appear to be a good unrtf Python alternative. I'm going to close this ticket while cleaning up the backlog, but I'm open to ideas on implementation and reopening this if there is!

  8. KyleKing commented on Aug 6, 2026

    @KyleKing
    Collaborator

    Actually, https://github.com/joshy/striprtf looks like a good option. If that sounds good to others, I can submit a PR or I would welcome any contributions

  9. self-assigned this
    on Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions