Add double byte string format

This commit is contained in:
Clemens Schwaighofer
2025-07-02 18:34:53 +09:00
parent eb48b316c8
commit f900a6eab9
6 changed files with 304 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ This is a pip package that can be installed into any project and covers the foll
- logging_handling: extend log and also error message handling
- requests_handling: requests wrapper for better calls with auth headers
- script_handling: pid lock file handling, abort timer
- string_handling: byte format, datetime format, hashing, string formats for numbrers, etc
- string_handling: byte format, datetime format, hashing, string formats for numbrers, double byte string format, etc
## How to publish
@@ -41,7 +41,7 @@ uv publish --index egra-gitea --token <gitea token> --native-tls
## Test package
We must set the full index URL here because we run with "--no-project2
We must set the full index URL here because we run with "--no-project"
```sh
uv run --with corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --no-project --native-tls -- python -c "import corelibs"
@@ -51,12 +51,16 @@ uv run --with corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/P
In the test folder other tests are located.
At the moment only a small test for the "progress" module is set
At the moment only a small test for the "progress" and the "double byte string format" module is set
```sh
uv run --native-tls tests/progress/progress_test.py
```
```sh
uv run --native-tls tests/double_byte_string_format/double_byte_string_format.py
```
## How to install in another project
This will also add the index entry