How to publish python package to pypi

Create your account https://pypi.org/ Create a .pypirc configuration file [distutils] index-servers = pypi pypitest [pypi] repository=https://pypi.python.org/pypi username=your_username password=your_password Prepare your packet setup.cfg [metadata] description-file = README.md setup.py from distutils.core import setup setup( name = 'mypackage', packages = ['mypackage'], # this…

How to publish an npm package

Create a User Account Create user: npm adduser or register at npm.org Login user: npm login Check current user: npm whoami Prepare package code { "name": "...", "version": "0.0.1", "description": "...", "devDependencies": {}, "main": "…