public-transport-enabler

Unleash public transport data in your Java project.

https://github.com/schildbach/public-transport-enabler

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 54 committers (5.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary

Keywords

efa hafas java library navitia public-transportation

Keywords from Contributors

android-app schedule gtfs-realtime electricitymap bus gtfs-analysis gtfs-converters gtfs-feed gtfs-files gtfs-libraries
Last synced: 5 months ago · JSON representation

Repository

Unleash public transport data in your Java project.

Basic Info
Statistics
  • Stars: 413
  • Watchers: 20
  • Forks: 138
  • Open Issues: 180
  • Releases: 0
Topics
efa hafas java library navitia public-transportation
Created over 12 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

Public Transport Enabler

This is a Java library allowing you to get data from public transport providers. Look into NetworkProvider.java for an overview of the API.

Using providers that require secrets

For some providers a secret like an API key is required to use their API. Copy the secrets.properties.template file to secrets.properties like so:

$ cp test/de/schildbach/pte/live/secrets.properties.template test/de/schildbach/pte/live/secrets.properties

You need to request the secrets directly from the provider.

How to run live tests?

Make sure the test you want to run does not require a secret and if it does, see above for how to get one. Once you have the secret or if your provider does not need one, you can run the tests in your IDE. Both IntelliJ and Eclipse have excellent support for JUnit tests.

If you prefer to run tests from the command line, you can comment out the test exclude at the end of build.gradle and use this command to only execute a test for a single provider:

$ gradle -Dtest.single=BvgProviderLive test

This uses the BvgProvider as an example. Just replace it with the provider you want to test.

Owner

  • Name: Andreas Schildbach
  • Login: schildbach
  • Kind: user

GitHub Events

Total
  • Issues event: 99
  • Watch event: 28
  • Issue comment event: 94
  • Push event: 19
  • Pull request review event: 30
  • Pull request review comment event: 25
  • Pull request event: 10
  • Fork event: 7
  • Create event: 3
Last Year
  • Issues event: 99
  • Watch event: 28
  • Issue comment event: 94
  • Push event: 19
  • Pull request review event: 30
  • Pull request review comment event: 25
  • Pull request event: 10
  • Fork event: 7
  • Create event: 3

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 2,558
  • Total Committers: 54
  • Avg Commits per committer: 47.37
  • Development Distribution Score (DDS): 0.43
Past Year
  • Commits: 19
  • Committers: 2
  • Avg Commits per committer: 9.5
  • Development Distribution Score (DDS): 0.105
Top Committers
Name Email Commits
Andreas Schildbach a****s@s****e 1,458
andreas.schildbach@gmail.com a****h@g****m@0****0 570
andreas.schildbach a****h@0****0 384
Torsten Grote t@g****e 27
Michael Dyrna m****l@d****e 19
Antonio El Khoury a****y@g****m 17
full-duplex f****x@u****m 9
Ialokim i****m@t****e 5
Chimo c****o@c****g 4
Nicolas Derive k****3@u****m 4
Patrick Kanzler d****v@p****e 4
karottenbaum k****m@u****m 4
Michael Dyrna m****a@e****e 3
ialokim i****m@m****g 3
Dongchen Yue y****y@g****m 2
Lutz Krumme l****e@t****e 2
Peter Serwylo p****r@s****m 2
Traines g****t@t****u 2
Johan von Forstner j****r@g****m 2
metrophil 7****l@u****m 2
mimi89999 m****l@l****l 2
(no author) (****)@0****0 1
Adrian Perez de Castro a****z@i****m 1
Alexander Albers 2****s@u****m 1
Anthony Chaput a****t@e****r 1
Anthony Chaput t****4@o****g 1
Antonio El Khoury a****r@l****r 1
Christopher Schreiner g****t@i****m 1
Clayton Craft c****y@g****m 1
Colin Murphy c****m@c****t 1
and 24 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 450
  • Total pull requests: 219
  • Average time to close issues: about 1 year
  • Average time to close pull requests: about 1 year
  • Total issue authors: 338
  • Total pull request authors: 75
  • Average comments per issue: 2.06
  • Average comments per pull request: 3.17
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 54
  • Pull requests: 12
  • Average time to close issues: 7 days
  • Average time to close pull requests: 4 days
  • Issue authors: 47
  • Pull request authors: 3
  • Average comments per issue: 0.83
  • Average comments per pull request: 2.58
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • grote (17)
  • schildbach (9)
  • ialokim (8)
  • ghost (7)
  • patkan (5)
  • Nibunnoichi (5)
  • jpvitulli (4)
  • rugk (4)
  • tenminutemail (4)
  • gargamel17 (4)
  • TheRealRWJ (3)
  • bpruneau (3)
  • bugzillus (3)
  • Gino86-bit (3)
  • Porrumentzio (3)
Pull Request Authors
  • grote (23)
  • schildbach (16)
  • lunas-bad-coding (15)
  • aelkhour (12)
  • mdyrna (9)
  • ialokim (9)
  • full-duplex (7)
  • chimo (6)
  • infanf (5)
  • kalon33 (4)
  • patkan (4)
  • iw0nderhow (4)
  • xamanu (4)
  • metrophil (4)
  • traines-source (4)
Top Labels
Issue Labels
navitia (63) enhancement (14) data (4) duplicate (4) bug (3) efa (3) hafas-hci (2) invalid (1)
Pull Request Labels
navitia (29) enhancement (14) efa (3) hafas-hci (2) negentwee (1) bug (1)

Dependencies

build.gradle maven
  • com.google.code.findbugs:jsr305 3.0.2 implementation
  • com.google.guava:guava 31.1-android implementation
  • com.squareup.okhttp3:logging-interceptor 3.12.13 implementation
  • com.squareup.okhttp3:okhttp 3.12.13 implementation
  • net.sf.kxml:kxml2 2.3.0 implementation
  • org.json:json 20090211 implementation
  • org.slf4j:slf4j-api 1.7.36 implementation
  • junit:junit 4.13.2 testImplementation
  • org.slf4j:slf4j-jdk14 1.7.36 testRuntime