corelibs-var (0.1.1)
Published 2025-10-28 15:40:52 +09:00 by clemens
Installation
pip install --index-url --extra-index-url https://pypi.org/simple corelibs-varAbout this package
CoreLibs var helpers and handlers
CoreLibs Var
This is part of the Python CoreLibs
Overview
Var helpers and handling
- is_int
- is_float
- str_to_bool (throws ValueError on no valid bool string value)
Install
uv add --index=opj-pypi=https://git.egplusww.jp/api/packages/PyPI/pypi/simple corelibs-var
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-var
uv run pytest --cov=corelibs-var --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
2025-10-28 15:40:52 +09:00
Assets (2)
Versions (3)
View all
PyPI
0
15 KiB
corelibs_var-0.1.1.tar.gz
12 KiB