![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
socket_request is building and parsing HTTP requests with UNIX domain sockets.
socket_request is build and parses HTTP requests with unix domain sockets.
socket_request is available on PyPI:
pip3 install socket-request
Officially supports Python 3.7+.
import socket_request
docker = socket_request.DockerSock(unix_socket="/var/run/docker.sock")
docker.get_docker_images()
import socket_request
control_chain = socket_request.ControlChain(unix_socket="./cli.sock")
control_chain.stop()
control_chain.start()
$ control_chain --help
╋╋╋╋╋╋╋╋╋┏┓╋╋╋╋╋┏┓╋╋╋╋┏┓
╋╋╋╋╋╋╋╋┏┛┗┓╋╋╋╋┃┃╋╋╋╋┃┃
┏━━┳━━┳━╋┓┏╋━┳━━┫┃╋┏━━┫┗━┳━━┳┳━┓
┃┏━┫┏┓┃┏┓┫┃┃┏┫┏┓┃┃╋┃┏━┫┏┓┃┏┓┣┫┏┓┓
┃┗━┫┗┛┃┃┃┃┗┫┃┃┗┛┃┗┓┃┗━┫┃┃┃┏┓┃┃┃┃┃
┗━━┻━━┻┛┗┻━┻┛┗━━┻━┛┗━━┻┛┗┻┛┗┻┻┛┗┛
version : 1.0.11
base_dir: /app/icon2-node
usage: control_chain [-h] [-s unixsocket] [-d] [-t timeout] [-w wait_state]
[-r retry] [-ws] [-ap auto_prepare] [-p payload_file]
[-f] [-i] [--seedAddress SEEDADDRESS] [-b BASE_DIR]
[-pd payload dict]
{start,stop,reset,leave,view_chain,view_system_config,join,backup,backup_list,restore,chain_config,system_config,ls,prune}
Command Line Interface for control_chain
positional arguments:
{start,stop,reset,leave,view_chain,view_system_config,join,backup,backup_list,restore,chain_config,system_config,ls,prune}
optional arguments:
-h, --help show this help message and exit
-s unixsocket, --unixsocket unixsocket
unix domain socket path (default:
/app/icon2-node/data/cli.socket)
-d, --debug debug mode. (default: False)
-t timeout, --timeout timeout
timeout (default: 60)
-w wait_state, --wait-state wait_state
wait_state (default: True)
-r retry, --retry retry
wait_state (default: True)
-ws, --wait-socket wait for unix domain socket
-ap auto_prepare, --auto_prepare auto_prepare
auto_prepare (default: True)
-p payload_file, --payload payload_file
payload file
-f, --forever retry forever
-i, --inspect inspect for view chain
--seedAddress SEEDADDRESS
seed list string
-b BASE_DIR, --base-dir BASE_DIR
base dir for goloop
-pd payload dict, --payload-dict payload dict
payload dict
-bh BLOCKHEIGHT, --blockheight BLOCKHEIGHT
BlockHeight for pruning
-rn RESTORE_NAME, --restore-name RESTORE_NAME
Restore filename for restore
Parent class is ConnectSock class
Parent class is ConnectSock class
FAQs
socket_request is building and parsing HTTP requests with UNIX domain sockets.
We found that socket-request demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.