These libraries can make it easier for you to structure your personal projects.
There is a saying in the Python/Django world: come for the language, stay for the community. That’s true for the vast majority of people, but there’s one more thing that keeps us stuck in the Python world and we don’t want to leave it, and that’s how easily we can take advantage of a lunch or a few hours in the evening , to realize an idea quickly.
This month, we’re going to explore some of the Python libraries we like to use for quick side projects or while we’re at lunch.
Add vx; tanzhouyiwan to receive Python learning materials for free!
Store data instantly in a database: Dataset
When we want to quickly collect data and save it in the database without knowing what the final database table looks like, the Dataset library will be our best choice. The Dataset library has a simple but powerful API, so we can easily save the data and organize it later.
Dataset is built on top of SQLAlchemy, so if you need to extend it, you will feel very familiar. The underlying database model can be easily imported into Django using Django’s built-in inspectdb management command, which makes working with existing databases hassle-free.
Scraping data from the web: Beautiful Soup
Beautif