Metadata-Version: 2.1
Name: jvig
Version: 1.0.0
Summary: GTFS Viewer written using Flask
License: GNU General Public License v3.0 or later
Requires-Python: >=3.9
Description-Content-Type: text/markdown

<img src="icon/jvig.svg" alt="logo" width="128" />  

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**.


Usage
-----

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

jvig can open both folders and ZIP archives.


Features/Todos
--------------

#### Shown GTFS tables

- [x] agencies
- [x] stops
- [x] routes
- [x] trips
- [x] frequencies
- [x] calendars
- [ ] fares
- [ ] transfers
- [ ] pathways
- [ ] feed_info
- [ ] attributions
- [ ] translations
- [x] shapes

#### Other improvements
- [x] search (provided by the browser)
- [x] 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:
- <https://thenounproject.com/term/crane/1689627/> (bought the rights to use)
- <https://material.io/resources/icons/?icon=directions_bus&style=outline> (apache 2.0)


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:

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

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

```json
{
    "[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,
}
```
