streamlit-chart-positions


Namestreamlit-chart-positions JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryStreamlit component for chart position selection and management
upload_time2025-07-11 23:26:50
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords chart component positions streamlit visualization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Streamlit Chart Positions

Um componente Streamlit para seleção e gerenciamento de posições de gráficos em layouts responsivos.

## Instalação

```sh
pip install streamlit-chart-positions
```

## Como usar

```python
import streamlit as st
from my_component import my_component

# Lista de posições disponíveis para o gráfico
positions = [
    "ROW2, COL1", "ROW2, COL2", "ROW2, COL3",
    "ROW3, COL1", "ROW3, COL2", "ROW3, COL3",
    "ROW4, COL1", "ROW4, COL2", "ROW4, COL3",
    "ROW5, COL1", "ROW5, COL2", "FULL ROW 6",
    "ROW7, COL1", "ROW7, COL2", "ROW7, COL3",
    "ROW1, COL1(Auto Select)", "ROW1, COL2(Auto Select)", "ROW1, COL3(Auto Select)"
]

# Usar o componente
selected_position = my_component(positions=positions, key="chart_positions")
st.write(f"Posição selecionada: {selected_position}")
```

## Funcionalidades

- Seleção visual de posições de gráficos
- Layout responsivo com grid system
- Suporte a seleção automática
- Integração perfeita com Streamlit

## Desenvolvimento

Para executar em modo de desenvolvimento:

```sh
cd template/my_component/frontend
npm install
npm run start
```

Em outro terminal:
```sh
streamlit run template/example.py
```

---

### Passos para corrigir e publicar:

1. **Limpe os arquivos antigos:**
   ```sh
   rmdir /s /q dist
   rmdir /s /q streamlit_chart_positions.egg-info
   ```

2. **Reconstrua o pacote:**
   ```sh
   python -m build
   ```

3. **Tente publicar novamente:**
   ```sh
   twine upload dist/*
   ```

---

Se quiser, posso executar esses comandos para você.  
Deseja que eu faça isso automaticamente?
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "streamlit-chart-positions",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Seu Nome <seu.email@exemplo.com>",
    "keywords": "chart, component, positions, streamlit, visualization",
    "author": null,
    "author_email": "Seu Nome <seu.email@exemplo.com>",
    "download_url": "https://files.pythonhosted.org/packages/a5/67/dc9160efec3ece5b619bad144073d1b73178e410b02f1193363199ad3fe3/streamlit_chart_positions-0.1.1.tar.gz",
    "platform": null,
    "description": "# Streamlit Chart Positions\n\nUm componente Streamlit para sele\u00e7\u00e3o e gerenciamento de posi\u00e7\u00f5es de gr\u00e1ficos em layouts responsivos.\n\n## Instala\u00e7\u00e3o\n\n```sh\npip install streamlit-chart-positions\n```\n\n## Como usar\n\n```python\nimport streamlit as st\nfrom my_component import my_component\n\n# Lista de posi\u00e7\u00f5es dispon\u00edveis para o gr\u00e1fico\npositions = [\n    \"ROW2, COL1\", \"ROW2, COL2\", \"ROW2, COL3\",\n    \"ROW3, COL1\", \"ROW3, COL2\", \"ROW3, COL3\",\n    \"ROW4, COL1\", \"ROW4, COL2\", \"ROW4, COL3\",\n    \"ROW5, COL1\", \"ROW5, COL2\", \"FULL ROW 6\",\n    \"ROW7, COL1\", \"ROW7, COL2\", \"ROW7, COL3\",\n    \"ROW1, COL1(Auto Select)\", \"ROW1, COL2(Auto Select)\", \"ROW1, COL3(Auto Select)\"\n]\n\n# Usar o componente\nselected_position = my_component(positions=positions, key=\"chart_positions\")\nst.write(f\"Posi\u00e7\u00e3o selecionada: {selected_position}\")\n```\n\n## Funcionalidades\n\n- Sele\u00e7\u00e3o visual de posi\u00e7\u00f5es de gr\u00e1ficos\n- Layout responsivo com grid system\n- Suporte a sele\u00e7\u00e3o autom\u00e1tica\n- Integra\u00e7\u00e3o perfeita com Streamlit\n\n## Desenvolvimento\n\nPara executar em modo de desenvolvimento:\n\n```sh\ncd template/my_component/frontend\nnpm install\nnpm run start\n```\n\nEm outro terminal:\n```sh\nstreamlit run template/example.py\n```\n\n---\n\n### Passos para corrigir e publicar:\n\n1. **Limpe os arquivos antigos:**\n   ```sh\n   rmdir /s /q dist\n   rmdir /s /q streamlit_chart_positions.egg-info\n   ```\n\n2. **Reconstrua o pacote:**\n   ```sh\n   python -m build\n   ```\n\n3. **Tente publicar novamente:**\n   ```sh\n   twine upload dist/*\n   ```\n\n---\n\nSe quiser, posso executar esses comandos para voc\u00ea.  \nDeseja que eu fa\u00e7a isso automaticamente?",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Streamlit component for chart position selection and management",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/seu-usuario/streamlit-chart-positions",
        "Issues": "https://github.com/seu-usuario/streamlit-chart-positions/issues",
        "Repository": "https://github.com/seu-usuario/streamlit-chart-positions"
    },
    "split_keywords": [
        "chart",
        " component",
        " positions",
        " streamlit",
        " visualization"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9646a6db5c8df2314a9ccb33d392cd43dd7e21338c2106d47205b9a03b81e066",
                "md5": "8fcdc78cff40d635219d42f05f615437",
                "sha256": "4d732a481c429f815732b03c2c32df41a13b965653b01344d294591d27d5eeac"
            },
            "downloads": -1,
            "filename": "streamlit_chart_positions-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8fcdc78cff40d635219d42f05f615437",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 174961,
            "upload_time": "2025-07-11T23:26:46",
            "upload_time_iso_8601": "2025-07-11T23:26:46.514134Z",
            "url": "https://files.pythonhosted.org/packages/96/46/a6db5c8df2314a9ccb33d392cd43dd7e21338c2106d47205b9a03b81e066/streamlit_chart_positions-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a567dc9160efec3ece5b619bad144073d1b73178e410b02f1193363199ad3fe3",
                "md5": "21ee38797303cae6dbfae1a3122bb3a5",
                "sha256": "330d4646af2495f51b86cebc9391b2ceb3652eec9e255b4b7767d4e7eb710bd6"
            },
            "downloads": -1,
            "filename": "streamlit_chart_positions-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "21ee38797303cae6dbfae1a3122bb3a5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 60127950,
            "upload_time": "2025-07-11T23:26:50",
            "upload_time_iso_8601": "2025-07-11T23:26:50.992873Z",
            "url": "https://files.pythonhosted.org/packages/a5/67/dc9160efec3ece5b619bad144073d1b73178e410b02f1193363199ad3fe3/streamlit_chart_positions-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-11 23:26:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "seu-usuario",
    "github_project": "streamlit-chart-positions",
    "github_not_found": true,
    "lcname": "streamlit-chart-positions"
}
        
Elapsed time: 1.42974s