Skip to main content

This package contains Fleming, which contains a set of routines for doing datetime manipulation. Named after Sandford Fleming, the father of worldwide standard timezones, this package is meant to aid datetime manipulations with regards to timezones.

Fleming addresses some of the common difficulties with timezones and datetime objects, such as performing arithmetic and datetime truncation across a Daylight Savings Time border. It also provides utilities for generating date ranges and getting unix times with respect to timezones.

A brief description of each function in Fleming is below. For more detailed usage examples and descriptions, visit https://github.com/ambitioninc/fleming.

  • convert_to_tz: Converts a datetime object into a provided timezone.

  • add_timedelta: Adds a timedelta to a datetime object.

  • floor: Rounds a datetime object down to the previous time interval.

  • ceil: Rounds a datetime object up to the next time interval.

  • intervals: Gets a range of times at a given timedelta interval.

  • unix_time: Returns a unix time stamp of a datetime object.

Metadata

Release files for fleming 0.7.0

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

Source distribution (sdist)

Source distribution for fleming 0.7.0
File Size Uploaded Provenance Actions
fleming-0.7.0.tar.gz 11.9 kB Without provenance Details for fleming-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fleming 0.7.0
File Interpreter ABI Platform Actions
fleming-0.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for fleming-0.7.0-py2.py3-none-any.whl

Total release size: 22.5 kB

Release files / fleming-0.7.0.tar.gz

Download URL fleming-0.7.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dd93f95f17f220d8ec3cedc2090b3703d7499e6c723bc9f45eb5f7bda8d75a63
BLAKE2b-256 checksum
How to use checksums
ebac2e6429ac69973336be624be1f2451eb61c368526c40d1652319fd41d6049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release files / fleming-0.7.0-py2.py3-none-any.whl

Download URL fleming-0.7.0-py2.py3-none-any.whl
Size 10.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9bdd83f8497c19be4e316726b8419be45ab5000c6398876e6aea456676345613
BLAKE2b-256 checksum
How to use checksums
0ee857033f12be2b5ec04f2d3ec168a7de132e586a6d0b28112988a15a03123a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Security for fleming 0.7.0

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.

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