Wow can python do that? -2
Tags: python, beginners, career, webdev
Published: 2020-06-07 11:46:53

Hey everyone, welcome to part two of the series `can python do that`.

![Welcome back](https://dev-to-uploads.s3.amazonaws.com/i/jhgdl13g7cmd7rdncm3i.gif)

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 

{% github Rohithgilla12/can-python-do-that no-readme %}

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](https://www.streamlit.io/)**
![Streamlit logo](https://assets.website-files.com/5dc3b47ddc6c0c2a1af74ad0/5e181830b827fae3a2541766_RGB_Logo_Vertical_Color_Dark_Bg-p-1600.png)

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.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/zbxf4bt9c4uw7dshddzs.png)
*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.
```bash
streamlit hello
```
_[PYPI](https://pypi.org/project/streamlit/)_
_[Docs](https://docs.streamlit.io/en/latest/)_

### **[PyLyrics](https://pypi.org/project/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.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pttrhvqytivkoxja8yho.png)
_Refer to the repository for the code_

_[PYPI](https://pypi.org/project/PyLyrics/)_
_[Docs](https://github.com/geekpradd/PyLyrics/blob/master/README.md)_

### [PDFMiner](https://github.com/pdfminer/pdfminer.six)
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.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1imz54g1zkkeywy26exz.png)
*PDF File*
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/z2d5j2tgrmbe3gltub04.png)
*Python code output*
_Refer to the repository for the code_


_[PYPI](https://pypi.org/project/pdfminer.six/)_
_[Docs](https://pdfminersix.readthedocs.io/en/latest/)_

_If you miss the part one of this series feel free to check that out 👇_

{% link https://dev.to/gillarohith/wow-can-python-do-that-53ih %}
Follow me so that you won't miss new posts under this series.
{% user gillarohith %}

_Thanks for sharing my article, it generates immense happiness and morale boost._
{% twitter 1267488358999166976 %}
{% twitter 1267824796642885637 %}
{% twitter 1267685127909527552 %}

P.S: Please star the project repository if you like it.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/97noesd8c1tfotjrduu0.gif)
Peace ✌🏻,
Rohith Gilla.