reflex-ag-grid


Namereflex-ag-grid JSON
Version 0.0.10 PyPI version JSON
download
home_pageNone
SummaryAGGrid wrapping for Reflex
upload_time2024-11-21 11:55:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseApache-2.0
keywords reflex-ag-grid ag-grid reflex reflex-custom-components aggrid dashboard
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AGGrid for Reflex

This package provides a Reflex component wrapping the AGGrid library.

<img src="aggrid_preview.png" width="500px">

> [!WARNING]
> As it is a WorkInProgress (WIP), only some parts of the AGGrid library features are wrapped, but it should be enough for most use cases.

## Installation

```bash
pip install reflex-ag-grid
```

## Usage

```python
from reflex_ag_grid import ag_grid
```

## Helpers tools

Some implementation is offered for DataSource and handlers.

```python
from reflex_ag_grid.data_source import DataSource
from reflex_ag_grid import handlers
```

## Simple Example

```python
import reflex as rx
from reflex_ag_grid import ag_grid
import pandas as pd


df = pd.read_csv(
    "https://raw.githubusercontent.com/plotly/datasets/master/wind_dataset.csv"
)

column_defs = [
    ag_grid.column_def(field="direction"),
    ag_grid.column_def(field="strength"),
    ag_grid.column_def(field="frequency"),
]


def ag_grid_simple():
    return ag_grid(
        id="ag_grid_basic_1",
        row_data=df.to_dict("records"),
        column_defs=column_defs,
    )
```

Check out more documentation at [Reflex](https://reflex.dev/docs/library/tables-and-data-grids/ag-grid/).

## FAQ

- **The AGGrid feature I want is not available. What can I do?**

    This component is a partial wrapping of all the features of AGGrid. If you need a feature that is not available, 
    open an issue to request it. We will try to implement it when possible.

    If you can't wait for the team to implement it, you can also submit a PR with the feature you need.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "reflex-ag-grid",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "reflex-ag-grid, ag-grid, reflex, reflex-custom-components, aggrid, dashboard",
    "author": null,
    "author_email": "Reflex Team <team@reflex.dev>",
    "download_url": "https://files.pythonhosted.org/packages/80/a0/9be21f89afdb9bf382d327b542117b3867e3a1eaa5fa11c672d430803129/reflex_ag_grid-0.0.10.tar.gz",
    "platform": null,
    "description": "# AGGrid for Reflex\n\nThis package provides a Reflex component wrapping the AGGrid library.\n\n<img src=\"aggrid_preview.png\" width=\"500px\">\n\n> [!WARNING]\n> As it is a WorkInProgress (WIP), only some parts of the AGGrid library features are wrapped, but it should be enough for most use cases.\n\n## Installation\n\n```bash\npip install reflex-ag-grid\n```\n\n## Usage\n\n```python\nfrom reflex_ag_grid import ag_grid\n```\n\n## Helpers tools\n\nSome implementation is offered for DataSource and handlers.\n\n```python\nfrom reflex_ag_grid.data_source import DataSource\nfrom reflex_ag_grid import handlers\n```\n\n## Simple Example\n\n```python\nimport reflex as rx\nfrom reflex_ag_grid import ag_grid\nimport pandas as pd\n\n\ndf = pd.read_csv(\n    \"https://raw.githubusercontent.com/plotly/datasets/master/wind_dataset.csv\"\n)\n\ncolumn_defs = [\n    ag_grid.column_def(field=\"direction\"),\n    ag_grid.column_def(field=\"strength\"),\n    ag_grid.column_def(field=\"frequency\"),\n]\n\n\ndef ag_grid_simple():\n    return ag_grid(\n        id=\"ag_grid_basic_1\",\n        row_data=df.to_dict(\"records\"),\n        column_defs=column_defs,\n    )\n```\n\nCheck out more documentation at [Reflex](https://reflex.dev/docs/library/tables-and-data-grids/ag-grid/).\n\n## FAQ\n\n- **The AGGrid feature I want is not available. What can I do?**\n\n    This component is a partial wrapping of all the features of AGGrid. If you need a feature that is not available, \n    open an issue to request it. We will try to implement it when possible.\n\n    If you can't wait for the team to implement it, you can also submit a PR with the feature you need.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "AGGrid wrapping for Reflex",
    "version": "0.0.10",
    "project_urls": {
        "homepage": "https://ag-grid-demo.reflex.run/",
        "source": "https://github.com/reflex-dev/reflex-ag-grid"
    },
    "split_keywords": [
        "reflex-ag-grid",
        " ag-grid",
        " reflex",
        " reflex-custom-components",
        " aggrid",
        " dashboard"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3561ed7582723d2a60d696079d3a48eabae1109dc04b8a87359da0c36d3e311",
                "md5": "fa5f151784cdecb03e5d642f12003d5f",
                "sha256": "1e6cc92aaa7f314f56669eb5caf9cc44d862dd0237d0be15aad1c6f267247a73"
            },
            "downloads": -1,
            "filename": "reflex_ag_grid-0.0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa5f151784cdecb03e5d642f12003d5f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 14275,
            "upload_time": "2024-11-21T11:55:10",
            "upload_time_iso_8601": "2024-11-21T11:55:10.531470Z",
            "url": "https://files.pythonhosted.org/packages/e3/56/1ed7582723d2a60d696079d3a48eabae1109dc04b8a87359da0c36d3e311/reflex_ag_grid-0.0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80a09be21f89afdb9bf382d327b542117b3867e3a1eaa5fa11c672d430803129",
                "md5": "9e33170e075522f6f6075d611b3055b8",
                "sha256": "d1aef1005ae9b13ba265df1fe2aaee7a871b9f1310c599fe77cc216336620965"
            },
            "downloads": -1,
            "filename": "reflex_ag_grid-0.0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "9e33170e075522f6f6075d611b3055b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 13972,
            "upload_time": "2024-11-21T11:55:12",
            "upload_time_iso_8601": "2024-11-21T11:55:12.680513Z",
            "url": "https://files.pythonhosted.org/packages/80/a0/9be21f89afdb9bf382d327b542117b3867e3a1eaa5fa11c672d430803129/reflex_ag_grid-0.0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-21 11:55:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "reflex-dev",
    "github_project": "reflex-ag-grid",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "reflex-ag-grid"
}
        
Elapsed time: 0.57031s