Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imyizhang/streamlit-space
Spacing component for Streamlit
https://github.com/imyizhang/streamlit-space
Last synced: 6 days ago
JSON representation
Spacing component for Streamlit
- Host: GitHub
- URL: https://github.com/imyizhang/streamlit-space
- Owner: imyizhang
- License: mit
- Created: 2022-11-11T02:06:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T09:27:42.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T15:23:08.222Z (about 1 month ago)
- Language: Python
- Homepage: https://pypi.org/project/streamlit-space
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Streamlit Space
[![Open in Streamlit][share_badge]][share_link] [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link]
Add blank lines to your Streamlit app.
## Installation
```bash
pip install streamlit-space
```## Quickstart
```python
import streamlit as st
from streamlit_space import spacest.title('Streamlit Space')
space()
```## License
Streamlit Space has an MIT license, as found in the [LICENSE](https://github.com/imyizhang/streamlit-space/blob/main/LICENSE) file.
## Documentation
### streamlit_space.space
#### `streamlit_space.space(container=None, lines=1)`
Add blank lines to Streamlit app.
**Parameters**:
* **container** (any, optional): The Streamlit container. Defaults to `None`.
* **lines** (int, optional): The number of blank lines to be added. Defaults to `1`.## Contribution
## Changelog
Version 0.1.0:
* Made spacing component functional
[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_link]: https://share.streamlit.io/imyizhang/streamlit-space/main/streamlit_app.py[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/imyizhang/streamlit-space[pypi_badge]: https://badgen.net/pypi/v/streamlit-space?icon=pypi&color=black&label
[pypi_link]: https://www.pypi.org/project/streamlit-space