Skip to content

potatoscript/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 

Repository files navigation

PotatoPython

Welcome to the official PotatoPython repository! Here, you'll find useful Python Projects and Tutorials to help enhance your development experience.

Contents


Python_Project

menu

This section highlights our core Python project: the potato.py library. It provides essential utilities to streamline common tasks like database connectivity, email notifications, and file management.

Project Description
potato.py The potato.py library offers a collection of utility functions to simplify working with databases, emails, files, and more. This tool is ideal for Python developers looking for efficiency.
JPEG Renamer The JPEG Renamer application automates the process of renaming and organizing JPEG files. It features a user-friendly interface, file management, and detailed logs.

Python_Tutorials

menu

The following tutorials cover a wide range of Python topics, from basic syntax to more advanced programming concepts.

Topic Description
Installation Guide Setup Python and configure your development environment
Hello, World! Your first Python program: print("Hello, World!")
Variables & Data Types Explore data types like int, float, str, bool, and more
String Manipulation Common string operations: upper(), replace(), split()
User Input Collecting user input with input()
Arithmetic Operations Basic math operations: +, -, *, / and more
Math Functions Using the math module for common mathematical operations
Conditionals Learn how to use if, elif, and else statements
Loops - While & For Control flow with while and for loops
Lists & Tuples Storing multiple items in list and tuple containers
Dictionaries & Sets Storing key-value pairs with dict and unordered collections with set
Functions & Recursion Create reusable functions and explore recursion
Exception Handling Gracefully handling errors with try and except
Object-Oriented Programming Work with classes and objects in Python
Modules & Packages Organizing code with modules and packages
Working with Files Read from and write to files using open() and pathlib
Web Scraping Scrape data from websites using BeautifulSoup
Web Development (Django & Flask) Build web applications using Django and Flask
Machine Learning Learn about machine learning with scikit-learn, TensorFlow, and more
Data Analysis Explore data analysis with pandas, numpy, and matplotlib
Game Development Develop games using the pygame library
Python Virtual Environment cover creating, activating, deactivating, checking, and managing packages in a virtual environment.

Advanced Tutorials

menu

If you're looking for more advanced concepts, here are a few additional tutorials:

Topic Description
Unit Testing Ensure code quality with the unittest framework
Multi-threading Run concurrent tasks with multi-threading in Python
Cybersecurity Implement hashing and encryption techniques

Contributing

🥔Potatoscript welcome contributions! If you have a Python project or tutorial that you think would be helpful to the community, feel free to submit a pull request. Here are some ways you can help:

  • Suggest new tutorials or content
  • Report any issues or bugs
  • Improve existing tutorials

License

This project is licensed under the MIT License - see the LICENSE file for details.

menu


Python_Library

menu

Upload library to PIPY

Step 1: Update Version Number

If using setup.py

Edit setup.py and increment the version field:

from setuptools import setup, find_packages

setup(
    name="my_library",  
    version="0.1.1",  # Increase the version number
    packages=find_packages(),
)

If the previous version was 0.1.0, change it to 0.1.1, 0.2.0, etc.

If using pyproject.toml (PEP 517/518)

Edit pyproject.toml and update the version:

[tool.setuptools]
version = "0.1.1"  # Increment version

Step 2: Delete Old Distribution Files

Remove old package files from the dist/ folder:

rm -rf dist/ build/ *.egg-info

Step 3: Rebuild the Package

Rebuild the package with the new version:

For setup.py:

python setup.py sdist bdist_wheel

For pyproject.toml (if using PEP 517/518):

python -m build

Step 4: Re-upload the New Version

Now upload again using Twine:

twine upload dist/*

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published