Widget for deck.gl maps
Project description
pydeck: Beautiful maps with Python
Get started and see interactive examples by clicking Launch Binder badge
Note that pydeck is under active development and not yet officially released. At the moment use of this library is experimental.
pydeck is a set of Python bindings for making spatial visualizations with deck.gl, optimized for a Jupyter Notebook environment.
Installation
pip install -i https://test.pypi.org/simple/ pydeck
Installation from source
# Clone the deck.gl repo
git clone https://github.com/uber/deck.gl/
# Navigate to the pydeck module
cd deck.gl/bindings/python/pydeck
# Create a virtual environment
python3 -m venv env3
. env3/bin/activate
python3 setup.py install
Development
git clone https://github.com/uber/deck.gl/
cd deck.gl
# Build the entire deck.gl project
yarn bootstrap
# Optional but recommended: Run a hot reloading development server
cd modules/jupyter-widget
export PYDECK_DEV_SERVER=http://localhost:8080 && yarn watch
To specifiy a non-default URL for the webpack dev server, you can set a URL in the PYDECK_DEV_SERVER
environment variable,
e.g., export PYDECK_DEV_SERVER=http://localhost:8081
.
In a different terminal session, run:
cd deck.gl/bindings/python/pydeck
# Create a virtual environment
python3 -m venv env3
. env3/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
Tests
Tests are handled by pytest. In this folder, you can type:
pytest
Tests expect the development build of pydeck. You can click the URLs generated by the tests to see the visualizations generated by the tests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pydeck-0.1.dev1.tar.gz
.
File metadata
- Download URL: pydeck-0.1.dev1.tar.gz
- Upload date:
- Size: 104.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6374ebd4f3a042bc74b3fb900be2c23ae270d4ff625ae5e03645250af79c74e |
|
MD5 | 2b5fce313d1c6492ae7aae79cb5b495f |
|
BLAKE2b-256 | 4124c5690f948fadc2d0f1c71dc0caa9c690376144b1382fd7421e81354e812d |
File details
Details for the file pydeck-0.1.dev1-py2.py3-none-any.whl
.
File metadata
- Download URL: pydeck-0.1.dev1-py2.py3-none-any.whl
- Upload date:
- Size: 59.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3882f2a400a6b6f8b2c538a9a6bf29b74a87fc475ebad8bdebaaa526f2d2df9b |
|
MD5 | 34b3bec228344e65f2b012e97d0a741c |
|
BLAKE2b-256 | fc6b1406b9286b215f4c86786c05a65576ded336b8c7f3a7acfeff0965bfa0d7 |