Skip to main content

weekday

一个轻量级的 Python 库,用于获取当天或指定日期是星期几。支持中英文输出,提供丰富的判断函数,支持中国法定节假日和调休判断。

安装

pip install weekday

快速开始

from weekday import today, today_name, weekday, weekday_name
from weekday import is_workday, is_restday, is_holiday

# 获取今天是星期几
today()           # 返回 0-6(0=周一,6=周日)
today_name()      # '星期六'
today_name(lang="en")  # 'Saturday'

# 获取指定日期是星期几
weekday("2024-01-01")   # 0(星期一)
weekday_name("2024-01-01")  # '星期一'

# 判断是否需要上班(考虑节假日和调休)
is_workday("2024-02-04")  # True(周日,但是春节调休)
is_workday("2024-02-10")  # False(周六,春节假期)

# 判断是否法定节假日
is_holiday("2024-01-01")  # True(元旦)

API 参考

基础函数

today() -> int

获取今天是星期几。

返回值: int - 0-6,0 表示星期一,6 表示星期日。

from weekday import today

today()  # 例如:5(表示星期六)

today_name(lang="zh") -> str

获取今天是星期几的名称。

参数:

  • lang (str): 语言,"zh" 返回中文,"en" 返回英文。默认 "zh"。

返回值: str - 星期名称字符串。

from weekday import today_name

today_name()            # '星期六'
today_name(lang="en")   # 'Saturday'

weekday(d=None) -> int

获取指定日期是星期几。

参数:

  • d (date | datetime | str | None): 日期,可以是 date、datetime 或字符串(格式 YYYY-MM-DD)。如果不传,则使用今天的日期。

返回值: int - 0-6,0 表示星期一,6 表示星期日。

异常:

  • ValueError: 字符串格式不正确时抛出。
  • TypeError: 传入不支持的类型时抛出。
from datetime import date, datetime
from weekday import weekday

weekday("2024-01-01")       # 0(星期一)
weekday("2024-01-05")       # 4(星期五)
weekday("2024-01-06")       # 5(星期六)
weekday(date(2024, 1, 1))   # 0
weekday(datetime(2024, 1, 5, 12, 30))  # 4
weekday()                   # 返回今天的星期值

weekday_name(d=None, lang="zh", abbr=False) -> str

获取指定日期是星期几的名称。

参数:

  • d (date | datetime | str | int | None): 日期或星期值(0-6)。如果不传,则使用今天的日期。
  • lang (str): 语言,"zh" 返回中文,"en" 返回英文。默认 "zh"。
  • abbr (bool): 是否使用英文缩写(仅 lang="en" 时有效)。默认 False。

返回值: str - 星期名称字符串。

from weekday import weekday_name

weekday_name("2024-01-01")                  # '星期一'
weekday_name("2024-01-01", lang="en")       # 'Monday'
weekday_name("2024-01-06", lang="en", abbr=True)  # 'Sat'
weekday_name(0)                             # '星期一'
weekday_name(6, lang="en")                  # 'Sunday'

判断函数

is_weekday(d=None) -> bool

判断指定日期是否为工作日(周一至周五)。

from weekday import is_weekday

is_weekday("2024-01-01")  # True(星期一)
is_weekday("2024-01-06")  # False(星期六)
is_weekday()              # 判断今天是否为工作日

is_weekend(d=None) -> bool

判断指定日期是否为周末(周六或周日)。

from weekday import is_weekend

is_weekend("2024-01-06")  # True(星期六)
is_weekend("2024-01-07")  # True(星期日)
is_weekend("2024-01-01")  # False(星期一)

具体星期判断函数

以下函数用于判断指定日期是否为特定的星期几:

函数 说明
is_monday(d=None) 判断是否为星期一
is_tuesday(d=None) 判断是否为星期二
is_wednesday(d=None) 判断是否为星期三
is_thursday(d=None) 判断是否为星期四
is_friday(d=None) 判断是否为星期五
is_saturday(d=None) 判断是否为星期六
is_sunday(d=None) 判断是否为星期日

参数:

  • d (date | datetime | str | None): 日期,格式同 weekday() 函数。

返回值: bool - 是指定星期几返回 True,否则返回 False。

from weekday import is_monday, is_friday, is_saturday

is_monday("2024-01-01")    # True
is_friday("2024-01-05")    # True
is_saturday("2024-01-06")  # True
is_monday("2024-01-05")    # False

工作日、休息日、节假日和调休

以下函数用于判断指定日期是否需要上班,考虑中国法定节假日和调休安排。

is_workday(d=None) -> bool

判断指定日期是否需要上班(考虑节假日和调休)。

  • 工作日包括:正常的周一至周五 + 调休工作日(周末但要上班)
  • 非工作日包括:正常的周末 + 法定节假日
from weekday import is_workday

# 普通工作日
is_workday("2024-01-02")  # True(周二)

# 普通周末
is_workday("2024-01-06")  # False(周六)

# 节假日(放假)
is_workday("2024-01-01")  # False(元旦)
is_workday("2024-02-10")  # False(春节,虽然是周六)

# 调休工作日(周末但要上班)
is_workday("2024-02-04")  # True(周日,春节调休)
is_workday("2024-05-11")  # True(周六,劳动节调休)

is_restday(d=None) -> bool

判断指定日期是否休息(考虑节假日和调休)。

  • 休息日包括:正常的周末 + 法定节假日
  • 非休息日包括:正常的工作日 + 调休工作日
from weekday import is_restday

is_restday("2024-01-06")  # True(周六)
is_restday("2024-02-10")  # True(春节假期)
is_restday("2024-02-04")  # False(周日,但是调休工作日)

is_holiday(d=None) -> bool

判断指定日期是否为法定节假日。

from weekday import is_holiday

is_holiday("2024-01-01")  # True(元旦)
is_holiday("2024-02-10")  # True(春节)
is_holiday("2024-01-06")  # False(普通周六,不是节假日)

is_adjustment_workday(d=None) -> bool

判断指定日期是否为调休工作日(周末但要上班)。

from weekday import is_adjustment_workday

is_adjustment_workday("2024-02-04")  # True(周日,春节调休)
is_adjustment_workday("2024-05-11")  # True(周六,劳动节调休)
is_adjustment_workday("2024-01-06")  # False(普通周末)

get_day_type(d=None) -> DayType

获取指定日期的详细类型。

返回值: DayType 枚举值:

  • DayType.WORKDAY - 正常工作日
  • DayType.WEEKEND - 正常周末
  • DayType.HOLIDAY - 法定节假日
  • DayType.ADJUSTMENT_WORKDAY - 调休工作日
from weekday import get_day_type, DayType

get_day_type("2024-01-02")  # DayType.WORKDAY
get_day_type("2024-01-06")  # DayType.WEEKEND
get_day_type("2024-01-01")  # DayType.HOLIDAY(元旦)
get_day_type("2024-02-04")  # DayType.ADJUSTMENT_WORKDAY(春节调休)

get_holiday_name(d=None) -> str | None

获取指定日期对应的节假日名称。

返回值: str 或 None - 节假日名称,如果不是节假日返回 None。

from weekday import get_holiday_name

get_holiday_name("2024-01-01")  # '元旦'
get_holiday_name("2024-02-10")  # '春节'
get_holiday_name("2024-10-01")  # '国庆节'
get_holiday_name("2024-01-02")  # None(普通工作日)

get_adjustment_name(d=None) -> str | None

获取指定日期对应的调休名称。

返回值: str 或 None - 调休名称(如"春节调休"),如果不是调休工作日返回 None。

from weekday import get_adjustment_name

get_adjustment_name("2024-02-04")  # '春节调休'
get_adjustment_name("2024-05-11")  # '劳动节调休'
get_adjustment_name("2024-01-02")  # None(普通工作日)

已支持的节假日年份

目前内置了以下年份的中国法定节假日数据:

  • 2024 年:元旦、春节、清明节、劳动节、端午节、中秋节、国庆节
  • 2025 年:元旦、春节、清明节、劳动节、端午节、国庆节

添加其他年份的节假日数据

中国的节假日安排每年年底由国务院发布,如需添加其他年份的数据,可以使用以下函数:

register_holidays(year, holidays, adjustments=None)

注册指定年份的节假日和调休数据。

from weekday import register_holidays

# 注册 2026 年国庆节
register_holidays(
    2026,
    holidays={
        "2026-10-01": "国庆节",
        "2026-10-02": "国庆节",
        "2026-10-03": "国庆节",
        "2026-10-04": "国庆节",
        "2026-10-05": "国庆节",
        "2026-10-06": "国庆节",
        "2026-10-07": "国庆节",
    },
    adjustments={
        "2026-09-27": "国庆节调休",  # 周日上班
        "2026-10-10": "国庆节调休",  # 周六上班
    }
)

# 现在可以使用 2026 年的节假日判断了
is_holiday("2026-10-01")  # True
is_workday("2026-09-27")  # True(调休工作日)

其中的holidays是放真正放假的日期,adjustments是放周末但要上班的日子。


register_holiday_range(start_date, end_date, name, adjustments=None, adjustment_name=None)

注册一个连续的节假日区间,更方便。

from weekday import register_holiday_range

# 注册 2026 年国庆节 10月1日-7日
register_holiday_range(
    "2026-10-01", "2026-10-07",
    "国庆节",
    adjustments=["2026-09-27", "2026-10-10"],
    adjustment_name="国庆节调休"
)

get_supported_years() -> list

获取已支持节假日数据的年份列表。

from weekday import get_supported_years

get_supported_years()  # [2024, 2025, 2026]

has_year_data(year) -> bool

检查指定年份是否有节假日数据。

from weekday import has_year_data

has_year_data(2024)  # True
has_year_data(2030)  # False

日期格式支持

所有接受日期参数的函数都支持以下格式:

  • 字符串:"YYYY-MM-DD" 格式,如 "2024-01-01"
  • date 对象:datetime.date(2024, 1, 1)
  • datetime 对象:datetime.datetime(2024, 1, 1, 12, 30)
  • 不传参:默认使用今天的日期

星期值说明

本库使用 0-6 表示星期几,遵循 ISO 标准:

值 中文 英文
0 星期一 Monday
1 星期二 Tuesday
2 星期三 Wednesday
3 星期四 Thursday
4 星期五 Friday
5 星期六 Saturday
6 星期日 Sunday

许可证

MIT License

Metadata

Release files for weekday 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for weekday 0.1.1
File
weekday-0.1.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
weekday-0.1.1-cp314-cp314-manylinux_2_17_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
weekday-0.1.1-cp313-cp313-manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
weekday-0.1.1-cp312-cp312-manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
weekday-0.1.1-cp311-cp311-manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
weekday-0.1.1-cp310-cp310-manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
weekday-0.1.1-cp39-cp39-manylinux_2_17_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
weekday-0.1.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
weekday-0.1.1-cp38-cp38-manylinux_2_17_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details

Total release size: 3.1 MB

Release files / weekday-0.1.1-cp314-cp314-win_amd64.whl

Download URL weekday-0.1.1-cp314-cp314-win_amd64.whl
Size 66.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d16aa161118be96465126e2f80662168d5d151a8d43dedda8846a9784b0a2626
BLAKE2b-256 checksum
How to use checksums
f9650e1d64293a6096255a36aac0dc9bbe541a026613f535231d5fa8ff534ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp314-cp314-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp314-cp314-manylinux_2_17_x86_64.whl
Size 366.3 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
64460e729c783ea8cf3d447363444942f62db0ac8e4902a2dcf8ac4e4b44adac
BLAKE2b-256 checksum
How to use checksums
21dfffe9da76436f6ff5b05c37837a814065a6a4339b16999fc6eee0dedbce5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp313-cp313-win_amd64.whl

Download URL weekday-0.1.1-cp313-cp313-win_amd64.whl
Size 64.4 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8d310584465ac3bbaa4d431057d7b5e1f0e4699f4654918bfe51144a96f22f33
BLAKE2b-256 checksum
How to use checksums
7074796b2bf1775119da4488b3e439c15d0a16721628a622c1f7911454de37c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp313-cp313-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp313-cp313-manylinux_2_17_x86_64.whl
Size 371.1 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
50288540ce808b00ee7317cb744d50419429be68fe9c6112a76fa4a4949e84b2
BLAKE2b-256 checksum
How to use checksums
9bbe70899949dc7085d802e40d73b880feb4b533538dd7f6d83832ac9dc1722e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp312-cp312-win_amd64.whl

