Code Monkey home page Code Monkey logo

citibike-status-app's Introduction

citibike-status-app

Streamlit based web application which uses python and snowflake to display the status of the citibike station in the NY region.

 
 
 
The dataset which was used in here: https://gbfs.citibikenyc.com/gbfs/en/station_status.json
 

How to contribute

  • Don't forget to ⭐ the repository!
  • We will be editing the code in GitHub itself so need to clone it locally all you have to do is:
  1. Fork this repository.
  2. Store this secrets on clipboard or any file.
[snowflake]
user = "snowflakedemo"
password = "Snowflake@123"
account = "zx88924.ca-central-1.aws" 
warehouse = "compute_wh"
database = "citibike" 
schema = "public"
  1. You can do run Streamlit app on your local machine or Streamlit Cloud

    • Local machine
      • Install dependencies and streamlit framework
         pip install streamlit
         pip install -r requirements.txt
      • Create new file under .streamlit/secrets.toml and paste the given text from step 2
      • Run streamlit app
         streamlit run streamlit_app.py
    • Streamlit Cloud
      • Go to streamlit.io and sign-in if you have an account or create a new one (Always choose github sign in)
      • Create a new app on streamlit and select the forked repository and let the main file path remain the as the same!
      • Now click on Advanced settings and paste the given text from step 2 into secrets.
      • Press Deploy and wait for streamlit project provision
  2. After deploying you can make changes in streamlit.py file in github itself by editting and commiting.

  3. Create a PR when done. :smile: Happy contributing!!!

citibike-status-app's People

Contributors

ashish-abraham avatar kailashchoudhary11 avatar kawaeee avatar mohakgupt avatar ph1ne4s avatar ramyashreeshetty avatar spoorthyvv avatar ujjwalmahar avatar uniocto avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

citibike-status-app's Issues

Feature Request: Sharable selectbox state by URL

Hi.
How about adding a function to manage the select box state with URL parameters?

If it is done, the same result will be displayed even if the page is refreshed, and when you access from the URL, the result of the same station will always be displayed first.

If it becomes a direction to implement through the discussion here,
I would like to work on this.

Regards.

Feature Request: Refactoring UI

Hi.
I came up with the following changes to improve your application usability.

  • Remove buttons and render UI by selectbox change event
  • Change selectbox option values from "id" to "Station name"
  • Integrate two selectbox to one

If it becomes a direction to implement through the discussion here,
I would like to work on this.

Regards.

Change the theme

create a new file called streamlit.toml file and add some colours u like

format data representation

format the data representation for feature 1 & feature 2 and display it in an descriptive manner.
Make it user friendly and attractive

add a logo

this application is based on citibike status in NY Region.

  • Citi Bike is a privately owned public bicycle sharing system serving the New York City

Any logo suitable to this will work

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.