Installation
iso-week-date is published as a Python package on pypi, and it can be installed with pip, or directly from source using git, or with a local clone:
python -m pip install iso-week-date
python -m pip install git+https://github.com/FBruzzesi/iso-week-date.git
git clone https://github.com/FBruzzesi/iso-week-date.git
cd iso-week-date
python -m pip install .
Dependencies
- To work with
IsoWeekandIsoWeekDateclasses, no additional dependencies are required. -
pandas, polars and/or pydantic functionalities require the installation of the respective libraries.
python -m pip install "pandas>=1.0.0" python -m pip install "iso-week-date[pandas]"python pip install "polars>=0.18.0" python pip install "iso-week-date[polars]"python pip install "pydantic>=2.4.0" python pip install "iso-week-date[pydantic]"