Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damiencorpataux/pytl
Python TL* interface (transports lausannois)
https://github.com/damiencorpataux/pytl
Last synced: 2 days ago
JSON representation
Python TL* interface (transports lausannois)
- Host: GitHub
- URL: https://github.com/damiencorpataux/pytl
- Owner: damiencorpataux
- Created: 2014-05-30T12:58:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:13:10.000Z (almost 2 years ago)
- Last Synced: 2024-04-30T00:09:16.297Z (6 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pytl
====Python TL* interface (transports lausannois)
--
## Installation
```
git clone tl
cd !$
virtualenv --python=`which python3` --no-site-packages venv
source venv
pip install -r requirements.txt
python -c"import data.db as db; db.create(); db.populate()"
```
Run the standalone webserver: ```./tl web```## CLI usage (intended)
```
./tl show 4
./tl show joliette
./tl search jo
```## Console usage (intended)
```
import tl
tl.show(4)
tl.show('joliette')
tl.search('jo')
```