Skip to main content

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

  1. 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
    
  2. Create a virtual environment (optional but recommended):

    python3 -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gosturban-1.0.0.tar.gz (15.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gosturban-1.0.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

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

Hashes for gosturban-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fa66dbb3be8a078f8975b56662d22fff42d16894dcbac32c3e58dcb5ca1e0cbb
MD5 5fae48531e659d73e46a4d0ff64832b7
BLAKE2b-256 95fc4600e07dbd181ab88c55873104977433cf32bf6649f67fe49e4fd5424e72

See more details on using hashes here.

Provenance

The following attestation bundles were made for gosturban-1.0.0.tar.gz:

Publisher: release.yml on worldbank/GOSTurban

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for gosturban-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baea54cec16e12f529f2ab557ba86f820f40ce6e2399458c1d6bf128d2f4d441
MD5 fb6a0b90390a2c424d967fe3a4949ac3
BLAKE2b-256 2fe2cbd71675ffde416afe58914d536ce65a88f2dba3984d84987fdf35cbf504

See more details on using hashes here.

Provenance

The following attestation bundles were made for gosturban-1.0.0-py3-none-any.whl:

Publisher: release.yml on worldbank/GOSTurban

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page