Download URL weekday-0.1.1-cp312-cp312-win_amd64.whl
Size 64.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
820c631098db1789d460f59d8ff5af002b5f8f3028243eecb5bc6e131d7bac66
BLAKE2b-256 checksum
How to use checksums
c33e022f7bbc8c413df5056aedaef3182cc98fd321b035b5301e1c9ef358cdb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp312-cp312-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp312-cp312-manylinux_2_17_x86_64.whl
Size 366.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
31f1e189f9eaa97bbc47d5da85c8408d5b9fc6dd56d6358af4fdca8ef94a9e14
BLAKE2b-256 checksum
How to use checksums
aaf8baaa4cc170164bc362fe06f6bef6559a46afbceb8a9ce3e8815f91f4286a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp311-cp311-win_amd64.whl

Download URL weekday-0.1.1-cp311-cp311-win_amd64.whl
Size 69.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ed13180a5914201c17aba5ca7d303219300b130548ac4db09c9b54cafa023101
BLAKE2b-256 checksum
How to use checksums
604161bc122031e6426561d40d5899e335b950f8a77d17c7e6401fad4960f3e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp311-cp311-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp311-cp311-manylinux_2_17_x86_64.whl
Size 400.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
43bbeb64e366a09c019bc675fb3fb9dd2e2b22a690cb19777c1a97c41bcf6618
BLAKE2b-256 checksum
How to use checksums
9deeb38ab0616b71305078776540bd2ea3a8c6f1b6610a4813a99ccaaf79327f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp310-cp310-win_amd64.whl

Download URL weekday-0.1.1-cp310-cp310-win_amd64.whl
Size 69.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
03a76114b8a969df71c9fec7e0cc2df8de5b13534fabe89876e0634081421b69
BLAKE2b-256 checksum
How to use checksums
b119baae93d4ed0455503beee7525f128ca3491f14499a97b9a3c8d30127733d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp310-cp310-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp310-cp310-manylinux_2_17_x86_64.whl
Size 383.5 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
da6a08c4fdc695a0df795e3bd13b8d0486f881a753ae9b22c7cab32a98236328
BLAKE2b-256 checksum
How to use checksums
3f22399a56bfe2ed60eb0669bce31687253df6f97d41609b706d718eaa2d0133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp39-cp39-win_amd64.whl

Download URL weekday-0.1.1-cp39-cp39-win_amd64.whl
Size 69.4 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a1b6802c3a7155972074dc29d8e6b2147548888ec6d0b72c74901a45c8f54fca
BLAKE2b-256 checksum
How to use checksums
2d76d723b21749abaae71e61b04c68cd403885486f5b8aca52f9ee1036286335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp39-cp39-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp39-cp39-manylinux_2_17_x86_64.whl
Size 378.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9c4132a522e6dc2ea1e24a748e8b84c175aaf2edd66feec3afe682d661ef7f31
BLAKE2b-256 checksum
How to use checksums
c8aff86a5165d038a42e1911fd2d74dd645dcb8d9b111c7f2eb10bdf4da977e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp38-cp38-win_amd64.whl

Download URL weekday-0.1.1-cp38-cp38-win_amd64.whl
Size 71.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
ef7249430ef2cc40f8439e4099b4fe108fa02da542587b5417270a1032d5b289
BLAKE2b-256 checksum
How to use checksums
14a5989b80130a708cc5814076e14757e05dc3e4fc7fdc6f377ff5c10dceebfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / weekday-0.1.1-cp38-cp38-manylinux_2_17_x86_64.whl

Download URL weekday-0.1.1-cp38-cp38-manylinux_2_17_x86_64.whl
Size 388.7 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3b171cc9c23a1c136f79d2b4697914a482803055123c8b895476ba1c897c4304
BLAKE2b-256 checksum
How to use checksums
496c9c6f94b685a9785532d10c342d4a6f56ca21e7221e2c00dd2e01c579c38b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Security for weekday 0.1.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

All 14 files in this release have been uploaded with provenance metadata.

Select from 14 files

Attestation for weekday-0.1.1-cp314-cp314-win_amd64.whl

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 Jul 25, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

14 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page