Skip to main content

No project description provided

Project description

PyWidgets

This is a custom widget of PySide6 modules, which makes it convenient to manage and use as submodules during development.

Usage

  • Add as a submodule
git submodule add "https://github.com/leoli0605/PyWidgets.git" <local path>
  • Update
git submodule update --remote

Widgets

Widget Description Try It
PyFigureCanvas - poetry run python widgets/py_figure_canvas/py_figure_canvas.py
PyGraphicsView - poetry run python widgets/py_graphics_view/py_graphics_view.py

Development

Use Poetry as the package management tool.

Setup

  • Windows (Install Poetry using PowerShell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
$Env:Path += ";$HOME\AppData\Roaming\Python\Scripts"; setx PATH "$Env:Path"
brew install poetry

Environment

poetry config virtualenvs.in-project true

Install

  • Install dependencies
poetry install
  • Install a package
poetry add <package>
  • Install a package as a development dependency
poetry add <package> -G dev
  • Remove a package
poetry remove <package>

Coding Style

poetry run black -l 100 .

Appendix

  • Update dependencies
poetry export -f requirements.txt --output requirements.txt --without-hashes

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

pywidgets_ext-0.1.4.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

pywidgets_ext-0.1.4-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

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