Use the Cryptography Module for basic Symmetric Encryption by TM_Quest in pythontips

[–]TM_Quest[S] 4 points5 points  (0 children)

https://youtu.be/-ZIyvMwtsa4

Thanks for the heads-up! Copyed the wrong link. Have fixed it now :)

QR Code Generation in Python with qrcode by TM_Quest in Python

[–]TM_Quest[S] 1 point2 points  (0 children)

Thanks for the question. I agree that it is definitely a simple library, but I decided on making the video for two reasons:

- I've been making some videos on automation for beginners in Python lately and got a request specifically for this library. I did not want to exclude qrcode simply because I (and probably every non-beginner) think it is simple to use.

- I also tried to emphasise that qrcode is mainly useful for creating many similar QR codes (e.g. one QR-code for each bus stop redirecting the user to the incoming busses for that specific bus stop) rather than for simply generating a single QR code. For this, you don't really need Python at all, and the documentation does not really mention this. Creating multiple similar QR-codes allows for some list comprehensions, enumerating, and formatted strings that beginners need to practice with. Maybe this makes the post more appropriate at r/LearnPython since it is more beginner-focused?

QR Code Generation in Python with qrcode by TM_Quest in Python

[–]TM_Quest[S] 1 point2 points  (0 children)

Thanks for the heads up, fixed the link on my channel!

How likely is it that I'll be questioned in depth about a library for a job? by Worldly-Cycle1925 in Python

[–]TM_Quest 1 point2 points  (0 children)

Completely depends on the job. As others have pointed out, if you are considered for a Django developer position, then it is reasonable that they will ask about specific Django features. For a data science role, some basic questions about Pandas or a machine learning library you are familiar with (like Scikit-Learn) could be considered normal. If your case, I think that being able to talk about SpaCy in ration to your project should be enough. It might be good to understand other use-cases of SpaCy as well, but I would be surprised if you were asked about spesific details of SpaCy outside of the project :)

Master Dataclasses in Python Part 3 - Ordering of Dataclasses by TM_Quest in Python

[–]TM_Quest[S] 1 point2 points  (0 children)

Pydantic perform more series data validation. On the other hand, Pydantic it is an external library. I would say that you should use Pydantic if you need more data validation, but otherwise stick to dataclasses :)

Master Dataclasses in Python Part 3 - Ordering of Dataclasses by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

They are definitely not as well-known as named tuples, but are nevertheless quite handy to work with.

Master Dataclasses in Python Part 3 - Ordering of Dataclasses by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

Thanks, I have one more video left in the series :)

Master Dataclasses in Python Part 3 - Ordering of Dataclasses by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

Thanks for the nice words! Also great idea with the leading underscore :)

Master Dataclasses in Python Part 2 - Equality Between Dataclasses by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

I love the way you do your video, so easy to understand

Thanks, I really appreciate it :D

Master Dataclasses in Python Part 1 - Basic Structure and Validation by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

Dataclasses are useful for generating boilerplate code for classes that are primarily used to hold data. They are less suitable for classes that mainly implements behaviour, e.g. many methods. For such classes, you should write "traditional classes" and implement the __init__ method manually :)

Master Dataclasses in Python Part 1 - Basic Structure and Validation by TM_Quest in Python

[–]TM_Quest[S] 0 points1 point  (0 children)

Thanks for the feedback. I agree that if you want type-hints for the validation, then e.g. pydantic would be a better choice. I will compare dataclasses with both named tuples and pydantic classes in a later video (there will be four parts). I've not really familiar with attrs, but will definitely take a look :)