Skip to main content
logo

jvig

Pronounced d͡ʑvʲik (from 🇵🇱dźwig), it's a GTFS Viewer, created using Flask.

jvig is still work-in-progress, but it works.

Installation

Install Python (at least 3.10) and pip. Consult your OS repositories for the package names, but these are usually python3 and python3-pip. If you use a system without a package manager, I'd strongly recommend using one, like brew (for MacOS) or Chocolatey (for Windows).

After that, install jvig using pip: pip install --upgrade jvig.

Usage

jvig /path/to/gtfs.zip

or (if the place where pip install scripts is not in PATH):

python3 -m jvig /path/to/gtfs.zip

jvig can open both folders and ZIP archives.

jvig itself doesn't contain a GUI - rather it spawns a web server on localhost and port 5000. After seeing * Running on http://127.0.0.1:5000 on the console, open up http://127.0.0.1:5000.

WARNING: This is a development server.

jvig uses the default Flask server, which is not suitable for opening up to the Internet. jvig only binds to the loopback address, and the server is only accessible from your own computer.

Please don't serve jvig to the whole web.

Features/Todos

Shown GTFS tables

  • agencies
  • stops
  • routes
  • trips
  • frequencies
  • calendars
  • fares
  • transfers
  • pathways
  • feed_info
  • attributions
  • translations
  • shapes

Other improvements

  • search (provided by the browser)
  • verify dark mode
  • file-picker if no file was provided
  • better loading screen

License

GNU GPL v3 or later. Full text available in file license.md.

Icon

Awful, I know. Make a better one if you want to.

Currently it's these 2 things combined:

Development

This project uses isort and black for file formatting and pyright for type checking. The maximum line length is increased to 99, and the type checking is set to strict.

CI runs the following commands to help maintain high code quality:

$ black --check .
$ isort --check .
$ pyright
$ python -m pytest

If you use VS Code I recommend using the following settings:

{
    "[python]": {
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
        "editor.formatOnSave": true
    },
    "js/ts.implicitProjectConfig.checkJs": true,
    "python.formatting.provider": "black",
    "python.languageServer": "Pylance",
    "python.linting.enabled": false,
}

Metadata

Release files for jvig 1.2.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 jvig 1.2.0
File Size Uploaded
jvig-1.2.0.tar.gz 86.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jvig 1.2.0
File Interpreter ABI Platform
jvig-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 187.3 kB

Release files / jvig-1.2.0.tar.gz

Download URL jvig-1.2.0.tar.gz
Size 86.9 kB
Tags Source
SHA-256 checksum
How to use checksums
010ea9177df1878a6f71c175f12e54641d7514cba829b171c645eeec49414191
BLAKE2b-256 checksum
How to use checksums
570517168611999d4e669fe18bf5945c4eecc5e1d401821322a1b9e5ed1e73e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / jvig-1.2.0-py3-none-any.whl

Download URL jvig-1.2.0-py3-none-any.whl
Size 100.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03b7e19c1b38182a6bf9a4dcfa9f9aeb6b7fed21908784f8b55b05233c2025c3
BLAKE2b-256 checksum
How to use checksums
15b51cd9142385c2d6153dee65e0039e624139ea8020d27b4240a92a5b279680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

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