Python Package Index

local Python Package Index (PyPI)

corelibs-datetime (0.2.0)

Published 2025-11-06 13:34:04 +09:00 by clemens

Installation

pip install --index-url  --extra-index-url https://pypi.org/simple corelibs-datetime

About this package

CoreLibs DateTime handlers and helpers

CoreLibs DateTime

This is part of the Python CoreLibs

Overview

Date and time checking and manupilation, time strings

Development

UV setup

uv must be installed

Python venv setup

After clone, run the command below to install all dependenciss

uv sync

Build and Publish

uv build
uv publish --index opj-pypi --token <gitea token>

Python tests

All python tests are the tests/ folder. They are structured by the source folder layout

run them with

uv run pytest

Get a coverate report

uv run pytest --cov=corelibs
uv run pytest --cov=corelibs --cov-report=term-missing

Other tests

In the test-run folder usage and run tests are located, runt them below

uv run test-run/<script>

NOTE on TLS problems

[!warning] TLS problems with Netskope

If the Netskope service is running all uv runs will fail unless either --native-tls is set or the enviroment variable SSL_CERT_FILE is set, see blow

export SSL_CERT_FILE='/Library/Application Support/Netskope/STAgent/data/nscacert_combined.pem'

Requirements

Requires Python: >=3.13
Details
PyPI
2025-11-06 13:34:04 +09:00
0
39 KiB
Assets (2)
Versions (5) View all
1.2.0 2026-01-06
1.1.0 2025-12-15
1.0.1 2025-11-14
1.0.0 2025-11-14
0.2.0 2025-11-06