Concur UI Framework for Python
Concur is a Python GUI framework based on synchronous generators.
For introduction to core concepts, see the documentation. A more comprehensive introduction can be found in the Documentation for the Haskell/Purescript versions. This obviously uses Haskell/Purescript syntax and semantics, but many of the concepts will apply to the Python version.
Being an abstraction over ImGui, Concur is best used for debugging, prototyping and data analysis, rather than user-facing applications. ImGui functions can be used directly for any functionality that is not wrapped by Concur. See the PyImGui docs for additional widgets, or ImGui itself if you need to poke really deep.
sudo apt install libglfw3-dev # Ubuntu sudo pacman -S glfw # Arch
Concur can be installed using pip:
pip install concur
This command should produce a very simple GUI app:
python -c 'import concur as c; c.main(c.button("Close"))'
For Concur development, clone the repo and install it using pip:
git clone https://github.com/potocpav/python-concur.git cd python-concur pip install -e. examples/all.py # Run the examples to verify installation
To run the tests, you need PyTest and PyTest-benchmark:
pip install pytest pytest-benchmark pytest # Run the tests
To build documentation, install pdoc3 (
pip install pdoc3), clone the submodules (
git submodule update --init), and run the script
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size concur-0.10.0.tar.gz (40.6 kB)||File type Source||Python version None||Upload date||Hashes View|