Skip to main content

Python supporter

Project description

python-supporter

https://pypi.org/project/python-supporter

pip install python-supporter
from python_supporter import logging

logging.basicConfig(logging.ERROR)
#logging.basicConfig(logging.INFO)
#logging.basicConfig(logging.DEBUG)
#logging.basicConfig()
#logging.basicConfig(logging.ERROR, filename='log.txt')
#logging.basicConfig(logging.INFO, filename='log.txt')
#logging.basicConfig(logging.DEBUG, filename='log.txt')
#logging.basicConfig(filename='log.txt')

logging.error('This is error message') #2023-03-19 22:36:47: ERROR: This is error message
logging.info('This is info message')
logging.debug('This is debug message')
import python_supporter

text = python_supporter.file.read_file(file)
python_supporter.file.write_file(file, text)
import python_supporter

chrome_debugger_address = "127.0.0.1:1001"
li = chrome_debugger_address.split(":")
remote_debugging_port = int(li[1])
remote_debugging_address = li[0]

port_opened = python_supporter.socket.check_port_open(remote_debugging_address, remote_debugging_port)
from python_supporter.file import read_binary_file
from python_supporter.file import write_binary_file

source_image = read_binary_file("./assets/source.png")
driving_video = read_binary_file("./assets/driving.mp4")

source_image = "source_image.png"
write_binary_file(source_image, inputs["source_image"])
driving_video = "driving_video.mp4"
write_binary_file(driving_video, inputs["driving_video"])

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

python-supporter-0.0.19.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

python_supporter-0.0.19-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file python-supporter-0.0.19.tar.gz.

File metadata

  • Download URL: python-supporter-0.0.19.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for python-supporter-0.0.19.tar.gz
Algorithm Hash digest
SHA256 e84ecbb7789ec53c60efb0be1fc80c86397318e175c12a0c7818c49347e5d9f2
MD5 9455bc8f2dbd89376a3c36685c6c76ab
BLAKE2b-256 270b41b9c60a923ea50620ddcef37199949e4a15822f34a73a8bce6e5617a9a2

See more details on using hashes here.

File details

Details for the file python_supporter-0.0.19-py3-none-any.whl.

File metadata

File hashes

Hashes for python_supporter-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 ea185c0596518e5604d0b7d6765d38ec51914b507baa03bd71f29c41803f22bd
MD5 d6cc5f5adffa4e13f8e534f1b044e817
BLAKE2b-256 bfa381e72be33b51b33deaea960ad8ccec70c4f8c88b4130877c8ab97e93880f

See more details on using hashes here.

Supported by

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