A core utility package for tbot223 projects.
Project description
Core
It provides various utility functions. Return values are always returned in a Result object (except for internal functions). Functions such as file writing and reading have been implemented to ensure stable operation.
Result
'''python Result ( success: bool, error: Optional[str], context: Optional[str], data: Any )
error_info(Result.data)
{
"success": bool,
"error": {
"type": "ExceptionType",
"message": "Exception message"
},
"location": {
"file": "filename",
"line": X,
"function": "function_name"
},
"timestamp": "YYYY-MM-DD HH:MM:SS",
"input_context": {
"user_input": user_input,
"params": params
},
"traceback": traceback.format_exc(),
"computer_info": {
"OS": "OS name",
"OS_version": "OS version",
"Release": "OS release",
"Architecture": "Machine architecture",
"Processor": "Processor info",
"Python_Version": "Python version",
"Python_Executable": "Path to Python executable",
"Current_Working_Directory": "Current working directory"
}
}
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 tbot223_core-2.0.7.tar.gz.
File metadata
- Download URL: tbot223_core-2.0.7.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3ab751d26b86603aee60fd900bb1a726be5b8c4d6a12c3dfbc81a562b743c8f
|
|
| MD5 |
fbc2b3298cb3700c0f69d2434f6b9e7f
|
|
| BLAKE2b-256 |
29e6df0fbec0a03646b191ad31ed50a92c36358ebec168c99845cd4f2f03b1ae
|
Provenance
The following attestation bundles were made for tbot223_core-2.0.7.tar.gz:
Publisher:
python-publish.yml on Tbot223/Core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tbot223_core-2.0.7.tar.gz -
Subject digest:
a3ab751d26b86603aee60fd900bb1a726be5b8c4d6a12c3dfbc81a562b743c8f - Sigstore transparency entry: 763780109
- Sigstore integration time:
-
Permalink:
Tbot223/Core@b1fbda2c3b4cb8902f5edf321d6adea6550e80c3 -
Branch / Tag:
refs/tags/2.0.7 - Owner: https://github.com/Tbot223
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b1fbda2c3b4cb8902f5edf321d6adea6550e80c3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tbot223_core-2.0.7-py3-none-any.whl.
File metadata
- Download URL: tbot223_core-2.0.7-py3-none-any.whl
- Upload date:
- Size: 26.6 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 |
a257e648f4a9f9abf0336cb1312aac48e1f02c2c132016a56bd23ed3e55e6522
|
|
| MD5 |
a7778b41a19a6359c8e9cdc97cb83ad0
|
|
| BLAKE2b-256 |
217208842d7ec81ee50b1f8cd6419ab385cc8db94b618c378196b66fdd539f44
|
Provenance
The following attestation bundles were made for tbot223_core-2.0.7-py3-none-any.whl:
Publisher:
python-publish.yml on Tbot223/Core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tbot223_core-2.0.7-py3-none-any.whl -
Subject digest:
a257e648f4a9f9abf0336cb1312aac48e1f02c2c132016a56bd23ed3e55e6522 - Sigstore transparency entry: 763780110
- Sigstore integration time:
-
Permalink:
Tbot223/Core@b1fbda2c3b4cb8902f5edf321d6adea6550e80c3 -
Branch / Tag:
refs/tags/2.0.7 - Owner: https://github.com/Tbot223
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b1fbda2c3b4cb8902f5edf321d6adea6550e80c3 -
Trigger Event:
release
-
Statement type: