python-supporter


Namepython-supporter JSON
Version 0.0.18 PyPI version JSON
download
home_pagehttps://github.com/automatethem/python-supporter
SummaryPython supporter
upload_time2023-07-23 12:31:11
maintainer
docs_urlNone
authorSang Ki Kwon
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-supporter

https://pypi.org/project/python-supporter
<pre>
pip install python-supporter
</pre>

```
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"])
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/automatethem/python-supporter",
    "name": "python-supporter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Sang Ki Kwon",
    "author_email": "automatethem@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/f7/5a1b53ace2adf49db0e06c47f57e19d93e046aaff5d9717247377a550f07/python-supporter-0.0.18.tar.gz",
    "platform": null,
    "description": "# python-supporter\n\nhttps://pypi.org/project/python-supporter\n<pre>\npip install python-supporter\n</pre>\n\n```\nfrom python_supporter import logging\n\nlogging.basicConfig(logging.ERROR)\n#logging.basicConfig(logging.INFO)\n#logging.basicConfig(logging.DEBUG)\n#logging.basicConfig()\n#logging.basicConfig(logging.ERROR, filename='log.txt')\n#logging.basicConfig(logging.INFO, filename='log.txt')\n#logging.basicConfig(logging.DEBUG, filename='log.txt')\n#logging.basicConfig(filename='log.txt')\n\nlogging.error('This is error message') #2023-03-19 22:36:47: ERROR: This is error message\nlogging.info('This is info message')\nlogging.debug('This is debug message')\n```\n\n```\nimport python_supporter\n\ntext = python_supporter.file.read_file(file)\npython_supporter.file.write_file(file, text)\n```\n\n```\nimport python_supporter\n\nchrome_debugger_address = \"127.0.0.1:1001\"\nli = chrome_debugger_address.split(\":\")\nremote_debugging_port = int(li[1])\nremote_debugging_address = li[0]\n\nport_opened = python_supporter.socket.check_port_open(remote_debugging_address, remote_debugging_port)\n```\n\n```\nfrom python_supporter.file import read_binary_file\nfrom python_supporter.file import write_binary_file\n\nsource_image = read_binary_file(\"./assets/source.png\")\ndriving_video = read_binary_file(\"./assets/driving.mp4\")\n\nsource_image = \"source_image.png\"\nwrite_binary_file(source_image, inputs[\"source_image\"])\ndriving_video = \"driving_video.mp4\"\nwrite_binary_file(driving_video, inputs[\"driving_video\"])\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python supporter",
    "version": "0.0.18",
    "project_urls": {
        "Homepage": "https://github.com/automatethem/python-supporter"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f337b1925568f3bb96f90cee9945726636501d5393f848429f8d1b2f0c29313",
                "md5": "865b7244b75dee86162e80c27d5edd19",
                "sha256": "12adb3ef882646472403e89982398b0eeaabe9278b521e0761ec07aed7fe6876"
            },
            "downloads": -1,
            "filename": "python_supporter-0.0.18-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "865b7244b75dee86162e80c27d5edd19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5895,
            "upload_time": "2023-07-23T12:31:10",
            "upload_time_iso_8601": "2023-07-23T12:31:10.163046Z",
            "url": "https://files.pythonhosted.org/packages/9f/33/7b1925568f3bb96f90cee9945726636501d5393f848429f8d1b2f0c29313/python_supporter-0.0.18-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3ef75a1b53ace2adf49db0e06c47f57e19d93e046aaff5d9717247377a550f07",
                "md5": "ebc93dc53fd0679fdde53220b59c99e1",
                "sha256": "2bf8055d272a7ff730ef513087362d922e5a375d31e6a69208e4d8b3b4c43d31"
            },
            "downloads": -1,
            "filename": "python-supporter-0.0.18.tar.gz",
            "has_sig": false,
            "md5_digest": "ebc93dc53fd0679fdde53220b59c99e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4053,
            "upload_time": "2023-07-23T12:31:11",
            "upload_time_iso_8601": "2023-07-23T12:31:11.844736Z",
            "url": "https://files.pythonhosted.org/packages/3e/f7/5a1b53ace2adf49db0e06c47f57e19d93e046aaff5d9717247377a550f07/python-supporter-0.0.18.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-23 12:31:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "automatethem",
    "github_project": "python-supporter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "python-supporter"
}
        
Elapsed time: 0.39251s