Điểm qua wilsonfreitas/python-bizdays: 95 sao trên GitHub, viết chủ yếu bằng Python. Business days calculations and utilities
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
bizdays computes business days with holiday calendars. This README covers
bizdays 2.0, which runs on Python 3.10 to 3.14 with NumPy 1.24 or newer and
pandas 2 or 3. bizdays.Calendar accepts single dates, Python sequences,
NumPy arrays and pandas date-like inputs, and returns NumPy scalars or arrays.
ANBIMA: 2000-01-01 to 2099-12-25. Official ANBIMA holidays up to 2079;
later years are projected with the national holiday rule.
B3: official B3 holidays for 2000-2026. Years 2027-2099 are projected:
ANBIMA holidays, plus December 24, plus the last weekday of the year.
Projected years are replaced when B3 publishes them.
Actual: no holidays, every day is a business day; 1900-01-01 to 2199-12-31.
You can list them with list_calendars():
>>> from bizdays import list_calendars
>>> list_calendars()["packaged"]
['ANBIMA', 'B3', 'Actual']
Use Calendar.load(name="...") for packaged calendars and
Calendar.load(filename="...") for custom JSON calendar files.
External providers are also available through prefixed names:
Calendar.load(name="PMC/<calendar>") for pandas_market_calendars
Calendar.load(name="XCAL/<calendar>") for exchange_calendars
PMC/... names require the optional bizdays[pmc] extra
XCAL/... names require the optional bizdays[xcal] extra
WORK/... names require the optional bizdays[work] extra
Calendar methods return NumPy values such as numpy.datetime64,
numpy.float64 counts (NaN for missing), numpy.ndarray, and masked
arrays for isbizday vectors (fill_value=False)
results are positional NumPy values: assign them to a DataFrame column, and
give index= if you wrap them in a pandas Series; see the API reference
pandas timestamps, indexes, and series can be passed directly to the public API
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/wilsonfreitas/python-bizdays là nguồn chính thức.
wilsonfreitas/python-bizdays có phải mã nguồn mở không?
Có — wilsonfreitas/python-bizdays phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/wilsonfreitas/python-bizdays.
wilsonfreitas/python-bizdays có trang demo không?
Dự án có trang chủ ở http://wilsonfreitas.github.io/python-bizdays/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
wilsonfreitas/python-bizdays dùng license gì?
wilsonfreitas/python-bizdays phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
wilsonfreitas/python-bizdays là gì?
wilsonfreitas/python-bizdays (wilsonfreitas/python-bizdays) là dự án Python trên GitHub. Theo mô tả gốc: Business days calculations and utilities
Đọc đầy đủ README ở tab phía trên.
python-bizdays có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về python-bizdays.