Metadata-Version: 2.4
Name: la-metro-wrangler
Version: 0.0.5
Summary: LA Metro Network Wrangler Utility Code
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/wsp-sag/la_metro_wrangler
Classifier: Development Status :: 1 - Planning
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cube_wrangler==0.2.1
Requires-Dist: network-wrangler>=1.0b3
Requires-Dist: ranch-network-wrangler==0.0.1
Requires-Dist: ipykernel
Requires-Dist: geopandas
Requires-Dist: lark
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: partridge
Requires-Dist: projectcard
Requires-Dist: pyproj
Requires-Dist: scipy
Requires-Dist: shapely
Provides-Extra: docs
Requires-Dist: json5; extra == "docs"
Requires-Dist: jsonschema; extra == "docs"
Requires-Dist: Markdown; extra == "docs"
Requires-Dist: markdown-it-py; extra == "docs"
Requires-Dist: mike; extra == "docs"
Requires-Dist: mkdocs; extra == "docs"
Requires-Dist: mkdocs-autorefs; extra == "docs"
Requires-Dist: mkdocs-awesome-pages-plugin; extra == "docs"
Requires-Dist: mkdocs-jupyter; extra == "docs"
Requires-Dist: mkdocs-material; extra == "docs"
Requires-Dist: mkdocs-material-extensions; extra == "docs"
Requires-Dist: mkdocstrings; extra == "docs"
Requires-Dist: mkdocstrings-python; extra == "docs"
Requires-Dist: mkdocs-table-reader-plugin; extra == "docs"
Dynamic: license-file

# la_metro_wrangler
LA Metro Network Wrangler Utility Code

## Installation

LA Metro Wrangler requires Python 3.10 or newer. Install it from PyPI using either
[uv](https://docs.astral.sh/uv/), Conda, or Python's built-in `venv`.

### Install uv

On Windows, open **PowerShell** (not Anaconda Prompt) and run the official installer:

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

Review the installer message. If it says uv's install directory is not on `PATH`, add it for
the current PowerShell session:

```powershell
$env:PATH = "$env:USERPROFILE\.local\bin;$env:PATH"
```

For macOS or Linux, follow the [official uv installation instructions](https://docs.astral.sh/uv/getting-started/installation/).

### Install with uv

In PowerShell, create a project directory and its uv environment, then add LA Metro Wrangler:

```powershell
# make a directory for your uv environment
mkdir la_metro_wrangler_env
cd la_metro_wrangler_env
# initialize the project with Python 3.10
uv init --python 3.10
# add LA Metro Wrangler to the project
# allow its Network Wrangler pre-release dependency
uv add la-metro-wrangler --prerelease=allow 
```

### Install in a Conda environment

Create and activate an environment with Python 3.10, then install the PyPI package with pip:

```bat
REM create and activate a Conda environment
conda create --name la_metro_wrangler_env python=3.10 pip
conda activate la_metro_wrangler_env
REM install LA Metro Wrangler
python -m pip install la-metro-wrangler
```

### Install in a Python virtual environment

In Command Prompt, create and activate a virtual environment using Python 3.10, then install
LA Metro Wrangler:

```bat
REM create a virtual environment using Python 3.10
py -3.10 -m venv la_metro_wrangler_env
REM activate the virtual environment
la_metro_wrangler_env\Scripts\activate
REM install LA Metro Wrangler
python -m pip install la-metro-wrangler
```

### Use notebooks in VS Code

The package installs `ipykernel` so its environment can run notebook cells. In VS Code, install
the Python and Jupyter extensions, open your `.ipynb` file, and select the `la_metro_wrangler_env`
environment as the notebook kernel.

The browser-based `jupyter notebook` interface is not included. To use it in a uv project, run
`uv add notebook`; in a Conda environment, run `conda install -c conda-forge notebook`.
