QR Code Generator py_qrcode.py Link
This Python script generates QR codes using the qrcode
library. The script prompts the user to input a website or code, generates a QR code for the input, and saves the QR code as an image file. Each generated QR code is uniquely named using a UUID to avoid overwriting existing files.
- Run the script.
- Enter a website URL or code when prompted.
- The script will generate a QR code and save it as a PNG image with a unique name.
- Optionally, you can choose to generate another QR code by entering 'Y' when prompted.
Or install using pip install qrcode, uuid
Weather API Call py_weather.py Link
This script uses the requests library to fetch current weather information from the wttr.in API. It prompts to input a location, and then retrieves and displays the weather details using the "F2" view option.
- Current condition (e.g., Overcast)
- Temperature (e.g., -2°C)
- Wind speed and direction (e.g., 6 km/h ←)
- Visibility (e.g., 10 km)
- Precipitation (e.g., 0.0 mm)
- Python 3.x
- requests
Or install using pip install requests
Inventory Management inventory_management.py Link
A basic inventory management system coded in Python. The script allows users to add, update, remove, and find items in the inventory.
- Add Item: Add a new item to the inventory by providing the name, barcode, and quantity
add_item("name", "barcode", quantity)
. - Update Item: Update the quantity of an existing item in the inventory.
update_item("barcode or name", quantity)
. - Remove Item: Remove an item from the inventory or decrease its quantity.
remove_item("barcode or name", quantity)
. - Find Item: Search for an item in the inventory using its name or barcode.
find_item("item name or barcode")
.
- Create inventory.json file with
{}
within. - Run the script.
- Select an option from the displayed options.
- Python 3.x
- uuid
Or install using pip install uuid
Soundcloud downloader py_soundcloud.py Link
A soundcloud song/playlist downloader made with soundcloud-lib module.
- Track Download
- Playlist Download
- Run py_soundcloud.py
- Select what you wish to download
- Files will save at the same loaction it has ran from.
- soundcloud-lib
pip install soundcloud-lib