symphony-data-map


Namesymphony-data-map JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/apple/ml-symphony
SummaryA Symphony component for visualizing data on a map
upload_time2023-08-08 22:02:06
maintainer
docs_urlNone
authorApple
requires_python>=3.6
licenseApple Sample Code License
keywords jupyter widgets ipython
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SymphonyDataMap

A rendered map where landmarks are colored by another variable.
To configure the map, the spec of this component is defined as follows:

```
@dataclass
class DataMapSpec(WidgetSpec):
    projection: str
    id_map: dict
    feature: str
    id_column: str
    map_url: str
```

The projection is a `vega-projection`, the `id_map` maps names to multiple `id` in a TopoJSON, the `feature` defines what column to color by, the `id_column` defines where names are to be found, and the `map_url` provides a link to the appropriate TopoJSON.

## Installation

```bash
pip install symphony_data_map
```

## Usage

To learn how to use Symphony, see the [documentation](https://apple.github.io/ml-symphony/).

## Development

To learn about how to build Symphony from source and how to contribute to the framework, please look at [CONTRIBUTING.md](../CONTRIBUTING.md) and the [development documentation](https://apple.github.io/ml-symphony/contributing.html).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/apple/ml-symphony",
    "name": "symphony-data-map",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Jupyter,Widgets,IPython",
    "author": "Apple",
    "author_email": "dnikit-symphony-oss@group.apple.com",
    "download_url": "https://files.pythonhosted.org/packages/6d/63/8a8b02b000c353ff80ee830459c9f90f01c2fdca4a0d8e5247f41e8b4496/symphony_data_map-1.0.2.tar.gz",
    "platform": "Linux",
    "description": "# SymphonyDataMap\n\nA rendered map where landmarks are colored by another variable.\nTo configure the map, the spec of this component is defined as follows:\n\n```\n@dataclass\nclass DataMapSpec(WidgetSpec):\n    projection: str\n    id_map: dict\n    feature: str\n    id_column: str\n    map_url: str\n```\n\nThe projection is a `vega-projection`, the `id_map` maps names to multiple `id` in a TopoJSON, the `feature` defines what column to color by, the `id_column` defines where names are to be found, and the `map_url` provides a link to the appropriate TopoJSON.\n\n## Installation\n\n```bash\npip install symphony_data_map\n```\n\n## Usage\n\nTo learn how to use Symphony, see the [documentation](https://apple.github.io/ml-symphony/).\n\n## Development\n\nTo learn about how to build Symphony from source and how to contribute to the framework, please look at [CONTRIBUTING.md](../CONTRIBUTING.md) and the [development documentation](https://apple.github.io/ml-symphony/contributing.html).\n",
    "bugtrack_url": null,
    "license": "Apple Sample Code License",
    "summary": "A Symphony component for visualizing data on a map",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/apple/ml-symphony"
    },
    "split_keywords": [
        "jupyter",
        "widgets",
        "ipython"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3853c7b8ad7565937a49ef02a8e6c0c1fda6613e2e6d24e60f799a583f482c22",
                "md5": "8a2edd54aa068745fafb5c738172067e",
                "sha256": "019a558e2ce8ca6d135b5dd4eed92152e3d8d57d450727b2c0a071dc7c2f587c"
            },
            "downloads": -1,
            "filename": "symphony_data_map-1.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a2edd54aa068745fafb5c738172067e",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 10787028,
            "upload_time": "2023-08-08T22:02:03",
            "upload_time_iso_8601": "2023-08-08T22:02:03.740076Z",
            "url": "https://files.pythonhosted.org/packages/38/53/c7b8ad7565937a49ef02a8e6c0c1fda6613e2e6d24e60f799a583f482c22/symphony_data_map-1.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d638a8b02b000c353ff80ee830459c9f90f01c2fdca4a0d8e5247f41e8b4496",
                "md5": "02b8539c40c970453d8de94fd8f0d38f",
                "sha256": "937d004ebacbdb10d4ca70449adcb89f5302e21ffe899fab897be86bbfd989b0"
            },
            "downloads": -1,
            "filename": "symphony_data_map-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "02b8539c40c970453d8de94fd8f0d38f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5954089,
            "upload_time": "2023-08-08T22:02:06",
            "upload_time_iso_8601": "2023-08-08T22:02:06.838752Z",
            "url": "https://files.pythonhosted.org/packages/6d/63/8a8b02b000c353ff80ee830459c9f90f01c2fdca4a0d8e5247f41e8b4496/symphony_data_map-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-08 22:02:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apple",
    "github_project": "ml-symphony",
    "github_not_found": true,
    "lcname": "symphony-data-map"
}
        
Elapsed time: 0.18240s