send2trash
textract
send2trash | textract | |
---|---|---|
2 | 4 | |
258 | 3,784 | |
- | - | |
4.5 | 3.5 | |
28 days ago | 20 days ago | |
Python | HTML | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
send2trash
-
Following Automate the boring stuff - p235, does send2trash third party module no longer work?
This GitHub issue might be relevant as well.
-
I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations.
And here are some libraries that might pique your interest although they don't strictly answer your question: - tqdm for adding a progress bar on for loops (it comes with useful information like iteration per second and estimated time needed to finish) - alive_progress adds a progress bar like tqdm, but it works even with generators and while loops which I don't think tqdm does. -timebudget, with just a decorator as soon as a function is completed it prints the time taken to execute it - send2trash for sending files to the trash bin instead of permanently deleting them - keyboard for sending keyboard inputs or check if a key is pressed - mouse same as keyboard but with mouse buttons - textract for extracting text from many types of file with a single interface. It supports documents, powerpoint presentations, csv, excels, images, gifs, audio, and many more
textract
- How to give a file path to a file parser when you only have an HTTPRequest?
-
pdf2doi : A python library to retrieve the DOI (or other identifiers) from a pdf file
Scan the text inside the .pdf file, and check for any string that matches the pattern of a DOI or an arXiv ID. The text is extracted with PyPDF2 and textract.
-
I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations.
And here are some libraries that might pique your interest although they don't strictly answer your question: - tqdm for adding a progress bar on for loops (it comes with useful information like iteration per second and estimated time needed to finish) - alive_progress adds a progress bar like tqdm, but it works even with generators and while loops which I don't think tqdm does. -timebudget, with just a decorator as soon as a function is completed it prints the time taken to execute it - send2trash for sending files to the trash bin instead of permanently deleting them - keyboard for sending keyboard inputs or check if a key is pressed - mouse same as keyboard but with mouse buttons - textract for extracting text from many types of file with a single interface. It supports documents, powerpoint presentations, csv, excels, images, gifs, audio, and many more
-
Textract: Extract text from a large variety of file formats
Huh. Must have made a mistake posting the original link. Anyway, this is what I meant: https://textract.readthedocs.io
What are some alternatives?
best-of-python - 🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
alive-progress - A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
python-goose - Html Content / Article Extractor, web scrapping lib in Python
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
html2text - Convert HTML to Markdown-formatted text.
more-itertools - More routines for operating on iterables, beyond itertools
python-readability - fast python port of arc90's readability tool, updated to match latest readability.js!
timebudget - Stupidly-simple speed measurements for Python.
sumy - Module for automatic summarization of text documents and HTML pages.