Skip to content
View vlntnwbr's full-sized avatar

Block or report vlntnwbr

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Send requests to Join REST API ( htt... Send requests to Join REST API ( https://joaoapps.com/join/api/ ) from EventGhost. Details: https://gist.github.com/vlntnwbr/f0ef070c39c23d86ba6261aefb504d2e#gistcomment-3510957
    1
    ##
    2
    #   Copyright (c) 2020 Valentin Weber
    3
    # 
    4
    #   After some minor modifications (as marked below) this EventGhost
    5
    #   Python script provides a method to send requests to devices
  2. a simple base logging function that ... a simple base logging function that sets up a package level logger that optionally outputs in color
    1
    def setup_logging(level: str | int, colored: bool) -> logging.Logger:
    2
        """Set up logging for the application."""
    3
    
                  
    4
        class ColorFormatter(logging.Formatter):
    5
            """Logging formatter for colored output."""
  3. Method to create a string representa... Method to create a string representation of any Python object that has a __dict__ attribute. The string formatting is inspired by the formatting of the Python dataclasses repr function. See docstring for details.
    1
    def repr_dict_obj(
    2
        candidate: object,
    3
        classname: str | None = None,
    4
        attr_alt_reprs: (
    5
            None | dict[str, str | Callable[[object], str] | Literal["__exclude__"]]