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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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