# Reflex-Map
A Custom Component for [Reflex](https://reflex.dev/) that wraps [React-Map-GL](https://visgl.github.io/react-map-gl/)
## Installation
```bash
pip install reflex-map
```
## Development
Install a [Poetry](https://python-poetry.org/) project from the root directory:
```bash
poetry install
```
To publish an update to the package, run the following command:
```bash
poetry run reflex component publish -r <PACKAGEINDEX> -t <PYPIKEY>
```
Where `<PACKAGEINDEX>` is the package index (either pypi or testpypi), and `<PYPIKEY>` is the account's API key.
## Running the Demo
Run the demo app from the `map_demo` directory:
```bash
poetry run reflex run
```
Raw data
{
"_id": null,
"home_page": null,
"name": "reflex-map",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "reflex, reflex-custom-component, map, maplibre, mapbox, maplibre-gl, mapbox-gl",
"author": null,
"author_email": "Daniel Fink & Nathan Bryant <danfink@mit.edu>, Nathan Bryant <nathan@nathanbryant.dev>",
"download_url": "https://files.pythonhosted.org/packages/8f/dd/27d5fff38df8e4bf59b96ce73739cb56717a56f94cc3d37a6f49e9f557bf/reflex_map-0.2.3.tar.gz",
"platform": null,
"description": "# Reflex-Map\n\nA Custom Component for [Reflex](https://reflex.dev/) that wraps [React-Map-GL](https://visgl.github.io/react-map-gl/)\n\n## Installation\n\n```bash\npip install reflex-map\n```\n\n## Development\n\nInstall a [Poetry](https://python-poetry.org/) project from the root directory:\n\n```bash\npoetry install\n```\n\nTo publish an update to the package, run the following command:\n\n```bash\npoetry run reflex component publish -r <PACKAGEINDEX> -t <PYPIKEY>\n```\nWhere `<PACKAGEINDEX>` is the package index (either pypi or testpypi), and `<PYPIKEY>` is the account's API key.\n\n## Running the Demo\n\nRun the demo app from the `map_demo` directory:\n\n```bash \npoetry run reflex run\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Reflex Map Component",
"version": "0.2.3",
"project_urls": {
"homepage": "https://reflex-map.reflex.run/",
"source": "https://github.com/daniel-fink/reflex-map"
},
"split_keywords": [
"reflex",
" reflex-custom-component",
" map",
" maplibre",
" mapbox",
" maplibre-gl",
" mapbox-gl"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c4b8ee9593010776380b8b3afa501f5c5204f98d6b3118686bd3f82cd2e2d4cf",
"md5": "2d4ca6717cf630f60e8d26a2c4fe6c53",
"sha256": "85a1f7ea2eb3722cf14e4c6ee3a115288d4a5fc64f396312164cce21a47b9fac"
},
"downloads": -1,
"filename": "reflex_map-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2d4ca6717cf630f60e8d26a2c4fe6c53",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 9308,
"upload_time": "2024-10-10T02:30:18",
"upload_time_iso_8601": "2024-10-10T02:30:18.829069Z",
"url": "https://files.pythonhosted.org/packages/c4/b8/ee9593010776380b8b3afa501f5c5204f98d6b3118686bd3f82cd2e2d4cf/reflex_map-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8fdd27d5fff38df8e4bf59b96ce73739cb56717a56f94cc3d37a6f49e9f557bf",
"md5": "b45ea1609fbc011cbd658a161bfda2f0",
"sha256": "cdfd42be01c2bb42c5c5b23cb06e04a49761c4a106420c56c495e09169306773"
},
"downloads": -1,
"filename": "reflex_map-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "b45ea1609fbc011cbd658a161bfda2f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 5940,
"upload_time": "2024-10-10T02:30:20",
"upload_time_iso_8601": "2024-10-10T02:30:20.387073Z",
"url": "https://files.pythonhosted.org/packages/8f/dd/27d5fff38df8e4bf59b96ce73739cb56717a56f94cc3d37a6f49e9f557bf/reflex_map-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-10 02:30:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "daniel-fink",
"github_project": "reflex-map",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "reflex-map"
}