superset-custom-visual


Namesuperset-custom-visual JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/your-github-repo
SummaryCustom visualization plugin for Apache Superset
upload_time2024-08-27 12:00:01
maintainerNone
docs_urlNone
authorYour Name
requires_pythonNone
licenseNone
keywords superset plugin visualization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # customchart

This is the Custom Chart Superset Chart Plugin.

### Usage

To build the plugin, run the following commands:

```
npm ci
npm run build
```

Alternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:

```
npm run dev
```

To add the package to Superset, go to the `superset-frontend` subdirectory in your Superset source folder (assuming both the `customchart` plugin and `superset` repos are in the same root directory) and run
```
npm i -S ../../customchart
```

After this edit the `superset-frontend/src/visualizations/presets/MainPreset.js` and make the following changes:

```js
import { Customchart } from 'customchart';
```

to import the plugin and later add the following to the array that's passed to the `plugins` property:
```js
new Customchart().configure({ key: 'customchart' }),
```

After that the plugin should show up when you run Superset, e.g. the development server:

```
npm run dev-server
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/your-github-repo",
    "name": "superset-custom-visual",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "superset plugin visualization",
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/78/61/ec76ca78e54ff4befd798b0498620652317a7ce7fb2c9c7bbc4a64ea85ce/superset_custom_visual-0.1.0.tar.gz",
    "platform": null,
    "description": "# customchart\r\n\r\nThis is the Custom Chart Superset Chart Plugin.\r\n\r\n### Usage\r\n\r\nTo build the plugin, run the following commands:\r\n\r\n```\r\nnpm ci\r\nnpm run build\r\n```\r\n\r\nAlternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:\r\n\r\n```\r\nnpm run dev\r\n```\r\n\r\nTo add the package to Superset, go to the `superset-frontend` subdirectory in your Superset source folder (assuming both the `customchart` plugin and `superset` repos are in the same root directory) and run\r\n```\r\nnpm i -S ../../customchart\r\n```\r\n\r\nAfter this edit the `superset-frontend/src/visualizations/presets/MainPreset.js` and make the following changes:\r\n\r\n```js\r\nimport { Customchart } from 'customchart';\r\n```\r\n\r\nto import the plugin and later add the following to the array that's passed to the `plugins` property:\r\n```js\r\nnew Customchart().configure({ key: 'customchart' }),\r\n```\r\n\r\nAfter that the plugin should show up when you run Superset, e.g. the development server:\r\n\r\n```\r\nnpm run dev-server\r\n```\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Custom visualization plugin for Apache Superset",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/your-github-repo"
    },
    "split_keywords": [
        "superset",
        "plugin",
        "visualization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25312a421207bdfaf6f4bb4ae37abf35056932cb33f292c14384f7cc3ec6876d",
                "md5": "1dd7fe3222590a8ea149d9f13b02681d",
                "sha256": "52bc2e6ad2292b313d30f8cb7dade60e483fcac896b894b0b6a70ffd57a490f9"
            },
            "downloads": -1,
            "filename": "superset_custom_visual-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1dd7fe3222590a8ea149d9f13b02681d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2100,
            "upload_time": "2024-08-27T11:59:59",
            "upload_time_iso_8601": "2024-08-27T11:59:59.415332Z",
            "url": "https://files.pythonhosted.org/packages/25/31/2a421207bdfaf6f4bb4ae37abf35056932cb33f292c14384f7cc3ec6876d/superset_custom_visual-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7861ec76ca78e54ff4befd798b0498620652317a7ce7fb2c9c7bbc4a64ea85ce",
                "md5": "4093ca1c63cd1cb8482d212a9b2a2273",
                "sha256": "78d6809b1373b3e3c842aaf33a54f232bf77ec3cd6abc843f724bd4160994fbd"
            },
            "downloads": -1,
            "filename": "superset_custom_visual-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4093ca1c63cd1cb8482d212a9b2a2273",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2093,
            "upload_time": "2024-08-27T12:00:01",
            "upload_time_iso_8601": "2024-08-27T12:00:01.766400Z",
            "url": "https://files.pythonhosted.org/packages/78/61/ec76ca78e54ff4befd798b0498620652317a7ce7fb2c9c7bbc4a64ea85ce/superset_custom_visual-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-27 12:00:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "superset-custom-visual"
}
        
Elapsed time: 0.40166s