2025-11-25 12:48:04 +01:00
2025-11-25 12:48:04 +01:00
2025-10-02 08:33:11 +02:00
2025-11-25 12:48:04 +01:00

#################################################################################
#
# P4U Script for converting Baskets from Digikey / Mouser to P4U format
# Created by Jonas Lingua & Noah Piqué
# Date: 25.11.2025
# Version 1.7
#
################################################################################

## New:
- there was a bug with new digikey baskets that is fixed now

## Infos:
- python3 script

# Instruction Windows:
- Install Python 3 via Softwarekiosk
- Execute"Install_requirements.bat" # You only have to run this command once!
- Execute "P4U-Converter" # This link should be displayed when the requirements have been successfully installed. Drag this link to the place you want.

# Instruction Linux/MacOS:
- Install Python 3 via Softwarekiosk
cd Script
pip install -r requirements.txt # You only have to run this command once!
python app.py # for web-based upload
or
python main.py [mouser/digikey] [filename] [fasttrack] # for console-use
  evt. python3, depending on the installation environment


# Distributor informations
- mouser -> xls file in euros!
- digikey -> csv file in chf!
- please dont change this file

# using the website script for any distributor:
- go to distributor and create cart
- then set currency to euros/chf (See "Distributor informations")
- download cart xls/csv (See "Distributor informations")
- excute the link/command
- upload the file in the webinterface
- click on download
- now you can upload this file to p4u
Description
No description provided
Readme 53 KiB
Languages
Python 51.3%
HTML 39.9%
Batchfile 8.8%