Metadata-Version: 2.4
Name: transitio-editor
Version: 0.2.0
Summary: Local map GUI for editing and building GTFS feeds with transitio
Project-URL: Homepage, https://github.com/cafein-py/transitio-editor
Project-URL: Repository, https://github.com/cafein-py/transitio-editor
Project-URL: Changelog, https://github.com/cafein-py/transitio-editor/blob/main/CHANGELOG.md
Author: Henrikki Tenkanen
License: MIT License
        
        Copyright (c) 2026 Henrikki Tenkanen
        
        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.
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.10
Requires-Dist: fastapi>=0.115
Requires-Dist: transitio>=0.2
Requires-Dist: uvicorn>=0.29
Provides-Extra: snap
Requires-Dist: transitio[snap]; extra == 'snap'
Description-Content-Type: text/markdown

# transitio-editor

A local map GUI for editing and building [GTFS](https://gtfs.org/) feeds,
built on the [transitio](https://github.com/cafein-py/transitio) library.

```
pip install "transitio-editor[snap]"
transitio-editor feed.zip --osm-pbf helsinki.osm.pbf
```

The editor opens on `http://127.0.0.1:8300`: stops and route shapes render
on a map where they can be added, renamed, moved and drawn — with an OSM
extract (as fetched by `transitio.fetch_pbf`), drawn route shapes snap to
the street network. Routes, services and frequency-based trips are created
from sidebar forms, and saving runs transitio's validator, reporting the
notice counts of the written feed.

With the transitio core library installed, `transitio edit feed.zip` is an
alias for the same editor.

The map assets (MapLibre GL) are vendored — the only network use at
runtime is base-map tiles from openstreetmap.org in the browser. The HTTP
API behind the interface publishes its schema at `/openapi.json`. The
server binds to loopback and is single-user; it has no authentication.

## Installation

```
pip install transitio-editor          # the editor
pip install "transitio-editor[snap]"  # + street snapping (networkx)
```

## License

MIT. Map data © OpenStreetMap contributors.
