Skip to main content

A Tool For Processing Iteration Time

Project description

This is a tool for processing time.

Installation

It is possible to install the tool with pip:

pip install xt-TimeUtils

Feature

Time processing module based on datetime and arrow

Configuration

The script itself is currently configuration free.

Dependencies

  • arrow
  • datetime

Usage

Sample usage:

from xtdate_utils.xtdate_utils import TimeUtils

str_to_datetime = TimeUtils.str_to_datetime('2021-01-01', '%Y-%m-%d')

Changes

Version 0.1.3

  • Add two new interfaces(get_after_day, get_before_day)

Version 0.1.4

  • Fix the error of importerror

Version 0.2.0 2021-02-24

  • Fix the error of 'get_last_cycle_list' interface
  • Interface 'get_last_cycle_list' add configuration item is_process, It is used to control the time period. The default time period is the (week + 1) parameter.

Version 0.2.1 2021-04-06

  • Initial version
  • Add IterCycleGear Class, it supports cycle configurable. Three configuration options have been added: dayweekiter.
  • Add update_iteration_period to update _iteration_period parameter.

License

The script is released under the MIT License.The MIT License is registered with and approved by the Open Source Initiative.

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

xt-TimeUtils-0.2.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xt_TimeUtils-0.2.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file xt-TimeUtils-0.2.2.tar.gz.

File metadata

  • Download URL: xt-TimeUtils-0.2.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for xt-TimeUtils-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ee01ed16b09ce9ec970c9b237b69fa612a0b8e831f940f7276b2f9df66a1bffa
MD5 29feb5b46ef235bd3b7643b07d12dfc6
BLAKE2b-256 5d32cccf594d0a5294a1b1ac952d0c65b51d19aeb53374bd392fec72e361b63c

See more details on using hashes here.

File details

Details for the file xt_TimeUtils-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: xt_TimeUtils-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for xt_TimeUtils-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d92e18da26b93818297c52878b11b8e83acc04dff4bc680d9717674485702f
MD5 78217d7467a9547c8c74825e6f38fd6c
BLAKE2b-256 f1265587f8b595ea2eeadf60048b740af5c1f9138fa8f42c04ad314690c34fde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page