eerepr-0.0.4
توضیحات
Code Editor-style reprs for Earth Engine data in a Jupyter notebook.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eerepr-0.0.4 |
| نام | eerepr |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aaron Zuspan |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/eerepr/ |
| مجوز | MIT License Copyright (c) 2022 Aaron Zuspan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
# eerepr
[](https://developers.google.com/earth-engine/tutorials/community/intro-to-python-api)
[](https://badge.fury.io/py/eerepr)
[](https://anaconda.org/conda-forge/eerepr)
[](https://nbviewer.org/github/aazuspan/eerepr/blob/main/docs/notebooks/demo.ipynb)
[](https://mybinder.org/v2/gh/aazuspan/eerepr/HEAD?labpath=docs%2Fnotebooks%2Fdemo.ipynb)
[](https://colab.research.google.com/github/aazuspan/eerepr/blob/main/docs/notebooks/demo.ipynb)
Add interactive Code Editor-style HTML reprs to Earth Engine objects in a Jupyter environment.

## Setup
Install from PyPI:
```bash
$ pip install eerepr
```
Install from Conda-Forge:
```bash
$ conda install -c conda-forge eerepr
```
## Usage
```python
import eerepr
```
Importing `eerepr` in a Jupyter notebook adds an HTML repr method to all Earth Engine objects. When you print them, you'll see an interactive HTML repr instead of a boring old string repr. Simple as that!
> **Note**
> Just like in the Code Editor, printing huge collections can be slow and may hit memory limits.
## Caching
`eerepr` uses caching to improve performance. Server data will only be requested once for each unique Earth Engine object, and all subsequent requests will be retrieved from the cache until the Jupyter session is restarted.
When you import `eerepr`, it is automatically initialized with an unlimited cache size. You can manually set the number of unique objects to cache using `eerepr.initialize(max_cache_size=n)`. A value of `None` sets an unlimited cache while a value of `0` disables caching.
نیازمندی
| مقدار | نام |
|---|---|
| - | earthengine-api |
| xtr | black; |
| xtr | hatch; |
| xtr | ipykernel; |
| xtr | isort; |
| xtr | jupyterlab; |
| xtr | pytest; |
| xtr | pytest-cov; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl eerepr-0.0.4:
pip install eerepr-0.0.4.whl
نصب پکیج tar.gz eerepr-0.0.4:
pip install eerepr-0.0.4.tar.gz