reflex-ag-grid


Namereflex-ag-grid JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummaryAGGrid wrapping for Reflex
upload_time2024-09-26 21:47:42
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/ag-grid/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/53/9a/ec640f1445477e85df972e64ef76cef1973817c9073832578ade55f9bf83/reflex_ag_grid-0.0.7.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/ag-grid/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.7",
    "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": "6d9cf2adace7f354171ab2cdffa39f35ec79ff7750f3c8ad9355fa2bad25c7f9",
                "md5": "f433d41c6a6b7c8a87caf62e229f79f6",
                "sha256": "6e7250bada58f0ff07b42723ae5a0c15fc882b8deac44aeced4b416897a05aad"
            },
            "downloads": -1,
            "filename": "reflex_ag_grid-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f433d41c6a6b7c8a87caf62e229f79f6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7945,
            "upload_time": "2024-09-26T21:47:41",
            "upload_time_iso_8601": "2024-09-26T21:47:41.655022Z",
            "url": "https://files.pythonhosted.org/packages/6d/9c/f2adace7f354171ab2cdffa39f35ec79ff7750f3c8ad9355fa2bad25c7f9/reflex_ag_grid-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "539aec640f1445477e85df972e64ef76cef1973817c9073832578ade55f9bf83",
                "md5": "e8b0197ab0640ffcf6d81b81bf217b85",
                "sha256": "3d99c76168c72edf5b770e1d1418222872a49cbdbef4fe43024865873b938e18"
            },
            "downloads": -1,
            "filename": "reflex_ag_grid-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "e8b0197ab0640ffcf6d81b81bf217b85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8328,
            "upload_time": "2024-09-26T21:47:42",
            "upload_time_iso_8601": "2024-09-26T21:47:42.751731Z",
            "url": "https://files.pythonhosted.org/packages/53/9a/ec640f1445477e85df972e64ef76cef1973817c9073832578ade55f9bf83/reflex_ag_grid-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-26 21:47:42",
    "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: 1.43065s