fleming 0.7.0
pip install fleming
Released:
Python helpers for manipulating datetime objects relative to time zones
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Wes Kendall
- Tags python, datetime, pytz, timezone, timedelta, arithmetic, floor, conversion
Classifiers
- License
- Programming Language
- Topic
Project description
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.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Wes Kendall
- Tags python, datetime, pytz, timezone, timedelta, arithmetic, floor, conversion
Classifiers
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
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
File details
Details for the file fleming-0.7.0.tar.gz
.
File metadata
- Download URL: fleming-0.7.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd93f95f17f220d8ec3cedc2090b3703d7499e6c723bc9f45eb5f7bda8d75a63 |
|
MD5 | faa9953fef78d9a2d469b7d36c3c1db3 |
|
BLAKE2b-256 | ebac2e6429ac69973336be624be1f2451eb61c368526c40d1652319fd41d6049 |
File details
Details for the file fleming-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: fleming-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bdd83f8497c19be4e316726b8419be45ab5000c6398876e6aea456676345613 |
|
MD5 | 91598dd6fdf042e1f5727e8db456d16a |
|
BLAKE2b-256 | 0ee857033f12be2b5ec04f2d3ec168a7de132e586a6d0b28112988a15a03123a |