Skip to main content

封装一些 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;
  1. 实现了自定义标题栏的主窗口,包含以下功能:

    • 窗口最大化、最小化、关闭;
    • 窗口移动;
    • 拖动改变窗口大小;
  2. 基于 requests.get 实现了从互联网及本地加载背景图片.

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

easy_pyoc-0.1.1.tar.gz (86.3 kB view details)

Uploaded Source

Built Distribution

easy_pyoc-0.1.1-py3-none-any.whl (348.4 kB view details)

Uploaded Python 3

File details

Details for the file easy_pyoc-0.1.1.tar.gz.

File metadata

  • Download URL: easy_pyoc-0.1.1.tar.gz
  • Upload date:
  • Size: 86.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for easy_pyoc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 afdd7b0f76af985d666bbb8137f83bb4d044eb0df831db202a325945b39b1f8a
MD5 91e7edfcf7a1d2837320e9f9272b79e9
BLAKE2b-256 09d287d8dee9f277cba0654b1b24e684c34e08cb81c54a5c3b4efdd67b5e8d63

See more details on using hashes here.

File details

Details for the file easy_pyoc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: easy_pyoc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 348.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for easy_pyoc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba6e3c777d51bc855ec27688dbcf81000813cb67b8e1ecd82b995c324288f891
MD5 7547c11dae62e6d8eeb8961b9c0588b6
BLAKE2b-256 0897ec814e61c9a059bf48e04db0eaf7074e7b11cd7c8ee970724c04b7cda942

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