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.2.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for pywidgets_ext-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daff9da894387742cbe3f11731e3f89a769a90af4a4fcbd48ade6d1043dc1d2f |
|
MD5 | 3022f9f98f813f3e9e3dfe0cb416cc9d |
|
BLAKE2b-256 | 93c1185fc356a3ba4b567977bdce31197fb2c78b07de59869a55975021364aa6 |