
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Sending and receiving arbitrary data via UDP
This package implements a lightweight, pure-Python client and server pair that sends and receives simple Python structures via UDP. The original motivation is to enable a package to send "phone home" messages.
The default encoding is zlib-compressed json. (pickle is not used out of security concerns [example].)
make devready
In one shell, type:
$ python et/server.py
INFO:__main__:Listening on localhost:2233
In another shell, type:
$ python ./et/client.py
(There is no output from the client)
In the server window, you should see messages like:
INFO:__main__:Received 4 bytes from ('127.0.0.1', 47750) in format 1
INFO:__main__:Received 12 bytes from ('127.0.0.1', 59498) in format 2
INFO:__main__:Received 18 bytes from ('127.0.0.1', 42396) in format 1
{'test': 'data'}
INFO:__main__:Received 26 bytes from ('127.0.0.1', 42598) in format 2
{'test': 'data'}
INFO:__main__:Received 122 bytes from ('127.0.0.1', 57842) in format 1
{'version': '1.2.3rc4', 'sys.version_info': [3, 5, 2, 'final', 0], 'sys.platform': 'linux', 'local_ip': '172.18.20.148'}
INFO:__main__:Received 108 bytes from ('127.0.0.1', 44319) in format 2
{'version': '1.2.3rc4', 'sys.version_info': [3, 5, 2, 'final', 0], 'sys.platform': 'linux', 'local_ip': '172.18.20.148'}
Format 1 is json; format 2 is compressed json.
FAQs
Simple package to phone home by sending and receiving arbitrary dictionaries via UDP
We found that et 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.