Repository URL to install this package:
|
Version:
0.1.13 ▾
|
kiara.streamlit
/
METADATA
|
|---|
Metadata-Version: 2.1
Name: kiara.streamlit
Version: 0.1.13
Summary: Streamlit widgets for kiara.
Home-page: https://github.com/DHARPA-project/kiara.streamlit
Author: Markus Binsteiner
Author-email: markus@frkl.io
License: UNKNOWN
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: AUTHORS.md
Requires-Dist: jinja2 (>=3.0.1)
Requires-Dist: kiara[cli] (>=0.2.0)
Requires-Dist: kiara-modules.core (>=0.2.0)
Requires-Dist: pyarrow (>=5.0.0)
Requires-Dist: pydot (>=1.4.0)
Requires-Dist: streamlit (>=0.89.0)
Requires-Dist: streamlit-ace (>=0.1.0)
Requires-Dist: streamlit-aggrid (>=0.2.0)
Requires-Dist: streamlit-agraph (>=0.0.35)
Requires-Dist: streamlit-observable-dharpa
Requires-Dist: streamlit-pydantic (>=0.4.0)
Provides-Extra: all
Provides-Extra: all_dev
Requires-Dist: watchgod (>=0.6) ; extra == 'all_dev'
Requires-Dist: setup-cfg-fmt (>=1.16.0) ; extra == 'all_dev'
Requires-Dist: pytest-cov (>=2.11.1) ; extra == 'all_dev'
Requires-Dist: cruft (>=2.6.0) ; extra == 'all_dev'
Requires-Dist: types-python-dateutil ; extra == 'all_dev'
Requires-Dist: coveralls (>=3.2.0) ; extra == 'all_dev'
Requires-Dist: ipython ; extra == 'all_dev'
Requires-Dist: pp-ez (>=0.2.0) ; extra == 'all_dev'
Requires-Dist: black ; extra == 'all_dev'
Requires-Dist: pre-commit (>=2.9.3) ; extra == 'all_dev'
Requires-Dist: tox (>=3.21.2) ; extra == 'all_dev'
Requires-Dist: wheel ; extra == 'all_dev'
Requires-Dist: types-pkg-resources ; extra == 'all_dev'
Requires-Dist: flake8 (>=3.8.4) ; extra == 'all_dev'
Requires-Dist: mypy (>=0.800) ; extra == 'all_dev'
Requires-Dist: pip-licenses (>=3.3.0) ; extra == 'all_dev'
Requires-Dist: pytest (>=6.2.2) ; extra == 'all_dev'
Requires-Dist: kiara[dev_documentation] ; extra == 'all_dev'
Provides-Extra: dev_all
Requires-Dist: watchgod (>=0.6) ; extra == 'dev_all'
Requires-Dist: setup-cfg-fmt (>=1.16.0) ; extra == 'dev_all'
Requires-Dist: pytest-cov (>=2.11.1) ; extra == 'dev_all'
Requires-Dist: cruft (>=2.6.0) ; extra == 'dev_all'
Requires-Dist: types-python-dateutil ; extra == 'dev_all'
Requires-Dist: coveralls (>=3.2.0) ; extra == 'dev_all'
Requires-Dist: ipython ; extra == 'dev_all'
Requires-Dist: pp-ez (>=0.2.0) ; extra == 'dev_all'
Requires-Dist: black ; extra == 'dev_all'
Requires-Dist: pre-commit (>=2.9.3) ; extra == 'dev_all'
Requires-Dist: tox (>=3.21.2) ; extra == 'dev_all'
Requires-Dist: wheel ; extra == 'dev_all'
Requires-Dist: types-pkg-resources ; extra == 'dev_all'
Requires-Dist: flake8 (>=3.8.4) ; extra == 'dev_all'
Requires-Dist: mypy (>=0.800) ; extra == 'dev_all'
Requires-Dist: pip-licenses (>=3.3.0) ; extra == 'dev_all'
Requires-Dist: pytest (>=6.2.2) ; extra == 'dev_all'
Requires-Dist: kiara[dev_documentation] ; extra == 'dev_all'
Provides-Extra: dev_documentation
Requires-Dist: kiara[dev_documentation] ; extra == 'dev_documentation'
Provides-Extra: dev_testing
Requires-Dist: coveralls (>=3.2.0) ; extra == 'dev_testing'
Requires-Dist: flake8 (>=3.8.4) ; extra == 'dev_testing'
Requires-Dist: mypy (>=0.800) ; extra == 'dev_testing'
Requires-Dist: pytest (>=6.2.2) ; extra == 'dev_testing'
Requires-Dist: pytest-cov (>=2.11.1) ; extra == 'dev_testing'
Requires-Dist: tox (>=3.21.2) ; extra == 'dev_testing'
Requires-Dist: types-pkg-resources ; extra == 'dev_testing'
Requires-Dist: types-python-dateutil ; extra == 'dev_testing'
Provides-Extra: dev_utils
Requires-Dist: black ; extra == 'dev_utils'
Requires-Dist: cruft (>=2.6.0) ; extra == 'dev_utils'
Requires-Dist: flake8 (>=3.8.4) ; extra == 'dev_utils'
Requires-Dist: ipython ; extra == 'dev_utils'
Requires-Dist: pip-licenses (>=3.3.0) ; extra == 'dev_utils'
Requires-Dist: pp-ez (>=0.2.0) ; extra == 'dev_utils'
Requires-Dist: pre-commit (>=2.9.3) ; extra == 'dev_utils'
Requires-Dist: setup-cfg-fmt (>=1.16.0) ; extra == 'dev_utils'
Requires-Dist: watchgod (>=0.6) ; extra == 'dev_utils'
Requires-Dist: wheel ; extra == 'dev_utils'
[](https://pypi.python.org/pypi/kiara.streamlit/)
[](https://pypi.python.org/pypi/kiara.streamlit/)
[](https://pypi.python.org/pypi/kiara.streamlit/)
[](https://actions-badge.atrox.dev/DHARPA-Project/kiara.streamlit/goto?ref=develop)
[](https://coveralls.io/github/frkl-io/kiara.streamlit?branch=develop)
[](https://github.com/ambv/black)
# Streamlit components for *kiara*
- Documentation: [https://frkl-io.github.io/kiara.streamlit/](https://frkl-io.github.io/kiara.streamlit/)
- Code: [https://github.com/frkl-io/kiara.streamlit](https://github.com/frkl-io/kiara.streamlit)
## Description
Widgets and helper objects to create streamlit apps with *kiara*.
## Development
### Requirements
- Python (version >=3.6 -- some make targets only work for Python >=3.7 though)
- pip, virtualenv
- git
- make (on Linux / Mac OS X -- optional)
### Prepare development environment
If you only want to work on the modules, and not the core *Kiara* codebase, follow the instructions below. Otherwise, please
check the notes on how to setup a *Kiara* development environment under (TODO).
#### Linux & Mac OS X (using make)
For *NIX-like operating system, setting up a development environment is relatively easy:
```console
git clone https://github.com/DHARPA-Project/kiara.streamlit.git
cd kiara_streamlit
python3 -m venv .venv
source .venv/bin/activate
make init
```
#### Windows (or manual pip install)
It's impossible to lay out all the ways Python can be installed on a machine, and virtual- (or conda-)envs can be created, so I'll assume you know how to do this.
One simple way is to install the [Anaconda (individual edition)](https://docs.anaconda.com/anaconda/install/index.html), then use the Anaconda navigator to create a new environment, install the 'git' package in it (if your system does not already have it), and use the 'Open Terminal' option of that environment to start up a terminal that has that virtual-/conda-environment activated.
Once that is done, `cd` into a directory where you want this project folder to live, and do:
```console
# make sure your virtual env is activated!!!
git clone https://github.com/DHARPA-Project/kiara.streamlit.git
cd kiara_streamlit
pip install --extra-index-url https://pypi.fury.io/dharpa/ -U -e .[all_dev]
```
#### Try it out
After this is done, you should be able to run the included example module via:
```console
kiara run streamlit_example text_1="xxx" text_2="yyy"
...
...
```
### Re-activate the development environment
The 'prepare' step from above only has to be done once. After that, to re-enable your virtual environment,
you'll need to navigate to the directory again (wherever that is, in your case), and run the ``source`` command from before again:
```console
cd path/to/kiara_streamlit
source .venv/bin/activate # if it isn't activated already, for example by the Anaconda navigator
kiara --help # or whatever, point is, kiara should be available for you now,
```
### ``make`` targets (Linux & Mac OS X)
- ``init``: init development project (install project & dev dependencies into virtualenv, as well as pre-commit git hook)
- ``update-dependencies``: update development dependencies (mainly the core ``kiara`` package from git)
- ``flake``: run *flake8* tests
- ``mypy``: run mypy tests
- ``test``: run unit tests
- ``docs``: create static documentation pages (under ``build/site``)
- ``serve-docs``: serve documentation pages (incl. auto-reload) for getting direct feedback when working on documentation
- ``clean``: clean build directories
For details (and other, minor targets), check the ``Makefile``.
### Running tests
``` console
> make test
# or
> make coverage
```
## Copyright & license
No license yet.
Copyright (c) 2021 Markus Binsteiner