Skip to main content

Posts

Showing posts with the label python

Changing python version in gitpod

I have always had this problem modifying using a particular version of python on gitpod. Until I knew this simple trick to switch between the python versions. If you have not heard of gitpod its time for you to use it as running code online instead of local machine helps you when you have a CPU intensive processes and there are a lot of free to use online web apps that enable you to start with using powerful CPU and extends to GPU and TPU as well. I will be sharing a blog post soon on all the free tools you could use to boost up your productivity. So if you are already using gitpod and want to switch between python versions its simpler than you think Run this to check all the python versions available:    pyenv versions So to install a new version of python you simply have to run this:   pyenv install 3.7.6 (Or whatever version you want) That will basically download and install. Now you need to make sure to configure it for the existing workspace, t...

Python module download stats

I would like to show you how to add a widget to your personal website or blog to show your python package download stats Firstly make sure you have a valid package on  Python Package Index . If you never know that you can upload your own package then head over to  upload your package to the Python Package Index  and upload one. Copy your package name which ends at  https://pypi.org/project/ googleDriveFileDownloader PACKAGE_NAME : googleDriveFileDownloader and replace it in the below URL https://img.shields.io/pypi/dm/ PACKAGE_NAME?color=green You can now go to the link and it would show you the download count on of the package(As shown below). Download stats — Python Package You even have the flexibility to change the color of the count by simply adding a  color  attribute to the link and embed it where ever you want to as an image. Example embed code : <a href=" https://pypi.org/project/ PACKAGE_NAME / " alt="PACKAGE_NAM...