pygtfs


Namepygtfs JSON
Version 0.1.9 PyPI version JSON
download
home_pagehttps://github.com/jarondl/pygtfs
SummaryModels GTFS data in a database.
upload_time2023-07-14 17:41:35
maintainer
docs_urlNone
authorYaron de Leeuw
requires_python
licenseMIT
keywords gtfs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            pygtfs
========

[![Travis](https://img.shields.io/travis/jarondl/pygtfs/master.svg?style=flat-square)](https://travis-ci.org/jarondl/pygtfs)
[![PyPI](https://img.shields.io/pypi/v/pygtfs.svg)](https://pypi.python.org/pypi/pygtfs)


Overview
--------

pygtfs is a library that models information stored in Google's
[General Transit Feed Specification (GTFS)](https://developers.google.com/transit/)
format. GTFS is a format designed to specify information about a transit
system, such as a city's subways or a private company's bus services. pygtfs
stores information in an SQLite database using SQLAlchemy to facilitate the
storage of Python objects in a relational database. 

pygtfs is a fork of @eoghanmurray's fork of a @andrewblim's gtfs-sql which is
a fork of @bmander's gtfs. See the git logs for more fun history.

License: MIT, included in `license.txt`.


Dependencies
------------

- [SQLAlchemy](http://www.sqlalchemy.org/) 0.7.8. Used for all mapping of GTFS
  objects to the relational DB. You'll need to be familiar with it to read the
  code; the [documentation](http://docs.sqlalchemy.org/) is pretty solid. 
- [pytz](http://pytz.sourceforge.net/) 2012d. A few GTFS fields are expected
  to be in a [tz time zone format](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones). 
- [six](http://pythonhosted.org/six/). Used in order to support python2 and
  python3 in a single code base.
- [docopt](http://docopt.org/). Pythonic command line arguments parser, that
  will make you smile

Installation
------------

Get [setuptools](http://pypi.python.org/pypi/setuptools) if you don't have it,
clone the repo, and use `python setup.py install`.

Documentation
-------------
Hosted on https://pygtfs.readthedocs.org/

TODO
-----

- Improve testing; add some unit testing framework and test with a variety of GTFS data feeds. 
- Add more docs

Why fork?
--------------
- natively support several gtfs feeds per database
- less SLOC, more DRY
- add python3 support
- renamed to a more generic name
- will continue to maintain

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jarondl/pygtfs",
    "name": "pygtfs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "gtfs",
    "author": "Yaron de Leeuw",
    "author_email": "me@jarondl.net",
    "download_url": "https://files.pythonhosted.org/packages/5c/86/8bc9a1b88d646a7b0e588293a9959d53ea60662c2651f47ed6c155164721/pygtfs-0.1.9.tar.gz",
    "platform": null,
    "description": "pygtfs\n========\n\n[![Travis](https://img.shields.io/travis/jarondl/pygtfs/master.svg?style=flat-square)](https://travis-ci.org/jarondl/pygtfs)\n[![PyPI](https://img.shields.io/pypi/v/pygtfs.svg)](https://pypi.python.org/pypi/pygtfs)\n\n\nOverview\n--------\n\npygtfs is a library that models information stored in Google's\n[General Transit Feed Specification (GTFS)](https://developers.google.com/transit/)\nformat. GTFS is a format designed to specify information about a transit\nsystem, such as a city's subways or a private company's bus services. pygtfs\nstores information in an SQLite database using SQLAlchemy to facilitate the\nstorage of Python objects in a relational database. \n\npygtfs is a fork of @eoghanmurray's fork of a @andrewblim's gtfs-sql which is\na fork of @bmander's gtfs. See the git logs for more fun history.\n\nLicense: MIT, included in `license.txt`.\n\n\nDependencies\n------------\n\n- [SQLAlchemy](http://www.sqlalchemy.org/) 0.7.8. Used for all mapping of GTFS\n  objects to the relational DB. You'll need to be familiar with it to read the\n  code; the [documentation](http://docs.sqlalchemy.org/) is pretty solid. \n- [pytz](http://pytz.sourceforge.net/) 2012d. A few GTFS fields are expected\n  to be in a [tz time zone format](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones). \n- [six](http://pythonhosted.org/six/). Used in order to support python2 and\n  python3 in a single code base.\n- [docopt](http://docopt.org/). Pythonic command line arguments parser, that\n  will make you smile\n\nInstallation\n------------\n\nGet [setuptools](http://pypi.python.org/pypi/setuptools) if you don't have it,\nclone the repo, and use `python setup.py install`.\n\nDocumentation\n-------------\nHosted on https://pygtfs.readthedocs.org/\n\nTODO\n-----\n\n- Improve testing; add some unit testing framework and test with a variety of GTFS data feeds. \n- Add more docs\n\nWhy fork?\n--------------\n- natively support several gtfs feeds per database\n- less SLOC, more DRY\n- add python3 support\n- renamed to a more generic name\n- will continue to maintain\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Models GTFS data in a database.",
    "version": "0.1.9",
    "project_urls": {
        "Homepage": "https://github.com/jarondl/pygtfs"
    },
    "split_keywords": [
        "gtfs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17249280f27d2d0f9e6cfbdf7e6bf9d24e697258b5b9cf9320c80c92b5a47ef8",
                "md5": "6134de0cf25d1925bf9e32f3b24c2c74",
                "sha256": "7b53b0783f1367f6df3be959439ed8bd2d399108eb5d2bee10106500bac98416"
            },
            "downloads": -1,
            "filename": "pygtfs-0.1.9-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6134de0cf25d1925bf9e32f3b24c2c74",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 15628,
            "upload_time": "2023-07-14T17:41:33",
            "upload_time_iso_8601": "2023-07-14T17:41:33.857454Z",
            "url": "https://files.pythonhosted.org/packages/17/24/9280f27d2d0f9e6cfbdf7e6bf9d24e697258b5b9cf9320c80c92b5a47ef8/pygtfs-0.1.9-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c868bc9a1b88d646a7b0e588293a9959d53ea60662c2651f47ed6c155164721",
                "md5": "8672f846d33523bb95f777443a63d56b",
                "sha256": "279beee7538e31a6d677c87ad0fa6fbc18829f04258449c1cb0357c72f613ae0"
            },
            "downloads": -1,
            "filename": "pygtfs-0.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "8672f846d33523bb95f777443a63d56b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27337,
            "upload_time": "2023-07-14T17:41:35",
            "upload_time_iso_8601": "2023-07-14T17:41:35.224782Z",
            "url": "https://files.pythonhosted.org/packages/5c/86/8bc9a1b88d646a7b0e588293a9959d53ea60662c2651f47ed6c155164721/pygtfs-0.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-14 17:41:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jarondl",
    "github_project": "pygtfs",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pygtfs"
}
        
Elapsed time: 0.21020s