Name | hstream JSON |
Version |
0.1.56
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-05-27 00:52:29 |
maintainer | None |
docs_url | None |
author | Conrad |
requires_python | <4.0,>=3.10 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# HStream
Convert your script to interactive python web app like so:
user_said = hs.text_input("What would you like to say:")
Powered by [Django](https://github.com/django/django) + [htmx](https://github.com/bigskysoftware/htmx) enables easy app ejection to scale/extend once you've outgrown HStream. Inspired by [Streamlit](https://github.com/streamlit/streamlit).
## Usage
`pip install hstream`
`hstream init # populates example.py`
`hstream run example.py`

## Motivation
Write beautiful user interfaces that enable quick iteration for Proof-of-Concept (PoC) python scripts, without the need to start over when we go to production.
Love Streamlit but:
- impossible to customise beyond PoC phase
- hard to reason about when extending and deploying
- non-standard approach doesn't play nicely with existing ecosystems
H-(html)-Stream is built with semantic html, Django and htmx to provide a fast and simple framework for rapid web app development that follows traditional frontend/server architecture (or at least follow it closer than Streamlit).
## Some features that excite us
- [Eject to a Django (traditional web app)](docs/features/eject.md)
- Display pandas dataframes, plots, markdown and more! [see supported components](docs/features/components.md)
[Some examples]((./demo))
## Technologies
Big thanks to the following libraries in particular
- Streamlit
- htmx
- Yattag
- pico css
- Django
## Backlog (WIP)
- [x] live server reload on file change (through univorn)
- [x] semantic html and basic html manipulation from within script
- [x] basic components - see below
- [x] swap stylesheet
- [x] complex html manipulation from within script (setting attributes)
- [x] plotly plot support
- [x] select component
- [x] multi select component
- [ ] auto ssl certs for easy deployment
- [ ] example component architecture
- [ ] reload browser on code change
Raw data
{
"_id": null,
"home_page": null,
"name": "hstream",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Conrad",
"author_email": "conradbez1@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d5/b5/a0c17e4bfdb1fb5da81487d546ae1b4cf8aaf31b66fae48d1ab3051bd20a/hstream-0.1.56.tar.gz",
"platform": null,
"description": "# HStream\n\nConvert your script to interactive python web app like so:\n\n user_said = hs.text_input(\"What would you like to say:\")\n\nPowered by [Django](https://github.com/django/django) + [htmx](https://github.com/bigskysoftware/htmx) enables easy app ejection to scale/extend once you've outgrown HStream. Inspired by [Streamlit](https://github.com/streamlit/streamlit).\n\n## Usage\n\n`pip install hstream`\n\n`hstream init # populates example.py`\n\n`hstream run example.py`\n\n\n\n## Motivation\n\nWrite beautiful user interfaces that enable quick iteration for Proof-of-Concept (PoC) python scripts, without the need to start over when we go to production.\n\nLove Streamlit but:\n\n- impossible to customise beyond PoC phase\n- hard to reason about when extending and deploying\n- non-standard approach doesn't play nicely with existing ecosystems\n\nH-(html)-Stream is built with semantic html, Django and htmx to provide a fast and simple framework for rapid web app development that follows traditional frontend/server architecture (or at least follow it closer than Streamlit).\n\n## Some features that excite us\n\n- [Eject to a Django (traditional web app)](docs/features/eject.md)\n- Display pandas dataframes, plots, markdown and more! [see supported components](docs/features/components.md)\n\n[Some examples]((./demo))\n\n## Technologies\n\nBig thanks to the following libraries in particular\n\n\n- Streamlit\n- htmx\n- Yattag\n- pico css\n- Django\n\n## Backlog (WIP)\n\n- [x] live server reload on file change (through univorn)\n- [x] semantic html and basic html manipulation from within script\n- [x] basic components - see below\n- [x] swap stylesheet\n- [x] complex html manipulation from within script (setting attributes)\n- [x] plotly plot support\n- [x] select component\n- [x] multi select component\n- [ ] auto ssl certs for easy deployment\n- [ ] example component architecture\n- [ ] reload browser on code change\n\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.1.56",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a17815e1c8bfce4edc5ab845380befb1b5572b61c30ab50948128c67a87e40e9",
"md5": "db052225a45c0071fb623bbffc075b89",
"sha256": "08dff67db2e7ef99f45b158081035dfd1490f858700b083ee2c53fdd9dfd2ac4"
},
"downloads": -1,
"filename": "hstream-0.1.56-py3-none-any.whl",
"has_sig": false,
"md5_digest": "db052225a45c0071fb623bbffc075b89",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 21129,
"upload_time": "2024-05-27T00:52:24",
"upload_time_iso_8601": "2024-05-27T00:52:24.413781Z",
"url": "https://files.pythonhosted.org/packages/a1/78/15e1c8bfce4edc5ab845380befb1b5572b61c30ab50948128c67a87e40e9/hstream-0.1.56-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d5b5a0c17e4bfdb1fb5da81487d546ae1b4cf8aaf31b66fae48d1ab3051bd20a",
"md5": "0f8481a339a2382939a148917a60049a",
"sha256": "713e356fdec55182b31abad30acb353e07a9a6a08fb86f517f8a117d1f8eec93"
},
"downloads": -1,
"filename": "hstream-0.1.56.tar.gz",
"has_sig": false,
"md5_digest": "0f8481a339a2382939a148917a60049a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 16760,
"upload_time": "2024-05-27T00:52:29",
"upload_time_iso_8601": "2024-05-27T00:52:29.981116Z",
"url": "https://files.pythonhosted.org/packages/d5/b5/a0c17e4bfdb1fb5da81487d546ae1b4cf8aaf31b66fae48d1ab3051bd20a/hstream-0.1.56.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-27 00:52:29",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "hstream"
}