Skip to content

v0.1.1 - First PyPI Release

Latest

Choose a tag to compare

@Avilir Avilir released this 04 Sep 12:39

Release Notes for v0.1.1

ALT-time-utils v0.1.1 🎉

First official release of ALT-time-utils on PyPI!

📦 Installation

pip install ALT-time-utils

🚀 What's New

This is the initial public release of ALT-time-utils, a collection of time-related utility functions extracted and generalized from the pytest-perf-monitor project.

✨ Features

  • UTC timestamp generation - Get current UTC timestamps with timezone info
  • Timezone conversions - Convert between UTC and local timezones
  • Duration formatting - Human-readable duration strings (e.g., "2m 3.46s")
  • Time offset calculations - Calculate and format UTC offsets
  • Millisecond handling - Convert between seconds and milliseconds
  • File timestamp generation - Generate timestamps suitable for filenames

📊 Quality

  • 99% test coverage (35 unit tests)
  • Full type hints for better IDE support
  • Cross-platform support (Linux, macOS, Windows)
  • Python 3.8+ compatibility
  • PEP 561 compliant (includes py.typed marker)

📚 Documentation

See the README for detailed usage examples and API documentation.

🔗 Links

📝 Note

The package name on PyPI is ALT-time-utils but you import it as alt_time_utils:

from alt_time_utils import get_utc_timestamp, format_duration

Full Changelog: https://github.com/Avilir/time_utils/commits/v0.1.1