loading...
Cover image for Wow can python do that? -2

Wow can python do that? -2

gillarohith profile image Rohith Gilla ・3 min read

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

Welcome back

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 logo 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 logo

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
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

PYPI
Docs

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
Refer to the repository for the code

PYPI
Docs

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.

Alt Text
PDF File
Alt Text
Python code output
Refer to the repository for the code

PYPI
Docs

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.

gillarohith image

Thanks for sharing my article, it generates immense happiness and morale boost.



P.S: Please star the project repository if you like it.
Alt Text
Peace ✌🏻,
Rohith Gilla.

Discussion

pic
Editor guide
Collapse
muhimen123 profile image
Muhimen

No spoilers for next week?

Collapse
gillarohith profile image
Rohith Gilla Author

Maybe something related to AI/ML πŸ˜‹