Releases: husk007/generator_PX
**Wersja 4.0 - Rozszerzone Generatory Numerów i Nowa Zakładka "Inne"**
Polish Version
Wersja 4.0 - Rozszerzone Generatory Numerów i Nowa Zakładka "Inne"
Opis:
Nowości w wersji 4.0:
-
Nowa zakładka "Inne":
- Generatory PESEL: Tworzenie polskich numerów PESEL z opcjonalną datą urodzenia. Jeśli data nie jest podana, generowana jest losowa data.
- Generatory NIP: Tworzenie numerów NIP z opcjonalnym kodem urzędu skarbowego. Jeśli kod nie jest podany, generowany jest losowy kod.
- Generatory REGON: Tworzenie numerów REGON z opcjonalnymi początkowymi cyframi. Jeśli początkowe cyfry nie są podane, generowane są losowe cyfry.
- Generatory NRB: Tworzenie numerów rachunków bankowych (NRB) z opcjonalnym numerem banku i numerem rachunku klienta. Jeśli te pola nie są wypełnione, generowane są losowe wartości.
-
Opcjonalne pola wejściowe:
- Użytkownik może teraz pozostawić pola takie jak data urodzenia dla PESEL, kod urzędu skarbowego dla NIP, początkowe cyfry dla REGON czy numer banku i rachunku dla NRB puste. W takim przypadku aplikacja automatycznie wygeneruje odpowiednie losowe wartości.
-
Ulepszone generowanie cyfr kontrolnych:
- Zaktualizowane algorytmy obliczania cyfr kontrolnych dla nowych typów numerów, zapewniające zgodność z obowiązującymi standardami.
-
Interfejs użytkownika:
- Poprawiona intuicyjność i przejrzystość interfejsu, umożliwiająca łatwiejsze przełączanie się między różnymi typami generatorów.
Inne funkcjonalności:
- Eksport do CSV: Możliwość zapisywania wygenerowanych numerów do pliku CSV.
- Drukowanie kodów kreskowych: Generowanie plików PDF z kodami kreskowymi dla wygenerowanych numerów.
- Kopiowanie do schowka: Podwójne kliknięcie na numer w liście kopiuje go do schowka.
- Wysyłanie numerów: Integracja z zewnętrznymi aplikacjami (np. Poczta+) umożliwiająca wysyłanie wybranych numerów.
Poprawki błędów:
- Usunięto błędy związane z generowaniem kodów kreskowych.
- Zwiększono stabilność aplikacji podczas generowania dużej liczby numerów.
- Poprawiono obsługę opcjonalnych pól w zakładce "Inne".
Wymagania:
- Python: wersja 3.x
- Biblioteki Python:
tkinter
pyperclip
python-barcode
Pillow
reportlab
pygetwindow
pyautogui
pywin32
Instalacja:
-
Klonowanie repozytorium:
git clone https://github.com/husk007/generator_PX.git
-
Instalacja wymaganych bibliotek:
pip install -r requirements.txt
-
Uruchomienie aplikacji:
python generator_PX.py
Jak używać:
-
Zakładka "Inne":
- Wybierz typ numeru (PESEL, NIP, REGON, NRB).
- Wprowadź opcjonalne dane lub pozostaw pola puste, aby generować losowe wartości.
- Ustaw ilość numerów, prefix i suffix.
- Kliknij "Generuj".
- Wygenerowane numery pojawią się na liście. Podwójne kliknięcie kopiuje numer do schowka.
- Zaznaczenie numeru wyświetla jego kod kreskowy poniżej listy.
-
Eksport i drukowanie:
- Kliknij "Eksport do CSV", aby zapisać numery do pliku CSV.
- Kliknij "Drukuj kody kreskowe", aby wygenerować plik PDF z kodami kreskowymi.
English Version
Title: Version 4.0 - Extended Number Generators and New "Other" Tab
Description:
What's New in Version 4.0:
-
New "Other" Tab:
- PESEL Generators: Create Polish PESEL numbers with an optional date of birth. If the date is not provided, a random date is generated.
- NIP Generators: Create NIP numbers with an optional tax office code. If the code is not provided, a random code is generated.
- REGON Generators: Create REGON numbers with optional initial digits. If the initial digits are not provided, random digits are generated.
- NRB Generators: Create bank account numbers (NRB) with optional bank number and client account number. If these fields are left empty, random values are generated.
-
Optional Input Fields:
- Users can now leave fields such as date of birth for PESEL, tax office code for NIP, initial digits for REGON, or bank and account numbers for NRB empty. In such cases, the application will automatically generate appropriate random values.
-
Improved Control Digit Generation:
- Updated algorithms for calculating control digits for the new number types, ensuring compliance with current standards.
-
User Interface:
- Enhanced intuitiveness and clarity of the interface, allowing easier navigation between different types of generators.
Other Functionalities:
- Export to CSV: Ability to save generated numbers to a CSV file.
- Print Barcodes: Generate PDF files with barcodes for the generated numbers.
- Copy to Clipboard: Double-clicking a number in the list copies it to the clipboard.
- Send Numbers: Integration with external applications (e.g., Poczta+) allowing sending selected numbers.
Bug Fixes:
- Fixed issues related to barcode generation.
- Increased application stability when generating a large number of numbers.
- Improved handling of optional fields in the "Other" tab.
Requirements:
- Python: version 3.x
- Python Libraries:
tkinter
pyperclip
python-barcode
Pillow
reportlab
pygetwindow
pyautogui
pywin32
Installation:
-
Clone the Repository:
git clone https://github.com/husk007/generator_PX.git
-
Install Required Libraries:
pip install -r requirements.txt
-
Run the Application:
python generator_PX.py
How to Use:
-
"Other" Tab:
- Select the type of number (PESEL, NIP, REGON, NRB).
- Enter optional data or leave fields empty to generate random values.
- Set the quantity, prefix, and suffix.
- Click "Generate".
- Generated numbers will appear in the list. Double-click to copy a number to the clipboard.
- Selecting a number displays its barcode below the list.
-
Export and Printing:
- Click "Export to CSV" to save numbers to a CSV file.
- Click "Print Barcodes" to generate a PDF file with barcodes.
Generator Numerów Nadawczych - v1.0.0
Tracking Number Generator v.1.0.0
##Description
This program is a graphical tracking number generator for postal services. It allows you to generate numbers in PX and APM formats, export them to CSV files, print barcodes in PDF format, and send numbers directly to other applications.
##Features
Generate PX numbers with a check digit. Generate auxiliary APM numbers with a length of 9 or 10 characters. Export generated numbers to a CSV file. Print barcodes in Code 128 standard to a PDF file. Send selected numbers to external applications via the HID interface. Copy selected numbers to the clipboard. Intuitive graphical interface with tabs for different types of numbers.