Skip to main content

Installation

pip install fcal

Usage

# Print the last 10 days in the default format
fcal -b 10

# Print the last 10 days in MM-DD format 
fcal -b 10 -f '%m-%d'

# Print the last 10 days and next 10 days in local datetime format %c  
fcal -b 10 -a 10 -f '%c'

# Skip the dates until the next year skiping every 7 days.
fcal -a 365 -s 7

Date Directives

Directive Meaning Example
%A Weekday as locale’s abbreviated name. Sun, Mon,
%A Weekday as locale’s full name. Sunday, Monday, …, Saturday
%d Day of the month as a zero-padded decimal number. 01, 02, …, 31
%-d Day of the month as a decimal number. 1, 2, …, 31
%B Month as locale’s full name. January, February, …, December
%m Month as a zero-padded decimal number. 01, 02, …, 12
%-m Month as a decimal number. 1, 2, …, 12
%y Year without century as a zero-padded decimal number. 00, 01, …, 99
%Y Year with century as a decimal number. 2001, 2010, …, 2093
%% A literal '%' character. %

Development

To build the package locally, run

python -m build

Uploading to twine, which only package authors can do, is done using twine. To test the package locally, run pip install .

Metadata

Release files for fcal 0.8.1

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

Source distribution (sdist)

Source distribution for fcal 0.8.1
File Size Uploaded
fcal-0.8.1.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fcal 0.8.1
File Interpreter ABI Platform
fcal-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 kB

Release files / fcal-0.8.1.tar.gz

Download URL fcal-0.8.1.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1fc03074581a4fa2bef05a67c60fea26dc66fd9f455fc77f678d53e4299f32eb
BLAKE2b-256 checksum
How to use checksums
85b524994ebd257ee83251fa4a91e7f175a8b74db6ed297dfe46e477921ed0e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.2

Release files / fcal-0.8.1-py3-none-any.whl

Download URL fcal-0.8.1-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65d05ff273110f4f4e23a6f88a395ee12314789eb5a583b060e661f44d23343d
BLAKE2b-256 checksum
How to use checksums
abf9a83fa03f0302a27bc7b5121f4fd40a181c657e05b20eaf27fbcec63ca52e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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