封装一些 Python 组件
Project description
easy_pyoc
自定义 Python 包,封装一些功能
1、socket
ServerSocket
TCP/UDP/MULTICAST 服务端ClientSocket
TCP/UDP/MULTICAST 客户端
2、OcGui
实现自定义标题栏的窗口,包含放大、缩小、关闭的基本功能,实现窗口移动,拖动改变大小。
支持加载本地图片或网络资源为背景图片。
配合 OcGuiIconRc 默认的 QSS 效果,可以实现较为不错的主窗口。
class OTitleBar(QWidget)
- 自定义标题栏,不可单独使用.
class OWindow(QMainWindow)
- 自定义窗口,内置 自定义标题栏及 qss;
-
实现了自定义标题栏的主窗口,包含以下功能:
- 窗口最大化、最小化、关闭;
- 窗口移动;
- 拖动改变窗口大小;
-
基于 requests.get 实现了从互联网及本地加载背景图片.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easy_pyoc-0.2.1.tar.gz
(89.7 kB
view details)
Built Distribution
easy_pyoc-0.2.1-py3-none-any.whl
(354.8 kB
view details)
File details
Details for the file easy_pyoc-0.2.1.tar.gz
.
File metadata
- Download URL: easy_pyoc-0.2.1.tar.gz
- Upload date:
- Size: 89.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7214264f55e7fdc1fb75b78ce878685aa4c7d3af8b68b792dd5b6ab290d0ef1 |
|
MD5 | bbba510731e15b01af3fd55723a0a4c4 |
|
BLAKE2b-256 | 7e3390483409489365c8bd9b66821b662ff0bb6cf157e4a7024bcdc2f1cefc8e |
File details
Details for the file easy_pyoc-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: easy_pyoc-0.2.1-py3-none-any.whl
- Upload date:
- Size: 354.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494d189bc4b497e63217ec8039b77b1ac5ae8c8e9d9939e1ec5d016b88ab73c2 |
|
MD5 | 5e86551e7a26c5cd4cdd3e72350708de |
|
BLAKE2b-256 | f83a709d6f504e5c5f8ff781461f35c89887029206a7096c396ea10f7765c416 |