Package with various utilities i.e. VB regex translation, CLI logging, file handling, basic GUI wrapper ...
Project description
Personal utilities package for Python
Package with various utilities i.e. VB regex translation, CLI logging, file handling, basic GUI wrapper ...
Features
Set of submodules contains:
- submodule for converting Microsoft VB /COM type regular expression to Python regular expression
- submodule with utilities to log CLI calls of Python scripts
- submodule with utilities for file handling
- submodule with wrapper for basic GUI functions for various GUI frameworks
- submodule with various utilities - read config file with standard parser, set up standard logger object ...
Note: as I am coming from camel case notation I was struggling a little bit with the Python naming conventions. However, for publishing I tried to increase compliance with Python naming conventions and added snake case method stubs (at least for most important subroutines) as a compromise.
Development
To set up hatch and pre-commit for the first time:
- install hatch globally, e.g. with pipx, i.e.
pipx install hatch, - make sure
pre-commitis installed globally, e.g. withpipx install pre-commit.
A special feature that makes hatch very different from other familiar tools is that you almost never
activate, or enter, an environment. Instead, you use hatch run env_name:command and the default environment
is assumed for a command if there is no colon found. Thus you must always define your environment in a declarative
way and hatch makes sure that the environment reflects your declaration by updating it whenever you issue
a hatch run .... This helps with reproducability and avoids forgetting to specify dependencies since the
hatch workflow is to specify everything directly in pyproject.toml. Only in rare cases, you
will use hatch shell to enter the default environment, which is similar to what you may know from other tools.
To get you started, use hatch run test:cov or hatch run test:no-cov to run the unitest with or without coverage reports,
respectively. Use hatch run lint:all to run all kinds of typing and linting checks. Try to automatically fix linting
problems with hatch run lint:fix and use hatch run docs:serve to build and serve your documentation.
You can also easily define your own environments and commands. Check out the environment setup of hatch
in pyproject.toml for more commands as well as the package, build and tool configuration.
To support versioning and changelog generation please refer to the toolchain selected during package
generation (see also pyproject.toml). If not deselected, the toolchain includes a pre-commit hook
for linting commit messages to ensure commit messages are compliant with the conventional commit format and
support an automated changelog generation.
Credits
This package was created with The Hatchlor Enhanced project template. This template is based on The Hatchlor but was substantially improved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file utils_mystuff-1.0.1.tar.gz.
File metadata
- Download URL: utils_mystuff-1.0.1.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eea83318210ea8dce355269b321f0fb66a13b65874ae00776a8a1defe6702fc1
|
|
| MD5 |
c5f668739930154a0e96479157322d2b
|
|
| BLAKE2b-256 |
9896b0947393e2a3b40e12eb1d233ee8a13c1b7a3d6bb84d0d1ed4fd16243439
|
Provenance
The following attestation bundles were made for utils_mystuff-1.0.1.tar.gz:
Publisher:
build.yml on dornech/utils-mystuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
utils_mystuff-1.0.1.tar.gz -
Subject digest:
eea83318210ea8dce355269b321f0fb66a13b65874ae00776a8a1defe6702fc1 - Sigstore transparency entry: 619387650
- Sigstore integration time:
-
Permalink:
dornech/utils-mystuff@b6c239cbbc6c0f0a1d1f81c2eb828adc99020cc0 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/dornech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@b6c239cbbc6c0f0a1d1f81c2eb828adc99020cc0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file utils_mystuff-1.0.1-py3-none-any.whl.
File metadata
- Download URL: utils_mystuff-1.0.1-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
513018f19fb0ebc05ceccca6618d2c73e1ba9dd2495f9f2227edbe525a499ec4
|
|
| MD5 |
239c02049c93c9bc4c79988b5b7c06df
|
|
| BLAKE2b-256 |
7581e60e155ba59e792c2df5d9705642f025fcc66b894106cac10c3f1eb0f52e
|
Provenance
The following attestation bundles were made for utils_mystuff-1.0.1-py3-none-any.whl:
Publisher:
build.yml on dornech/utils-mystuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
utils_mystuff-1.0.1-py3-none-any.whl -
Subject digest:
513018f19fb0ebc05ceccca6618d2c73e1ba9dd2495f9f2227edbe525a499ec4 - Sigstore transparency entry: 619387681
- Sigstore integration time:
-
Permalink:
dornech/utils-mystuff@b6c239cbbc6c0f0a1d1f81c2eb828adc99020cc0 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/dornech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@b6c239cbbc6c0f0a1d1f81c2eb828adc99020cc0 -
Trigger Event:
push
-
Statement type: