python-bizdays
In several countries and markets, the accountability of the price of a financial instrument, mainly bonds and derivatives, involves the use of different rules to compute the way the days go by. In Brazil, several financial instruments pay interest according to the business days along their life cycle. So, having a way to compute the number of business days between 2 dates is fairly useful to price financial instruments. bizdays was created to make it easier.
bizdays computes business days between two dates based on the definition of nonworking days (usually holidays and weekends). It also computes other collateral effects like adjust dates for the next or previous business day, check whether a date is a business day, create sequences of business days, and much more.
Several financial libraries compute the holidays, giving no option to users set it by their own. Furtherly, the financial calendar is usually a small feature of a huge library, as quantlib, for example, and some users, including myself, don't want to put a hand in such a huge library only to use the financial calendar.
bizdays is a pure Python module without strong dependencies, what makes it appropriated for small projects.
Release files for bizdays 1.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bizdays-1.0.19.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bizdays-1.0.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.9 kB
Release files / bizdays-1.0.19.tar.gz
| Download URL | bizdays-1.0.19.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e646d148ae048e35bb98bf57cb865a95a295fdc988133c8e1cce64b45805ef0f
|
|
BLAKE2b-256 checksum How to use checksums |
f981fdeb890eb2c43854225e1f04a4f44ff4d32c648962ff97d654a5483fa418
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|
Release files / bizdays-1.0.19-py3-none-any.whl
| Download URL | bizdays-1.0.19-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae2540f83739c966e4fc62d8a52c79771d3b8cd872210e757b11c2e9fcc9b148
|
|
BLAKE2b-256 checksum How to use checksums |
dd4a8fadde5f4d4adff47e0b114ce91639c5bc2327573e3aa38fbd42056855cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|