Skip to main content

Posts

Popular post

[Python]Publish your python project to PyPI

The Python Package Index, also known as PyPI, is a large repository of python packages. Millions of developers all around the world contribute to Python daily by creating python scripts and uploading to PyPI.

In this blog post, I am going to write a simple python script that, on running, will print Hello World on the terminal. Then, going to upload this script to PyPI so that it can be installed on any platform easily using pip or pip3.

Requirements:
1. Github account
2. Basic knowledge of python
3. setuptools - (pip3 install setuptools)
4. wheel - (pip3 install wheel)

By the end of this blog post, you should be able to print hello world using a single command:


Let's get started! The first thing to do is find a unique name for your project. The name that I will call the Hello World script will be print_hello_world. At the time that I am writing this post, there is not package called print_hello_world on PyPI. Logically, after doing this tutorial, there might be one.

1. Create app f…

Latest posts

[Python]Hello World in Flask

[Blockchain]Structure of Blockchains

[Drupal 8]Build a simple hello_world Module

[Drupal]Drupal 8 Sandbox

[Drupal]How to generate an Interdiff

[Drupal]How to Install Drupal from Github

[Android + msf]How to use Metasploit Framework on an Android Device?

[Whatsapp]How to change your friend's status on whatsapp on YOUR phone!

[Favicons]Why use favicons?

[Fixed]Custom Binary blocked by FRP Lock