Skip to main content

A core utility package for tbot223 projects.

Project description

Core

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.0.tar.gz (22.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.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tbot223_core-2.0.0.tar.gz
  • Upload date:
  • Size: 22.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.0.tar.gz
Algorithm Hash digest
SHA256 bdf26abb8a9ccc6e9e179cae99bdc25eb4a7a53da29f83c6428cdc2f727478b4
MD5 93c778e4cafe270bae6e34df0e408d5d
BLAKE2b-256 2d7bf5cdcffd84e5c6c498bd92cf843271b6fc763d4ad7c6aee954130db94ffd

See more details on using hashes here.

Provenance

The following attestation bundles were made for tbot223_core-2.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: tbot223_core-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc496481434aac8c11d0c7d41216576eac4d493f4eaa00c92339ae5059509a51
MD5 e3cce55f8064fe235e3d2cb0f24677fa
BLAKE2b-256 ba4b519d4fdf81902bdd4fc9a001f8f39fe091b52472fbc01b2361bc166667af

See more details on using hashes here.

Provenance

The following attestation bundles were made for tbot223_core-2.0.0-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