Dni do Emerytury
Narzędzie CLI (Command Line Interface) do obliczania pozostałych dni i godzin roboczych do emerytury. Program uwzględnia polskie święta oraz pozwala na konfigurowanie wieku emerytalnego.
Funkcjonalności
- Oblicza dni i godziny robocze pozostałe do emerytury.
- Uwzględnia polskie święta państwowe (za pomocą biblioteki
holidays). - Konfigurowalny wiek emerytalny (domyślnie 60 dla kobiet, 65 dla mężczyzn).
- Zapisuje konfigurację (datę urodzenia, datę rozpoczęcia pracy, płeć, wiek emerytalny) w pliku
~/.config/dni-do-emerytury.yaml. - Opcja
--reconfiguredo łatwej zmiany ustawień.
Instalacja
Możesz zainstalować dni-do-emerytury za pomocą pipx (zalecane dla narzędzi CLI):
pipx install dni-do-emerytury
Jeśli nie masz pipx, możesz zainstalować go za pomocą pip:
pip install pipx
pipx ensurepath
pipx install dni-do-emerytury
Użycie
Po zainstalowaniu, uruchom program wpisując:
dni-do-emerytury
Przy pierwszym uruchomieniu zostaniesz poproszony o podanie daty urodzenia, daty rozpoczęcia pracy, płci oraz docelowego wieku emerytalnego. Dane te zostaną zapisane w pliku ~/.config/dni-do-emerytury.yaml.
Ponowna konfiguracja
Aby zmienić ustawienia, użyj flagi --reconfigure:
dni-do-emerytury --reconfigure
Program wyświetli aktualne wartości jako domyślne, a Ty możesz je zaakceptować (wciskając Enter) lub wprowadzić nowe.
Rozwój
Projekt jest dostępny na GitHubie: https://github.com/theundefined/dni-do-emerytury
Licencja
Ten projekt jest udostępniany na licencji MIT. Zobacz plik LICENSE po więcej szczegółów.
Uwaga
Ten program został stworzony z dużą pomocą sztucznej inteligencji Gemini. Chociaż dołożono wszelkich starań, aby zapewnić jego poprawność, zawsze zachowaj ostrożność i zweryfikuj wyniki, zwłaszcza w kwestiach finansowych lub prawnych. Używasz go na własne ryzyko.
Metadata
Release files for dni-do-emerytury 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dni_do_emerytury-0.2.1.tar.gz | 7.7 kB | With provenance | Details for dni_do_emerytury-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dni_do_emerytury-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for dni_do_emerytury-0.2.1-py3-none-any.whl |
Total release size: 14.9 kB
Release files / dni_do_emerytury-0.2.1.tar.gz
| Download URL | dni_do_emerytury-0.2.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd8a03425d7335f5f1ca735489e8b40bce1746c18af9f8b29e3e0c11d0a73076
|
|
BLAKE2b-256 checksum How to use checksums |
11cbb1710ed16502ead6b205e050e2b45a54598cddc02b1bf9899206d5f6f180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 12, 2026.
Transparency logRelease files / dni_do_emerytury-0.2.1-py3-none-any.whl
| Download URL | dni_do_emerytury-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a80a546781354bad609e8a0cc2fd48eb59020d9912d5debe38c2dc34e217a522
|
|
BLAKE2b-256 checksum How to use checksums |
41f91cc33581a7d6e6bc2c73113ab478c7d14de59f95e9db82362fd47b6d0ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 12, 2026.
Transparency logSecurity for dni-do-emerytury 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dni_do_emerytury-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.