Multiple functions, tools, and tutorials for calculating urbanization based on gridded population data
Project description
Quantifying urbanization
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 folder including both tutorials and records of project implementations.
This repo includes a GitHub Pages and a Wiki for the documentation.
Installation
From PyPI
GOSTurban is available on PyPI and can installed using pip:
pip install GOSTurban
From Source
-
Clone or download this repository to your local machine. Then, navigate to the root directory of the repository:
git clone https://github.com/worldbank/GOSTurban.git cd GOSTurban
-
Create a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the package with dependencies:
pip install .
Developer Installation
Install the package in editable mode with all of the dependencies needed to run the tests and build the documentation locally:
pip install -e .[dev]
The -e flag stands for "editable," meaning changes to the source code will immediately affect the installed package.
License
This project is licensed under the MIT - see the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gosturban-1.0.0.tar.gz.
File metadata
- Download URL: gosturban-1.0.0.tar.gz
- Upload date:
- Size: 15.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa66dbb3be8a078f8975b56662d22fff42d16894dcbac32c3e58dcb5ca1e0cbb
|
|
| MD5 |
5fae48531e659d73e46a4d0ff64832b7
|
|
| BLAKE2b-256 |
95fc4600e07dbd181ab88c55873104977433cf32bf6649f67fe49e4fd5424e72
|
Provenance
The following attestation bundles were made for gosturban-1.0.0.tar.gz:
Publisher:
release.yml on worldbank/GOSTurban
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gosturban-1.0.0.tar.gz -
Subject digest:
fa66dbb3be8a078f8975b56662d22fff42d16894dcbac32c3e58dcb5ca1e0cbb - Sigstore transparency entry: 772535740
- Sigstore integration time:
-
Permalink:
worldbank/GOSTurban@485318971032ae636b724392bc649d70ea4ae489 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/worldbank
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@485318971032ae636b724392bc649d70ea4ae489 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gosturban-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gosturban-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baea54cec16e12f529f2ab557ba86f820f40ce6e2399458c1d6bf128d2f4d441
|
|
| MD5 |
fb6a0b90390a2c424d967fe3a4949ac3
|
|
| BLAKE2b-256 |
2fe2cbd71675ffde416afe58914d536ce65a88f2dba3984d84987fdf35cbf504
|
Provenance
The following attestation bundles were made for gosturban-1.0.0-py3-none-any.whl:
Publisher:
release.yml on worldbank/GOSTurban
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gosturban-1.0.0-py3-none-any.whl -
Subject digest:
baea54cec16e12f529f2ab557ba86f820f40ce6e2399458c1d6bf128d2f4d441 - Sigstore transparency entry: 772535750
- Sigstore integration time:
-
Permalink:
worldbank/GOSTurban@485318971032ae636b724392bc649d70ea4ae489 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/worldbank
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@485318971032ae636b724392bc649d70ea4ae489 -
Trigger Event:
release
-
Statement type: