Skip to main content

mumbai-atlas

Python library for the Mumbai Data Atlas - open, validated geospatial and urban mobility datasets, reproducible pipelines, and a unified Python API for the Mumbai Metropolitan Region (MMR).

Mumbai Atlas is a project under Urbionic, created and maintained by Naijil Aji (GitHub Repository).


Installation

pip install mumbai-atlas

Note for v0.1.0: This initial release ships the lightweight library and API foundation. It automatically discovers datasets from a local clone of mumbai-data-atlas or via the MUMBAI_ATLAS_DATA_DIR environment variable (or MumbaiAtlas(data_root=...)). A standalone versioned data backend with local caching is planned for v0.2.0.


Quick Start

from mumbai_atlas import MumbaiAtlas

atlas = MumbaiAtlas()

# Master Mumbai Suburban Railway Stations (Dataset #001 - 133 stations across 6 corridors)
stations = atlas.stations()

# Suburban Train Timetables by Railway (Datasets #002A & #002B)
wr_trains = atlas.trains(railway="western")   # 1,302 Western Railway trains
cr_trains = atlas.trains(railway="central")   # 1,818 Central Railway trains
all_trains = atlas.trains()                   # 3,120 combined suburban trains

# Scoped Railway Interface
western = atlas.railway("western")
western.trains(service_type="AC EMU")
western.stations()
western.schedule("93001")                     # Stop-by-stop Virar -> Dahanu Road schedule

central = atlas.railway("central")
central.trains(corridor="Harbour")
central.stations(interchange_only=True)
central.schedule("98901")                     # Panvel <-> Goregaon through-service via Vadala Road

Public API Overview

  • MumbaiAtlas(data_root=None)

    • .stations(line=None) - Master geospatial station table (Dataset #001, 133 stations across 6 MMR corridors)
    • .station_lines(line=None) - Corridor/branch-level station sequence mapping (213 entries)
    • .trains(railway=None, direction=None, corridor=None, service_type=None, origin=None, destination=None) - Western ("western" / "wr"), Central ("central" / "cr"), or unified (None)
    • .stop_times(railway, train_id=None, train_number=None, station=None) - Stop-level schedules with full PDF page provenance
    • .railway(name) - Returns a scoped Railway interface ("western" or "central")
    • .datasets() / .railways() - Lists registered datasets and railway operators
  • Railway (atlas.railway("western") / atlas.railway("central"))

    • .trains(...), .stations(interchange_only=False), .stop_times(...), .service_notes(...)
    • .schedule(train_ref) - Ordered stop-by-stop schedule by train_id or printed train_number
    • .data_dictionary(), .metadata(), .validation_report()

Supported Datasets (v0.1.0)

  • Dataset #001 (mumbai_suburban/): Mumbai Suburban Railway Stations - 133 stations across 6 corridors (Western, Central, Harbour, Trans-Harbour, Nerul-Uran, Vasai-Diva-Panvel)
  • Dataset #002A (mumbai_suburban_timetable_wr/): Western Railway Suburban Train Timetable 2026 (SWTT-78, v1.0.1) - 1,302 trains, 20,751 stops, 37 stations, 1,648 verbatim notes
  • Dataset #002B (mumbai_suburban_timetable_cr/): Central Railway Suburban Train Timetable 2026 (v1.0.0) - 1,818 trains across Main, Harbour, Trans-Harbour & Port Lines, 32,094 stops, 97 stations, 596 verbatim notes

All timetable datasets follow strict archival non-imputation rules (zero fabricated arrival/halt times, zero inferred Fast/Slow or Daily labels, and 100% stop-level PDF document and page provenance).


Author & License

Metadata

Release files for mumbai-atlas 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mumbai-atlas 0.1.0
File Size Uploaded Provenance Actions
mumbai_atlas-0.1.0.tar.gz 13.4 kB Without provenance Details for mumbai_atlas-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mumbai-atlas 0.1.0
File Interpreter ABI Platform Actions
mumbai_atlas-0.1.0-py3-none-any.whl Python 3 none any Details for mumbai_atlas-0.1.0-py3-none-any.whl

Total release size: 24.4 kB

Release files / mumbai_atlas-0.1.0.tar.gz

Download URL mumbai_atlas-0.1.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
74a891b429ba30325cf23c1885fe37f11b9b3369ae10e9f6c8dfa3b5e6ae8e51
BLAKE2b-256 checksum
How to use checksums
bc3f5f4285765b656ed866b2b2a3611daed1b8b11d68defc84f6995ef0797324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / mumbai_atlas-0.1.0-py3-none-any.whl

Download URL mumbai_atlas-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfea6a4e1cccbd626685a89b096947303dcd984c1955fc33b8d20e1257ea7a87
BLAKE2b-256 checksum
How to use checksums
7a24dc435f1c3f6d5ff0edc349e6814348dc10a4891f1d1c20e6a8261acb3baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for mumbai-atlas 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page