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
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.4.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for pywidgets_ext-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfa35e21b43fe0ea4d276a7943ba9df0a0aae7eeef8a1c9355bddf3c12b0be9b |
|
MD5 | da808d64a58061cb05e9d74ea1424590 |
|
BLAKE2b-256 | 43f7a277c42634410f314b483896b3b7722fa97912c0dcede93445f20ba755d3 |