获取期货交易日的工具,不依赖任何第三方库
Project description
shinny-calendar
获取期货交易日的工具,不依赖任何第三方库
默认包含 2003-2025 年的中国节假日信息。 默认交易日切换时间为 20:00。
使用示例
from shinny_calendar import CalendarUtility
calendar = CalendarUtility()
print(calendar.today())
print(calendar.now())
print(calendar.trading_day())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shinny_calendar-0.1.0.tar.gz.
File metadata
- Download URL: shinny_calendar-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd4c16e37185b3b7a81ea285a0df60efdc668d794d695908fa3ec59fc06103aa
|
|
| MD5 |
a00df9a12d620a09f89102097ca523e5
|
|
| BLAKE2b-256 |
67077c61869cdf064fdc524418c7cf735f9ad4cd66977fc0f578f681cc38d6a0
|
Provenance
The following attestation bundles were made for shinny_calendar-0.1.0.tar.gz:
Publisher:
pypi-upload.yml on shinnytech/shinny-calendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shinny_calendar-0.1.0.tar.gz -
Subject digest:
cd4c16e37185b3b7a81ea285a0df60efdc668d794d695908fa3ec59fc06103aa - Sigstore transparency entry: 159593883
- Sigstore integration time:
-
Permalink:
shinnytech/shinny-calendar@61146c191c4ddb45c7ded0df4741286389788d56 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/shinnytech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-upload.yml@61146c191c4ddb45c7ded0df4741286389788d56 -
Trigger Event:
release
-
Statement type:
File details
Details for the file shinny_calendar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shinny_calendar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b230b9e47325f622c714792f14d7ae4868ed81b2f39e1175d1696363cba81c5d
|
|
| MD5 |
34eccbe0a8408dcacc8bd6b6bf5f41a3
|
|
| BLAKE2b-256 |
acb99349b791d9f188bffbd4a716c1025bb984c30246e271f7b881d42d062e26
|
Provenance
The following attestation bundles were made for shinny_calendar-0.1.0-py3-none-any.whl:
Publisher:
pypi-upload.yml on shinnytech/shinny-calendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shinny_calendar-0.1.0-py3-none-any.whl -
Subject digest:
b230b9e47325f622c714792f14d7ae4868ed81b2f39e1175d1696363cba81c5d - Sigstore transparency entry: 159593884
- Sigstore integration time:
-
Permalink:
shinnytech/shinny-calendar@61146c191c4ddb45c7ded0df4741286389788d56 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/shinnytech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-upload.yml@61146c191c4ddb45c7ded0df4741286389788d56 -
Trigger Event:
release
-
Statement type: