Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tbot223_core-2.0.9.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tbot223_core-2.0.9-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file tbot223_core-2.0.9.tar.gz.

File metadata

  • Download URL: tbot223_core-2.0.9.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

Hashes for tbot223_core-2.0.9.tar.gz
Algorithm Hash digest
SHA256 6e178b28deb1418e4f7c8386a3f7603b5a1ee40ba033a9683ca9a6e52c693df1
MD5 f8afc5392c76860f2aba5c3b8d5a1daf
BLAKE2b-256 01bc6500df191873988df02156c5460633495694dd5c186a0906557a053a9698

See more details on using hashes here.

Provenance

The following attestation bundles were made for tbot223_core-2.0.9.tar.gz:

Publisher: python-publish.yml on Tbot223/Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tbot223_core-2.0.9-py3-none-any.whl.

File metadata

  • Download URL: tbot223_core-2.0.9-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

Hashes for tbot223_core-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 99cae0cf8550bd3deccf782c106058050267d617254cc95f7fa005ad647989a1
MD5 7bb50fbbf918159aeaa48b4a73298089
BLAKE2b-256 7eb6d9b90c52471a1fcd5ef53c0b4af0626623cc0035c213d85f17548a8ed382

See more details on using hashes here.

Provenance

The following attestation bundles were made for tbot223_core-2.0.9-py3-none-any.whl:

Publisher: python-publish.yml on Tbot223/Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page