steps are:
install cookiecutter:
python -m pip install cookiecutterrun cookiecutter to initiate a project:
cookiecutter('https://github.com/audreyr/cookiecutter-pypackage.git')under the project folderon github, start a new repo
python_prjrun
git initin the local project folder and commitrun
git remote add origin git@github.com:username/projectname.git- using git@git requires to setup the ssh key pair, this can be found by easily google it or under FAQ of github
run
git push -u origin master
that is it, enjoy.
if you use pycharm it will add a folder called .idea under the root folder, this should also add to git repor if needed.