La versione italiana si trova sotto quella inglese
The italian version is under the english one
Bringing My Coding Skills to the Next Level with Streamlit Thanks to @beaker007
Okok, maybe it's a bit of an exaggeration to say that my skills have leveled up just because I learned to use a couple of functions on a website... alright, I admit it, I still know very little and I'm still a beginner aspiring programmer.
BUT NOW I KNOW HOW TO MAKE MY SCRIPTS AVAILABLE TO ANYONE THROUGH A WEBSITE.
And to me, this feels like a huge, gigantic, titanic, gargantuan achievement.
Thanks to Streamlit, and with a little help from ChatGPT, I created my first web app, not only giving a graphical interface to one of my scripts but also bringing to life a real website, accessible to anyone via a URL, whose performance I can monitor thanks to log files and similar tools.
This blows my mind because I assumed I would have to learn much more before being able to do something like this... but instead, it only took selecting three settings and adding a couple of lines of code to my script to create a fully functional web app.
if __name__ == "__main__":
st.title("Engagement Contest, by Bencwarmer")
# Input box to insert one or more usernames, separated by a comma
authors_input = st.text_input("Enter one or more usernames separated by commas: ")
authors = [author.strip() for author in authors_input.split(",") if author.strip()]
if st.button("Start data analysis"):
if authors:
main(authors)
else:
st.warning("No author entered. Please enter at least one username.")
It's true, the web app I created is rudimentary, bare, simple—I'd even say outdated—yet it's there, accessible via URL, easy to use, and fully operational.
For someone who, until yesterday, had no idea how to share their scripts, this is a really important step forward.
That's why I feel like my skills have improved—because suddenly, a whole new world of possibilities has opened up to me.
If I create something, I can now make it accessible to anyone, not just those who know how to run a script.
And the credit for this amazing upgrade to my humble skills goes to @beaker007, who a few days ago pointed me to an old post of his that talked about this very platform.
Once again, I find confirmation that my greatest progress comes from interacting with and learning from programmers more experienced than me, like @slobberchops, @felixxx, @gamer00, and now @beaker007.
Each of them has opened the door to a new world for me, allowing me to learn new stuff and take a few steps forward in my Python learning journey.
Of course, I’m not fooling myself—I know I'm still completely ignorant—but these little achievements motivate me to keep learning, making progress that, even if slow, I hope will grow over time and eventually—maybe!—allow me to truly call myself a programmer. If not professionally, at least as a hobby, which would already be a great satisfaction!
And if you’d like to check out my first "creation," here’s the link where you can find it:
It's a tool that will be used by one user in particular—and I think it's pretty obvious who 😂—so the text is in Italian.
For those who don’t speak Italian, the purpose is simply to enter a list of usernames, separated by commas, of active users in Olio di Balena to retrieve a series of data on their interaction in OdB over the past week, sorted according to the score assigned to them by a formula designed by the contest organizer.
It’s nothing complex or groundbreaking, but for me it’s truly something amazing, and I’m sure it will help me enjoy programming with Python even more!
And if you’re an active user on Olio di Balena, I also invite you to participate in the new OdB engagement contest!
You can find it here.
cover made with Bing AI and edited with GIMP
to support the #OliodiBalena community, @balaenoptera is 3% beneficiary of this post
If you've read this far, thank you! If you want to leave an upvote, a reblog, a follow, a comment... well, any sign of life is really much appreciated!
Versione italiana
Italian version
Le Mie Abilità da Programmatore Salgono al Livello Successivo con Streamlit per Merito di @beaker007
Okok, forse è un po' esagerato dire che le mie abilità sono salite al livello successivo solo perchè ho imparato ad usare due funzioni in croce su un sito... va bene, lo ammetto, so sempre pochissimo e sono ancora un aspirante programmatore alle prime armi.
MA ADESSO SO COME RENDERE DISPONIBILI A CHIUNQUE I MIEI SCRIPT TRAMITE UN SITO.
E a me questo sembra un traguardo enorme, gigantesco, titanico, gargantuesco.
Grazie a Streamlit, e con un piccolo aiuto di ChatGPT, ho creato la mia prima web app, donando non solo un'interfaccia grafica ad un mio script, ma dando anche vita ad un vero e proprio sito, raggiungibile da chiunque tramite url ed il cui andamento posso monitorare grazie a file di log e simili.
Questa cosa per me è pazzesca, perchè davo per scontato di dover imparare ancora molto prima di poter fare qualcosa del genere... e invece è bastato selezionare 3 impostazioni ed aggiungere un paio di righe di codice al mio script per dare vita ad una web app perfettamente funzionante.
if __name__ == "__main__":
st.title("Engagement Contest, by Bencwarmer")
# Input box to insert one or more usernames, separated by a comma
authors_input = st.text_input("Inserisci uno o più username separati da virgola: ")
authors = [author.strip() for author in authors_input.split(",") if author.strip()]
if st.button("Avvia analisi dei dati"):
if authors:
main(authors)
else:
st.warning("Nessun autore inserito. Inserisci almeno uno username.")
E' vero, la web app a cui ho dato vita è rudimentale, spoglia, semplice, direi quasi datata, eppure è lì, accessibile via url, facilmente utilizzabile, operativa al 100%.
Per uno che fino a ieri non aveva idea di come condividere i propri scripts è un passo avanti davvero importante.
Per questo mi sento come se le mie abilità fossero aumentate, perchè all'improvviso mi si apre tutto un altro mondo di possibilità.
Se creo qualcosa adesso posso renderlo accessibile a chiunque, e non solo a chi sappia come far funzionare uno script.
E il merito di questo bellissimo upgrade delle mie piccole competenze è da attribuirsi a @beaker007, che un po' di giorni fa mi ha indirizzato ad un suo vecchio post in cui parlava proprio di questa piattaforma.
Ancora una volta ho perciò la conferma di come i miei maggiori progressi arrivino dal confronto e dagli insegnamenti di programmatori più esperti di me, come @slobberchops, @felixxx, @gamer00 e ora @beaker007.
Ognuno di loro mi ha aperto le porte di un nuovo mondo, che mi ha consentito di imparare cose nuove e fare qualche passo in avanti nel mio apprendimento di Python.
Certo non mi illudo e so di essere ancora un completo ignorante, ma questi progressi mi motivano a cercare di imparare ancora qualcosa di più, facendo progressi che, anche se lenti, spero nel tempo diventino sempre maggiori, consentendomi un giorno - magari! - di potermi davvero qualificare come programmatore. Se non per lavoro, almeno come hobby sarebbe già una bella soddisfazione!
E se voleste dare un'occhiata a questa mia prima "creazione", vi lascio il link a cui poterla trovare:
Si tratta di un tool che verrà utilizzato da un utente in particolare - e credo che sia facilmente intuibile chi 😂 - per cui i testi sono in italiano.
per chi non parla italiano, lo scopo è banalmente quello di inserire una lista di usernames, separati da una virgola, di utenti attivi in Olio di Balena per ottenere tutta una serie di dati sulla loro interazione in OdB nell'ultima settimana, ordinati secondo il punteggio loro assegnato tramite una formula pensata da colui che gestisce il contest.
Non è nulla di complesso nè stupefacente, ma per me è davvero un qualcosa di bellissimo e che sono sicuro mi aiuterà ancora di più a divertirmi quando programmo con Python!
E se siete utenti attivi su Olio di Balena, vi invito anche a partecipare al nuovo contest sull'interazione di OdB!
Lo trovate qui.
cover realizzata con Bing AI ed editata con GIMP
a supporto della community #OliodiBalena, il 3% delle ricompense di questo post va a @balaenoptera
Se sei arrivato a leggere fin qui, grazie! Se hai voglia di lasciare un upvote, un reblog, un follow, un commento... be', un qualsiasi segnale di vita, in realtà, è molto apprezzato!
Posted Using INLEO
Nice to see that you started with streamlit.. 🤣.
I definitely need to improve my Italian
Yeah, I love it! Now I need to explore how to create more tabs, so I can use a single web app to host more scripts :)
Usually I write everything in english... but this time the script was needed by an italian user, so I had to write texts in italian ahahha !LOL
lolztoken.com
Can't live with it can't live meow it.
Credit: reddit
$LOLZ on behalf of arc7icwolf
(4/10)
Delegate Hive Tokens to Farm $LOLZ and earn 110% Rewards. Learn more.@beaker007, I sent you an
Complimenti per i tuoi ottimi progressi e per i tuoi utilissimi tools
!PIMP
!discovery 30
!hiqvote
@tipu curate 2
Upvoted 👌 (Mana: 4/44) Liquid rewards.
Work in progress 👷
https://odb-engagement.streamlit.app/
Alle volte ci mette qualcosa come un paio di minuti per generare il risultato, quindi ci vuole un po' più di pazienza 😅 altre volte invece è più veloce invece.
!PIMP !LOL !PIZZA
lolztoken.com
A ques-idea.
Credit: reddit
$LOLZ on behalf of arc7icwolf
(1/10)
Delegate Hive Tokens to Farm $LOLZ and earn 110% Rewards. Learn more.@libertycrypto27, I sent you an
@libertycrypto27, the HiQ Smart Bot has recognized your request (1/3) and will start the voting trail.
In addition, @arc7icwolf gets !PIZZA from @hiq.redaktion.
Discord. And don't forget to vote HiQs fucking Witness! 😻For further questions, check out https://hiq-hive.com or join our
This post was shared and voted inside the discord by the curators team of discovery-it
Join our Community and follow our Curation Trail
Discovery-it is also a Witness, vote for us here
Delegate to us for passive income. Check our 80% fee-back Program
$PIZZA slices delivered:
(1/10) @arc7icwolf tipped @libertycrypto27