Hey everyone, welcome to part two of the series can python do that
.
Overview of the post
- Update
- 3 Libraries we will be breezing through βοΈ
Update π
I decided to take an extra effort and create a repository which holds beginner level codes for the library been discussed. Those codes mostly will be taken from official documentaiton.
Github Repository
Rohithgilla12 / can-python-do-that
This is official repository of the series "can python do that".
I created a repository in github that will be holding assets for the series π₯³
This repository will include
- Demo Codes (if available)
- Short note on the library
Repository structure
Every folder will be named with Week <number>
, and inside that there would be sub folders with Library
names.
For example, say Week 2
, I discussed about Streamlit, PyLyrics, PDFMiner
The structure would be like this
can-python-do-that
β README.md
|
ββββStreamlit
β β main.py
β β poetry.lock
| | poetry.toml
| | README.md
β β
ββββPyLyrics
β β main.py
β β poetry.lock
| | poetry.toml
| | README.md
β β
ββββPDFMiner
β β main.py
β β poetry.lock
| | poetry.toml
| | README.md
β β
Libraries for the week π»
- Streamlit
- PyLyrics
- PDFMiner
Streamlit
Streamlitβs open-source app framework is the easiest way for data scientists and machine learning engineers to create beautiful, performant apps in only a few hours! All in pure Python. All for free.
This is created using Streamlit, it has less than 50 lines of python
code.
Refer to the repository for the code
You can use the π command to explore more examples.
streamlit hello
PyLyrics
PyLyrics is a python module to get Lyrics of songs from lyrics.wikia.com. It has support for getting albums of a singer and songs from an album from which lyrics can be accessed.
Refer to the repository for the code
PDFMiner
Pdfminer.six is a community maintained fork of the original PDFMiner. It is a tool for extracting information from PDF documents. It focuses on getting and analyzing text data. Pdfminer.six extracts the text from a page directly from the sourcecode of the PDF. It can also be used to get the exact location, font or color of the text.
It is build in a modular way such that each component of pdfminer.six can be replaced easily. You can implement your own interpreter or rendering device to use the power of pdfminer.six for other purposes that text analysis.
PDF File
Python code output
Refer to the repository for the code
If you miss the part one of this series feel free to check that out π
Follow me so that you won't miss new posts under this series.
Thanks for sharing my article, it generates immense happiness and morale boost.
P.S: Please star the project repository if you like it.
Peace βπ»,
Rohith Gilla.
Top comments (2)
No spoilers for next week?
Maybe something related to AI/ML π