/pip-package-template

pip package template perfect for noobs with easy straight forward instructions

Primary LanguagePythonMIT LicenseMIT

Welcome to pip package template 👋

Version Maintenance License: MIT Twitter: Flashouttt

pip package template perfect for noobs with easy straight forward instructions

Install

Download or Gitclone this project

Usage

  1. Make sure to ofc have Python 3.9.7 downloaded & added to PATH
  2. Open powershell and cd to the project directory
  3. Login or create a pypi account
  4. Open setup.up
    • Replace PACKAGE_NAME_HERE at line 7 with your desired package name
    • Then replace the folder named PACKAGE_NAME_HERE to your desired package name
  5. Install twine if you don't have it using pip install twine
  6. Run these commands
python setup.py sdist
python -m twine upload dist/*
  1. You will then be asked to enter your pypi account details once done u can view your package at the link given
  2. To use enter from PACKAGE_NAME import *

Update

  1. Open powershell and cd to the project directory
  2. Open __init__.py
    • And update the version number
  3. Run these commands
pip install -e .
python setup.py sdist
bdist_wheel --universal
twine upload dist/*
  1. You will then be asked to enter your pypi account details once done u can view your package at the link given

(u don't have to install new updated version using pip since pip install -e . installs it for you)

Author

👤 CookiesKush420

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 CookiesKush420.
This project is MIT licensed.