GithubHelp home page GithubHelp logo

projet_tam's Introduction

Exploiter-l-opendata-des-horaires-de-la-TAM

Guide d'utilisation :

I- CSV et BDD

Si vous avez déja une base de donnée :

Indiquez le chemin de votre fichier csv et de votre fichier base de donnée suivi des arguments de la partie II.

OU

Assurez vous d'avoir une connexion pour charger la bdd depuis le site de la TAM dans votre terminal avec les commandes :

exemple : > python .\transport.py -u suivi des arguments de votre choix.

(La fonction -u permet de télécharger le fichier .csv de la TAM et de le transformer en bdd)

II- Les arguments

-t :

La fonction -t(time) permet d’afficher le prochain tram dans votre terminal.

Entrez « -t » suivi de la ligne, du nom de votre arrêt et de sa direction

exemple : -u -t 2 SABINES JACOU

le Terminal affiche :

(21:37)

-n :

La fonction -n(next) affiche les 3 prochains tramways ou bus à un arrêt donné

Entrez « -u, -n et le nom de l'arrêt » dans votre terminal

exemple : -u -n JACOU

le terminal affiche :

The ligne 2 Destination to SABINES Is coming in 6 minutes

The ligne 22 Destination to JACOU COLLEGE Is coming in 13 minutes

The ligne 2 Destination to SABINES Is coming in 21 minutes

projet_tam's People

Contributors

sarahtruffert avatar adrianruizmora avatar stephanier34 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.