Skip to main content

pyfortified-dateutil

Important Note

Work In Progress

Badges

Install

pip install pyfortified-dateutil

Functions

import pyfortified_dateutil
import datetime as dt

month_first_date, month_last_date = pyfortified_dateutil.dates_month_first_last(dt.date(2016, 12, 20))
print(month_first_date)
print(month_last_date)
datetime.date(2016, 12, 1)
datetime.date(2016, 12, 31)
import pyfortified_dateutil
import datetime as dt

start_dt = dt.date(2015, 12, 20)
end_dt = dt.date(2016, 1, 6)

for dt in pyfortified_dateutil.date_range(start_dt, end_dt):
    pprint(dt.strftime("%Y-%m-%d"))
'2015-12-20'
'2015-12-21'
'2015-12-22'
'2015-12-23'
'2015-12-24'
'2015-12-25'
'2015-12-26'
'2015-12-27'
'2015-12-28'
'2015-12-29'
'2015-12-30'
'2015-12-31'
'2016-01-01'
'2016-01-02'
'2016-01-03'
'2016-01-04'
'2016-01-05'
'2016-01-06'
import pyfortified_dateutil
import datetime as dt

start_dt = dt.date(2016, 12, 20)
end_dt = dt.date(2018, 1, 11))

for dt in pyfortified_dateutil.dates_months_list(start_dt, end_dt):
    print(dt)
'2016-12'
'2017-01'
'2017-02'
'2017-03'
'2017-04'
'2017-05'
'2017-06'
'2017-07'
'2017-08'
'2017-09'
'2017-10'
'2017-11'
'2017-12'

Metadata

Release files for pyfortified-dateutil 0.1.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 pyfortified-dateutil 0.1.1
File Size Uploaded Provenance Actions
pyfortified-dateutil-0.1.1.tar.gz 4.2 kB Without provenance Details for pyfortified-dateutil-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfortified-dateutil 0.1.1
File Interpreter ABI Platform Actions
pyfortified_dateutil-0.1.1-py3-none-any.whl Python 3 none any Details for pyfortified_dateutil-0.1.1-py3-none-any.whl

Total release size: 7.3 kB

Release files / pyfortified-dateutil-0.1.1.tar.gz

Download URL pyfortified-dateutil-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
61f1fae782819185def360319edffc3564b398b276efc5a189f6b23fad80f207
BLAKE2b-256 checksum
How to use checksums
1b1e0ebe982bf7c8968ebd97b6f6f8d0938e326f686a5cc6f2362f25a9d715e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyfortified_dateutil-0.1.1-py3-none-any.whl

Download URL pyfortified_dateutil-0.1.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39fecb8437c01b03a41ec3ceebd7cefb5c4b74dcaf318214675d2b7135ab95a1
BLAKE2b-256 checksum
How to use checksums
bcf07316e5e1e8dffe79437a997f2674a1dff911c81f945aab45045aa552fd93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyfortified-dateutil 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

2 release files No 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