Giter VIP home page Giter VIP logo

social-media-tutorials's Introduction

Image/Code dump of Youtube/Twitter tutorials

How do you make them?

  • Images probably Adobe XD / Adobe Express
  • Icons from Flaticon and Noun Project
  • All scripts are probably Streamlit apps

social-media-tutorials's People

Contributors

andfanilo avatar matiasvasquezorrego avatar

Stargazers

Giorgio Lasala avatar  avatar Vicky Parmar avatar SM avatar hanhotfox avatar  avatar Anderson L Amaral avatar Paul P avatar Luiz Henrique Paese avatar  avatar  avatar  avatar Michael Sta. Helena avatar Emil Eliasson avatar MF Sahi avatar Jan-Philipp Igla avatar JovanBosic avatar Victor Gras avatar gyasi.eth avatar Chris avatar  avatar Harsh kumar avatar Hy avatar  avatar  avatar  avatar Noskill avatar CHING-FENG LIN avatar Md Affan avatar Constantine S avatar Kai Wu avatar  avatar Juan Carlos Gallego avatar Jack Felke avatar JAYITA BHATTACHARYYA avatar  avatar AminHassan avatar  avatar Daniel Sykes avatar Nerd Dev avatar Max Cavalheiro avatar  avatar SUBHRAJIT MOHANTY avatar Leonce Nshuti avatar daniel leon avatar Hansi P. avatar Periklis Papanikolaou avatar Brian Henkels avatar Dan Todor avatar Przemysław Kępka avatar  avatar Владимир Шлеев avatar ORIENT FRANCIS JAMES ABBEY ABBEY avatar Ashok_kumar avatar Prince Pazol avatar Kasi Komma avatar Raz Hadas avatar  avatar Julien Roullé avatar  avatar  avatar Jeyfrey Johan Calero Rojas avatar Lubomires avatar  avatar Ivan Tsvetanov avatar BartoszBartoszewski avatar  avatar Markus Rauhalahti avatar Rafael Ferreira avatar Alzin Mohamad Ghaith avatar  avatar Likhith V avatar Desti Ratna Komala avatar  avatar  avatar Pasquale Merella avatar ONGERI FELIX OGERO avatar Mahdi Lotfi avatar Nick Imanzi avatar Q Star Automation avatar  avatar Taner yılmaz avatar Abdulhadi Al Araj avatar  avatar Aishika Das avatar  avatar  avatar  avatar kazuhiro ninomiya avatar Ronivaldo Sampaio avatar Sajith Amma avatar Aniket Pawar avatar Arvindra Sehmi avatar Aliram Das avatar Sebastian Einar Røkholt avatar Alper Karaca avatar Zhou Hui avatar VQ avatar Ariel Alonso avatar  avatar

Watchers

James Cloos avatar  avatar  avatar Kostas Georgiou avatar Olijoh M. Clarke avatar  avatar  avatar  avatar

social-media-tutorials's Issues

Dashboard Updates

Hi @andfanilo the social-media-tutorials you shared are great. I've implemented the Streamlit Excel Dashbaord and enjoyed it.

Couple of questions

  1. How can I invert the color or change the background?
  2. If I want to move the grid of data to the bottom of the page or to a different page, can you give me broad strokes to adjust that?
  3. If I am specifying the filename and location of the file why can't streamlit use that vs having to manually upload the excel file each time in the web app
  4. What are the steps to setup github with streamlit to deploy this?
  5. Are there projects you would like collaboration on or need help with as I found your dashboard just helped solve several days worth of work and I'd like to pay it forward.

saving data to excel - streamlit to exe

Hi @andfanilo , thank you for your hard work and tutorials,
im having problems with saving to excel file that i have in folder within my streamlit_app

the code runs quite when using streamlit (server), however when trying it using stlite it keeps saying error in saving

is it possible to save to the excel while its within the exe file? like im using the excel such as database

import streamlit as st
import pandas as pd
import micropip
await micropip.install("openpyxl")

def main():
st.set_page_config(
page_title="Omar's Reports",
page_icon="👋",
)

st.title("Driving Teacher's Dashboard")

# Load the existing Excel file into a DataFrame
try:
    students_df = pd.read_excel('files_omar/students.xlsx')
    st.dataframe(students_df.sort_index(ascending=False))

    # Add a form to input new data
    st.subheader("Add New Student")
    with st.form(key='add_student_form'):
        name = st.text_input("Name")
        age = st.number_input("Age", min_value=0, max_value=150)
        grade = st.selectbox("Grade", ['A', 'B', 'C', 'D', 'F'])

        submit_button = st.form_submit_button("Add Student")

        if submit_button:
            # Create a new DataFrame with the input data
            new_student = pd.DataFrame({
                'Name': [name],
                'Age': [age],
                'Grade': [grade]
            })

            # Append the new student data to the existing DataFrame
            students_df = students_df.append(new_student, ignore_index=True)

            # Write the updated DataFrame back to the Excel file
            students_df.to_excel('files_omar/students.xlsx', index=False)


            st.success("New student added successfully!")

except FileNotFoundError:
    st.error("File not found: 'files_omar/students.xlsx'")
except Exception as e:
    st.error(f"An error occurred: {str(e)}")

if name == "main":
main()

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.