-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempting pypi upload * Include dependencies * Remove setup.py * Reorganize docs * Update gitignore * Update README * Update CODE_OF_CONDUCT --------- Co-authored-by: bpstewar <bstewart@worldbank.org> Co-authored-by: Gabriel Stefanini Vicente <gvicente@worldbank.org> Co-authored-by: Gabriel Stefanini Vicente <github@g4brielvs.me>
- Loading branch information
1 parent
eaa4886
commit 8171bcc
Showing
106 changed files
with
410 additions
and
29,160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,3 +127,8 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Project-specific | ||
_build/ | ||
docs/api/ | ||
src/GOSTurban/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"id": "bf43aa77", | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"C:\\wbg\\Anaconda3\\lib\\site-packages\\pandas\\core\\computation\\expressions.py:21: UserWarning: Pandas requires version '2.8.4' or newer of 'numexpr' (version '2.7.3' currently installed).\n", | ||
" from pandas.core.computation.check import NUMEXPR_INSTALLED\n", | ||
"C:\\wbg\\Anaconda3\\lib\\site-packages\\pandas\\core\\arrays\\masked.py:60: UserWarning: Pandas requires version '1.3.6' or newer of 'bottleneck' (version '1.3.2' currently installed).\n", | ||
" from pandas.core import (\n", | ||
"C:\\Users\\WB411133\\AppData\\Local\\Temp/ipykernel_23476/3122314439.py:4: DeprecationWarning: \n", | ||
"Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),\n", | ||
"(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)\n", | ||
"but was not found to be installed on your system.\n", | ||
"If this would cause problems for you,\n", | ||
"please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466\n", | ||
" \n", | ||
" import pandas as pd\n", | ||
"Matplotlib is building the font cache; this may take a moment.\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import sys, os, importlib, json\n", | ||
"import rasterio, geojson\n", | ||
"\n", | ||
"import pandas as pd\n", | ||
"import geopandas as gpd\n", | ||
"import numpy as np\n", | ||
"\n", | ||
"from shapely.geometry import shape, Polygon\n", | ||
"\n", | ||
"#Import raster helpers\n", | ||
"sys.path.append(\"../../gostrocks/src\")\n", | ||
"import GOSTRocks.rasterMisc as rMisc\n", | ||
"from GOSTRocks.misc import tPrint" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "8c85864f", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"data_folder = \"../data\"" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.7" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
# Quantifying urbanization | ||
![Accra urbanization](Documents/ACCRA_GHSSMOD_Python_250m.png) | ||
|
||
Urbanization is a foundational aspect of understanding the human condition, and has been a focus of economic, social, and development study for many years. This code repository is meant to centralize many of the urban analytics performed by the World Bank's Global Operational Support Team (GOST) in support of World Bank Group operations. There are numerous code examples in the [Notebooks](https://github.com/worldbank/GOST_Urban/tree/main/Notebooks) folder including both tutorials and records of project implementations. | ||
![Accra urbanization](images/ACCRA_GHSSMOD_Python_250m.png) | ||
|
||
This repo includes a [gh-pages](https://worldbank.github.io/GOST_Urban/intro.html) and a [wiki](https://github.com/worldbank/GOST_Urban/wiki) for the documentation. | ||
Urbanization is a foundational aspect of understanding the human condition, and has been a focus of economic, social, and development study for many years. This code repository is meant to centralize many of the urban analytics performed by the World Bank's Global Operational Support Team (GOST) in support of World Bank Group operations. There are numerous code examples in the [notebooks](https://github.com/worldbank/GOST_Urban/tree/main/notebooks) folder including both tutorials and records of project implementations. | ||
|
||
# Installation | ||
Requires installation/download of the [gostrocks](https://github.com/bpstewar/gostrocks) library | ||
``` | ||
pip install gostrocks | ||
This repo includes a [Documentation](https://worldbank.github.io/GOST_Urban/intro.html) and a [Wiki](https://github.com/worldbank/GOST_Urban/wiki) for the documentation. | ||
|
||
## Installation | ||
|
||
**GOSTurbna** is available on [PyPI](https://pypi.org) and can installed using `pip`: | ||
|
||
### From PyPI | ||
|
||
```shell | ||
pip install GOSTurban | ||
``` | ||
|
||
The notebooks should reference the appropriate functions using relative paths | ||
## License | ||
|
||
This project is licensed under the [**MIT**](https://opensource.org/license/mit) - see the [LICENSE](LICENSE) file for details. |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
book/_build/html/_panels_static/panels-main.c949a650a448cc0ae9fd3441c0e17fb0.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.