Publishing Packages using PoetryPoetry is rapidly gaining recognition as an excellent dependency manager in the Python community. It has risen rapidly to become the dependency manager for various projects across the Python community. But did you know that not only can poetry be use...Feb 3, 2024·2 min read
Encryption and Emojis!Encrypt text in the form of emojis and decrypt them back with the help of CryptmojiAug 15, 2023·1 min read
Formatter for Jupyter notebooksIntroduction If you are into Data Science or Machine Learning, you have probably come across jupyter notebooks (.ipynb files). The problem I faced when using jupyter notebooks was that the black formatter didn't work on them. I had tried using the $...Feb 18, 2023·2 min read
Using if __name__ == '__main__'Many of us have seen the: import something def function(): pass if __name__ == '__main__': # function calls here... pass in one documentation or the other, but what is it? __main__ '__name__' Short Answer It protects users from accid...Sep 5, 2022·2 min read
Packaging and Publishing on PyPIThis post is on "Packaging and Publishing a python library on PyPI". There is a tutorial on Packaging Python Projects in the official PyPI website, but these docs are... outdated. What is PyPI? As the website says: The Python Package Index (PyPI) i...Apr 19, 2022·3 min read
print() in pythonIn this post, I will talk about the print() statement and its parameters. So, I was experimenting with the help() function in python and tried the following command: >>> help(print) Help on built-in function print in module builtins: print(...) ...Jan 16, 2022·3 min read