This is a custom widget of `PySide6` modules, which makes it convenient to manage and use as submodules during development.
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
usingPowerShell
)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
$Env:Path += ";$HOME\AppData\Roaming\Python\Scripts"; setx PATH "$Env:Path"
- MacOS (Install
Poetry
using Homebrew)
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.3.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for pywidgets_ext-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a330a8f89170d0830d6a2e78f34f600a88cba624b52c3589571d0a9c9da7c7ef |
|
MD5 | b8734d7520d447dc8e18e66cbf605da5 |
|
BLAKE2b-256 | 8a913d4c79939291d6bf673675c541c7e19013fc6c917a735a340ffd8f6163ef |