A simple Python CLI app to convert PLN to major currencies (USD, EUR, GBP, CHF, NOK, DKK, CAD, SEK). Fetches real-time rates from Frankfurter API and displays results in a clear table. Easy to use, interactive, and perfect for quick currency conversions.
🎥 Watch on YouTube starting December 29, 2025 ↗
- 💱 Convert PLN to multiple currencies at once
- ⏱️ Real-time exchange rates via Frankfurter API
- 🖥️ Interactive console interface
⚠️ Input validation for negative numbers and non-numeric entries- 📊 Display results in a formatted table using
tabulate
Clone the repository:
git clone https://github.com/<twoje-konto>/python-currency-cli.git
cd python-currency-cliInstall dependencies:
pip install requests tabulateRun the main script:
python main.pyWhen prompted:
- Enter the amount in PLN (e.g.,
100,250) - Or type
nieafter a conversion to close the program.
Podaj kwotę w PLN: 100
============================================
Przeliczenie 100 PLN na wszystkie waluty:
Data kursu: 2025-12-09
+------+----------------+--------+---------+
| Kod | Waluta | Kwota | Kurs |
+------+----------------+--------+---------+
| USD | Dolar ameryk. | 25.34 | 0.2534 |
| EUR | Euro | 22.78 | 0.2278 |
| ... | ... | ... | ... |
+------+----------------+--------+---------+This project is licensed under the MIT License.
See the LICENSE file for details.
- Currency rates: Frankfurter API
Created by Greg — PotegaIT YouTube: @PotegaIT
Prosta aplikacja konsolowa w Pythonie do przeliczania PLN na najpopularniejsze waluty (USD, EUR, GBP, CHF, NOK, DKK, CAD, SEK). Pobiera aktualne kursy z API Frankfurter i wyświetla wyniki w czytelnej tabeli. Łatwa w użyciu, interaktywna i idealna do szybkich konwersji walut.
🎥 Obejrzyj na YouTube już od 29 grudnia 2025 ↗
- 💱 Przeliczanie PLN na wiele walut jednocześnie
- ⏱️ Aktualne kursy walut w czasie rzeczywistym dzięki API Frankfurter
- 🖥️ Interaktywny interfejs konsolowy
⚠️ Walidacja danych wejściowych (liczby ujemne, niepoprawne wartości)- 📊 Wyświetlanie wyników w sformatowanej tabeli z użyciem
tabulate
Sklonuj repozytorium:
git clone https://github.com/<twoje-konto>/python-currency-cli.git
cd python-currency-cliZainstaluj zależności:
pip install requests tabulateUruchom główny skrypt:
python main.pyPo wyświetleniu komunikatu:
- Wpisz kwotę w PLN (np.
100,250) - Lub wpisz
niepo konwersji, aby zakończyć program.
Podaj kwotę w PLN: 100
============================================
Przeliczenie 100 PLN na wszystkie waluty:
Data kursu: 2025-12-09
+------+----------------+--------+---------+
| Kod | Waluta | Kwota | Kurs |
+------+----------------+--------+---------+
| USD | Dolar ameryk. | 25.34 | 0.2534 |
| EUR | Euro | 22.78 | 0.2278 |
| ... | ... | ... | ... |
+------+----------------+--------+---------+Projekt udostępniony na licencji MIT.
Szczegóły w pliku LICENSE.
Kursy walut: Frankfurter API
- Stworzone przez Greg — PotegaIT
- YouTube: @PotegaIT