Skip to main content

Uploading code to PyPi made easy

Project description

PyPi Install


PyPi-Install enables you to upload Python code on pypi using just a single function call. After running this, you can install your library using the famous pip install mylibary command from any terminal.


This libaray only attempts to automate steps listed on the official website Furthermore, if you want to know more about pypi, head here


Pre Requisites

Before using, you must have the following:

  • Your code uploaded on GitHub
    • Copy your github URL link
  • Your account made on PyPi
    • Remember your username and password, they will be used in the code below

Install using pip:

pip install pypi-install

Configure all connection parameters here.

from pypi_install import pypi_install as PI
pypirc_username="my_pypi_username" # for e.g. "new_john"
pypirc_password= "my_pypi_password" # for e.g. "john123"
directory_of_new_folder = "path_new_directory" # for e.g. "/home/USER/New_Folder"
version_number="your_project_version_no" # for e.g. "0.0.2"
author_name_full="full_author_name" # for e.g. "John Smith"
author_email="author_email" # for e.g.
short_description="short_description" # for e.g. "My first PyPi project"
github_url="your_code_github_url" # for e.g.
python_version="python_version_in_your_computer" for e.g. "3" or "2"
name_of_project="name_of_pypi_project" for e.g. "my_pypi_code"
directory_of_python_files=["PATH/","PATH/"] # Include all the python files here
Uploading the code!

Run Your function

make_pypi_folders(pypirc_username,pypirc_password,directory_of_new_folder,name_of_project,directory_of_python_files,version_number,author_name_full,author_email,short_description,github_url,python_version,invoke_python_by_name='python',license_type="MIT License",operating_system="OS Independent") # There, your code is uploaded on pypi! It's that easy!
Checking your recently installed package

To check your package, run this in terminal:

pip install your_package_name

It should be installed!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypi-install, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pypi_install-0.0.5.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View
Filename, size pypi_install-0.0.5-py2-none-any.whl (5.0 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page