Skip to main content

A Python module for string date manipulation and formatting

Project description

String Date Controller

A Python module for string date manipulation and formatting operations.

Features

  • Date shifting: Easily shift dates forward or backward
  • Date formatting: Convert dates between different formats
  • Date cropping: Crop dates to specific time periods
  • Date generation: Generate date sequences and ranges
  • Date extraction: Extract dates from file names and folders
  • Historical dates collection: Dynamically collect reference dates for timeseries analysis

Version History

v0.1.10 (2025-06-02)

  • Fixed parameter order in historical date functions
  • Enhanced readability of output keys (YTD, Since Inception)
  • Fixed function call parameter alignment

v0.1.9 (2025-06-02)

  • Improved API flexibility by making date_ref parameter optional with default value
  • Standardized parameter order across historical date collection functions

v0.1.8 (2025-06-02)

  • Added historical dates collection functionality for timeseries analysis
  • Implemented functions to dynamically collect monthly, yearly, YTD, and inception dates

v0.1.6 (2025-04-23)

  • Fixed dependency version format in requirements.txt

v0.1.5 (2025-04-23)

  • Fixed package deployment issues

v0.1.4 (2025-04-23)

  • Added file folder date extraction functionality
  • Improved type handling in date generation functions
  • Fixed bugs in date range generation
  • Standardized naming conventions (using 'nondashed' consistently)

Installation

pip install string-date-controller

Usage

from string_date_controller import date_shifter, date_formatter, date_cropper

# Example usage will be added soon

Requirements

  • Python >= 3.11
  • shining_pebbles

License

MIT License

Author

June Young Park
AI Management Development Team Lead & Quant Strategist at LIFE Asset Management

LIFE Asset Management is a hedge fund management firm that integrates value investing and engagement strategies with quantitative approaches and financial technology, headquartered in Seoul, South Korea.

Contact

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

string_date_controller-0.1.10.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

string_date_controller-0.1.10-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file string_date_controller-0.1.10.tar.gz.

File metadata

  • Download URL: string_date_controller-0.1.10.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for string_date_controller-0.1.10.tar.gz
Algorithm Hash digest
SHA256 36f902a5a1409163cd67c57c88f0f620c7f761c283ac80c6031f84591b457a5d
MD5 5cec84d2df7805049773c8f56d784994
BLAKE2b-256 4a0e174d5a9d9e9c1f2800c884805e0a90e4117ffc393cf3ba5592cd7252974b

See more details on using hashes here.

File details

Details for the file string_date_controller-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for string_date_controller-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f93cd214f71a2e4ddc2c57872cfb6be567176560974ac2da9d858203aabd88b7
MD5 56c0768b8c6abfcc2ff93dcc17424b2b
BLAKE2b-256 a6e7b9c291691a45d7b1df54d9ddc21765e93a6fd9c5bcea22b0eb7f671999ac

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