Comments (6)
Possible file-conversion API - CloudConvert
It has a Python Wrapper, as well - python-cloudconvert
However, the py-wrapper is licensed under GPLv2, while textract is under the MIT license.
They are partially incompatible, so that might be an issue.
from textract.
I'm open to any of those options. Whatever is the most effective and functionally correct is great as far as I'm concerned.
I'm not as familiar with audio, but the convert
unix command is great for converting images between various formats. Is there an equivalent command for audio so we don't have to hit a cloud API for conversion?
As far as having a dependency on a GPLv2 library, I don't think that's a problem. Just include it in requirements/python
and we should be good to go. Things get messy when you actively distribute the source of the GPL-ed code with your package, which we aren't doing.
from textract.
Not exactly equivalent, but I think a combo of ffmpeg, flac, etc..., could do the trick.
Won't be as portable as a cloud-solution, but definitely faster.
I'll test both solutions out, and see how it goes.
Exactly, that's the problem - it isn't hosted on PyPi/other, so we'd have to include the source.
from textract.
Exactly, that's the problem - it isn't hosted on PyPi/other, so we'd have to include the source.
Ahh, I see. I'd recommend taking a similar approach as in #17 then and starting a PR that includes a setup.py to install the library as a python package. It doesn't have to be hosted on PyPi for us to include it so long as it has a setup.py. For example, we can add something like this to our requirements/python
as soon as you get something working:
-e git+http://github.com/arvindch/python-cloudconvert@setup-branch#egg=CloudConvert
from textract.
Ah, alright then. Sounds good.
I'll explore our options, and finalize something after some testing.
from textract.
I found a cool cmdline tool - sox.
sox audio.x temp.wav
textract temp.wav
Looks straightforward, and easy to implement.
Works really well on my end.
I'll have some initial code up in a while.
edit - Code is up - PR #62.
from textract.
Related Issues (20)
- Use of `antiword`
- Textract.process returns empty bytes object for EPUBs from DBNL collection
- OS (WINDOWS) SUPPORT HOT 2
- mp3 text extraction Exception - 5MB~ file
- Error in textract setup command w/ extract-msg<=0.29.* due to Wheel 0.40.0 HOT 2
- textract3-1.6.4.post1 and textract-1.6.5 compilation error: error in beautifulsoup4 setup command: use_2to3 is invalid. HOT 1
- Use latest six HOT 3
- progress bar for long documents
- Replace Antiword with a Python alternative HOT 2
- Is textract still maintained? HOT 5
- Support for .one (OneNote) files
- textract 1.6.5 has a non-standard dependency specifier extract-msg<=0.29.* HOT 2
- error message whilest pip installing HOT 1
- Requesting compatibility for red hat linux
- Non-Standard Dependency Specifier with pip 24.0 HOT 1
- textract 1.6.5 has a non-standard dependency specifier extract-msg<=0.29.* HOT 2
- Transfer the project to jazzband? HOT 5
- pstotext Preventing Packaging
- Suggestion: Add support for .pdf files
- pip install failing on windows 10 when installing from git HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textract.