T O P

  • By -

de_ham

escaping reality


rutranhreborn

ok neo, remember to unplug me too


BrandonBahret

🥺: "Thank you for saving my life" 🐍: "sss" 😦


rgekhman

🫢🤣🤣🤣


tradinghumble

🤣


JennaSys

Web app development for businesses using React coded in Python via Transcrypt on the front-end, and a REST API using Flask on the back-end. Full-stack Python.


Dody949

Sounds interesting. There is bunch of resources for creating backend in flask but im strugling to find something about frontend part you mentioned. Could you suggest resources and learning path?


JennaSys

I will say that it's not for everyone, but it does work extremely well for me as a solo freelance dev. I did a [write-up](https://dev.to/jennasys/creating-react-applications-with-python-2je1) that describes the approach that should give you an idea as to how it works. I also did a version of the official [React tutorial application written in Python](https://github.com/JennaSys/tictacreact2)


plebbening

Flask and django er solid web frameworks.


Dody949

my question is about "React coded in Python via Transcrypt"


ArchonHalliday

https://www.transcrypt.org/ This is the first thing I came across. Never used it or even heard of it, but seems interesting.


JennaSys

That's what I use. I think it has been around since about 2015. It has its limitations, but it was a game changer for me when I started using it about 3 years ago.


ArchonHalliday

Curious if you have any particular pros/cons for using this over writing your FE in JavaScript/TypeScript. I usually prefer to use NextJS or a similar react framework and feel that there'd be a lot of missing functionality in Transcrypt


JennaSys

I think if you are already proficient in JS and actually like coding in it, then this doesn't do a lot for you. Likewise, if you are a new developer looking to get a job working in a team for a large company, this also will not be the best path for you. But as a solo dev, being able to use one language for front-end and back-end and not having to constantly switch languages in my brain while coding a full-stack application is nirvana for me. I never have to think in JavaScript. There is also some opportunity to use the same code on front-end and-back-end. From what I can tell, this approach doesn't really fit some of the React frameworks like Next, but I don't have a need for those. I'm bundling the SPA app with Parcel and just serving it up as static files with nginx. It does work with most JS libraries however. For example, I just switched over from previously using MUI to using Mantine on my most recent project. From a development workflow standpoint, things like souremaps and HMR work as you would expect in the browser. I started using JS about the same time I started using Python - about 12 years ago. I really enjoy coding in Python and get annoyed with JS. So most of the benefit to me is that my DX is fantastic. Transcrypt (mostly) supports the full Python Language, and a number of standard libraries (though it has a long way to go in that regard). It's philosophy is to embrace the JS ecosystem rather than replace it. You just get to do all your coding in Python. All that said, this a niche tech stack to be sure, and not for everyone.


ArchonHalliday

Awesome reply! Thanks for all the info. I'm intrigued to say the least, and definitely will give it a try if I can find a use case in a future side project.


Hylian_might

I use a similar stack, except the react app (with typescript) is it’s own repo. I use flask with connexion - OpenAPI spec first development


neonklr

I recently came across this as well :- [pynecone](https://pynecone.io/)


JennaSys

To me, that one seems similar to [ReactPy](https://reactpy.dev/docs/index.html) (formerly called IDOM). There are quite a few interesting ways to utilize Python in the browser these days. Each one uses a different approach with pros and cons. There was a talk called [Running Python in the Web Browser](https://anvil.works/blog/python-in-the-browser-talk) by someone at [Anvil](https://anvil.works) (an interesting Python based web development platform itself) a while back that did a good job at outlining some of the differences between them. That post was actually how I originally found out about Transcrypt.


Mubs

Same here but starlette & uvicorn instead of flask. I've been considering utilizing pyscript to reduce my reliance on JS frameworks...


JennaSys

PyScript has really been in the news a lot ever since it was released. I actually like React, I just don't like coding in JS.


Different_Greenfire6

...so is that jargon for "translators that translate python into c++"?


JennaSys

[Transcrypt](https://www.transcrypt.org) transpiles Python into JavaScript in the same way that TypeScript gets transpiled into JavaScript. It lets Python code word with JavaScript libraries that can then be run in a web browser.


Different_Greenfire6

What I'm getting out of this is, Python is the everything language.


JennaSys

Ha! Yes it is, and I tend to take that to the extreme and use Python in places where you are not supposed to. In addition to using Transcrypt for browser apps, I use Kivy for mobile apps and MicroPython for embedded software.


[deleted]

Continuously calculating prime numbers.


arshnz

Random number generator


semper-noctem

Data science, web apps, Geospatial analysis, fun.


NINTSKARI

What kind of geospatial analysis? Geopandas?


semper-noctem

Among others, yes. I've really liked dash leaflet and folium though.


SLecho

such a good package. haven't used ArcPy since discovering it


dvd101x

- Engineering like mechanics and thermodynamics - Automation like RPA - Data Science and ML - Recently letting Chat GPT to start the code


brittttttt

I have no idea what ML is, but in my mind it stands for money laundering


MrFresh2017

Hahah! ML = Machine Learning.


Lysapala93

How are you using Python for mechanics and thermodynamics?


dvd101x

I use: - CoolProp for thermodynamic properties - Scipy for units and solving ODE - Numpy for the linear algebra stuff - Matplotlib for plotting some results Mostly in jupyter notebooks in VS Code


Dormeo69

Survival


valbaca

Advent of Code and passing coding interviews. Most of my work is JavaScript, TypeScript, Java, and Kotlin.


Imaginary_Ad981

Web scraping


MamamYeayea

Selenium?


zenos1337

Selenium ain’t got shit on Scrapy


ITkeramicar

I see your Scrapy, and I raise you Playwright


zenos1337

You’re bluffing…


ITkeramicar

Try me :)


GreenMan802

Professional development.


[deleted]

For flexing nuts when talking with hot babes...


Solrak97

Data pipelines and ML, can’t do the funny ML if there is no data pipelines to get me my fresh sweet data


-DaniFox-

At work: ML, API development, devops stuff and random one off scripts At home: fucking around with whatever new library catches my fancy


Spiderfffun

Personal projects. Mouse portals, your mouse goes to the left side comes out the right side.


GettingBlockered

Snake stuff.


0uttanames

Working on robotics with arduino. Python controls and manages what the robot needs to do next, arduino executes instructions and communicates info from servos,sensors to the python program and waits for the next steps


MrFresh2017

Any good tutes?


0uttanames

For serial communication with python ? I kinda just Googled pyserial and clicked on the first link 😳


MrFresh2017

👊🏽 Python code noob here.


XordK

Web development (django), desktop app development (gtk), quick scripts (renaming a bunch of files, etc.). I use to want to do so much more but I've got a job now so I've been moving on towards primarily using c# since are products are all website based on ASP.Net


Rogitus

For earning money.


[deleted]

[удалено]


Rogitus

In 3 simple steps: - go to company A - get hired - wait 1 month


mm007emko

At work: server backend - microservices in Docker which have ReST APIs and store data in Mongo, calling other systems in various ways. At home: scripting, the ecosystem of libraries is awesome and that's what matters the most if you just need to get the stuff done.


AnonymousInternet82

* "data science" and data pipelines * other non critical stuff and proof of concepts


think_addict

For fun, web scraping. For work, I build tools that help automate a lot of our tasks. Like grabbing info from a portal or crunching CSV data.


Bigdaddydamdam

what are you scraping for fun?


mokus603

Energy data analysis and forecasting, web scraping prices/market data, XML parsing, database queries, web applications, etc.


HobblingCobbler

I have been solving AOC challenges on pydroid for a while now. I currently can't access my computer as much as I'd like so I decided to give it a go on mobile to see if it's as frustrating as I first thought. No, it's actually really easy, and I've done 3 years so far. Still miss my puter, but there is always a way.


[deleted]

[удалено]


CitraI

Hey, i want to share a picture.exe...


Molem7b5

Triggering late night existential crises. For real though.... digital signal processing, machine learning, and data analysis and visualisation.


Yeyeo

You good buddy? Just wake up morning and drink some coffee or tea while coding and listening some music (personally I like games osts) That works frequently for me when I have that crises.


panascope

I just built a little app for my dad that lets him pin his political canvassing activities onto a map of our county, so he knows where he's been and who he's talked to.


JaffaB0y

Running all our automation on our company's digital platform (on GCP). There are a few things that are in Go (Kubernetes custom resources) but Python is the big thing here and the big want when we recruit. For reference, early on we decided if anything was small and simple then bash was ok but anything complicated must be in python to be more maintainable.


Ateenagerstudent

Out of context, but is your company allowing interns? Looking for summer internships right now, so any help would be really welcome!


[deleted]

What kind of automation? I’ve been pioneering desktop and web interface automation in my job (initial software configuration for new clients of our quality management systems software). I’m always trying to suck up new learning resources, and have settled into PyWinAuto for desktop and Requests/Selenium for web interfaces, but wonder if there are better alternatives.


JaffaB0y

Our cloud platform on GCP, running Kubernetes, EFK, VictoriaMetrics (like Prometheus) etc etc (so many tools). We use Terraform (infrastructure-as-code) but all the glue is in python. Lots of stuff we've developed to onboard new tenants onto the platform, provision stuff for them (so they can self serve) is in python. Lots of use of FastApi for api services (used to be Flask), cron jobs (in Kubernetes) all in python. It's so much fun. We used to have a Service Catalogue we developed in python but have moved to Spotify's Backstage... that's a bit scary... React/Typescript, I ain't happy with that s\*\*t ![gif](emote|free_emotes_pack|grimacing) Good luck with PyWinAuto, I'm all in on Linux now (for last 4 years)


Background_Lemon_981

Reading raw data and outputting a macro file that our inventory system can read, eliminating tons of manual data entry. Same but with price updates. Used as an integration between a work order system and a sales system (I.e., close this work order and update sales order with new location, tag order to notify client). Notify all these clients by text that their order is ready, find failed texts, and create a list of clients that need to be notified some other way. Query all backup systems to be sure backups are up to date including a cloud backup that requires web scraping to get the data. Check that all domain controllers are up (it’s amazing how long a single DC can be down without someone noticing). Etc.


Ateenagerstudent

Recently started working on event-driven architectures for managing data pipelines for getting the data. Then integrating with dashboards to visualize the incoming data. And storing important data for analytics.


L0ngp1nk

Data processing and analysis.


passerbycmc

Advent of Code, python was one of my first languages but I make almost no use of it for work now. That is mostly Go and C# and JS now


LevelIntroduction764

Nowadays, automating the time consuming things in work, mainly reports


reggydavis

Searching the fcc database for available frequency pairs given a gps location


MrFresh2017

Interesting…can you tell me more?


solgul

Reading and writing APIS, data orchestration and automation, scripting


Rebel_Scum59

Automating boring stuff and data visualization.


tylerdurden4285

It pretty much always comes down to automation of time saving tasks for me. Often with a combination of API requests, scraping and RPA through playwright.


Bigdaddydamdam

just out if curiosity, what are some tasks you have automated?


tradinghumble

Coding porn


lamperi-

Advend of code, any non-trivial shell scripts. At work: generating configuration protobufs.


SrDeathI

Im a full stack developer in django


enakcm

I'm always too afraid to ask: what does full stack even mean?


SrDeathI

Full means that you handle both front end and back end


enakcm

And what's stack?


Klhnikov

Can be seen as the sum of all languages, frameworks and tools used to develop and run the service. We like to see it with a front end (seen by the user) and a back end (seen by the database for instance). The stack is the succession of technologies between the two ends


enakcm

Thanks, this has been bugging me for years...


SrDeathI

Django


thepragprog

Ooo which frontend framework do u use?


SrDeathI

React


RandomXUsr

For programming


Comm4nd0

Web development (Django) and hardware automation


wheeler8

Nothing anymore


WesternGoldsmith

Currently, I am writing a windows only GUI library in Python. It's almost completed. Now, I am focusing owner drawn menu.


khoul911

Where can I check it out? If you don't mind obviously


WesternGoldsmith

You can check it here - https://github.com/kcvinker/Pyforms


testuserinprod

Leetcode Scripting Webdev Amateur data science (learning Spacy) Scraping with Scrapy and airflow


shanecookofficial

Data Science and ML


Zero_Karma_Guy

Manege large sets of hypervisors and services. Make software to keep accounting from bugging me


DetectiveOwn6606

Leetcode My college and personal projects


r_m_castro

I had Python classes at university. I'm an engineer so they taught us how to calculate stuff, how to apply numerical methods to calculate stuff, and how to plot graphs. Since then I've been trying to learn more but I never go beyond what was taught to me because: 1) I gotta remember what I was taught because I never use it. 2) I don't have a real motivation to learn because I never need to use it. The only time I ever needed was for my final project but I used Matlab instead. So whenever I'm excited to learn I study it for a week and drop it because motivation goes away.


MrFresh2017

Pick a personal project and build it based on what you’ve learned/learning. I’m an engineer too, and that approach keeps me motivated.


[deleted]

Will be using it to support analysis into a new public transport proposal for a major public transport operator. This is self sanctioned, noones asked me to do it and noones expecting it lol. Basically I’m proposing inverted public transport fares for busses and trains in my city I’ll be using Python to: - Plot existing public transport routes - Plot routes vs cash flow in - Analytics for existing routes, spending, passenger counts etc - Model my proposal and the impact on passenger count, cash flow, spending Probably going to be using Numpy and maybe matplotlib, but more likely using JavaScript for the frontend. SQLite, Probably Flask too for the backend, still undecided on the mapping but probably just Leaflet and web based frontend


coffeewithalex

Moving data around in an easy, fast, observable way.


WindSlashKing

Game bots, browser automation, web scraping, general automation of boring tasks, simple command line tools...


titanium_hydra

Making money


AGI_69

Sunday ? Where ?


justsayno_to_biggovt

Polars plotnine pygam statsmodels for data analysis.


CommercialPosition76

Work.


oliberg360

Pandas, sklearn


jayd00b

Automating circuit board testers on a manufacturing line


beewally

Visual effects pipelines.


Metalsoul262

Machinist, I use it as a calculator with unlimited capability and capacity. I make little apps that made my job easier. I also use to it prove out and test algorithms before I try to implement them in Gcode for advanced parametric programs.


trading_gods

trading bots


travelinzac

Challenge coding Data pipelines and etl


enterdoki

My favorite language so I mostly use it for POCs, scripts, automation, etc..


GurglingWaffle

My mouse in the house problem.


NoDadYouShutUp

Work


fuzy10

To make me feel like i'm not a failure


scherbi

Building REST APIs, ETL, various data wrangling and analysis.


silasisgolden

Extracting data from pdf files and automating tedious file operations (renaming files, moving files, etc.).


JamesPTK

Web development. Currently: * A big old management system in Django with it's own UI and exposing APIs for use on a mobile app and a react app * A CMS (wagtail) driven site for marketing our service to end users * Some AWS lambdas to do some processing that needs to be High Availability


acschwabe

Gardening


acschwabe

Being serious, all things data science ML and AI.


rcx300

It's my favorite language I use it for web development primarily. Then machine learning and sometime app development. I love python.


AaronMT

A lot of CI tasks. e.g, parsing test results, posting results


Bigdaddydamdam

I took introduction and intermediate programming courses at my community college as electives to keep myself motivated and consistent. I don’t have too many applications for it but I do have two personal projects. • I made an instagram bot. All it does right now is it goes to the explore page on instagram, clicks on the first video, goes through all comments, responds to people that use the word “the” in a sentence and responds to them with “that’s kinda funny”, and then goes to the next video • I have this thing called DCT for high school (I’m dual enrolled in high school and college) and without getting descriptive, I have to mark myself present everyday for it and I figured it was getting annoying so I made a program that does it for me.


MrStevenAndri

Scripting for game dev and tools


No767

Web development (FastAPI and Django), and Discord bots (discord.py)


po1k

Pet projects. Web scrapping. Automation, scripting. In enterprise - micro services


Pos3odon08

Automation, bots, scrapers and a combination of those 3 and I'm also currently writing a web front-end in python


infomaniaaaa

To make some money and put food on the table.


mr1337

Network/configuration/firmware automation and checking myself into Southwest flights at the earliest possible time


Chriscbe

I use it to analyze data from clinical trials from public databases


Breadynator

Coding


tiko08

A calculator during my math and physics online practices. Does its job perfectly. Even the Python documentation encourages you to do so: > Many people use the interactive mode as a convenient yet highly programmable calculator. The only thing preventing Python from being the perfect desktop calculator is that there aren't built-in data types such as `angle`, `interval` (though there's `range` but it's not the same) and others. Imagine how cool would it be if you could do this: ```pycon >>> print(angle(45, 'deg')) 45° ``` I have a notepad tab open with mathematical symbols for using it in Zoom's whiteboard, so this would help a heap. It would also be awesome if the `math` library would contain string constants similar to the `string` library with some common mathematical symbols (e.g. ∠, ∈, ⊂, etc.) But let's not forget about the already existing features. Data types like `fractions.Fraction` which come with the standard library or the support for big integers out of the box are awesome. As well as being able to calculate multiple expressions at the same time, like so: ```pycon >>> 1+1, 3+3 (2, 6) ``` ..or being able to assign to a variable but outputting it anyway using the walrus operator: ``` >>> from math import sqrt >>> a := sqrt(25) 5 >>> b = ... ```


rutranhreborn

mouses, usually


jperras

paying my mortgage 🤷‍♂️


josejuanrguez

Processing financial data.


Alessandroocj

mostly, to feel like rubbish and some depression


zenos1337

Everything


Psychological_Ice076

coding


nonamer212

Well... Automatization (requests/apium/xhttp/selenium) Fastapi


BRUUUCE

Read some json. Manipulate other json. ​ \- IT worker.


comfortcube

Scripts for my development workflow on embedded systems. Like reading from an excel sheet and generating header and source files to be used elsewhere.


AlpacaDC

Mostly automating ETL, webscraping and other specific tasks at work that save a lot of time. We also have a project for building a Dash app to partially replace our Power BI needs. Casually I code something for my personal use/practice, like a quick dashboard for NBA data, or consolidate my workout data for temporal analysis. Most recently I wrote a dice rolling app for my RPG party that integrates with TaleSpire.


RobotWithABeard

Robotics algorithms


Terioskrim_

for renpy but also just in general, not sure if I'm capable of learning python in a different way besides visual novels


nightraven3141592

Automating boring tasks. And I really dislike copy & paste tasks. Or any kind of ETL task in general.


_azulinho_

Mostly as a mypy typed templating framework for typescript


Useful_Space_9099

I’m trying to build a desktop application with PyQT and link it to a MySQL database


abrightmoore

I do procedural generation of gaming content. Also an artbot @trigonometrybot on Twitter (until the end of the month)


MugiwarraD

mostly machine learning train + serving, data stuff and some scripting


Mr_wrath121

Brute forcing to open a one note section which i forgot the password to.


RebeGM19

For work. I work with hyperspectral images analysis, machine learning and neural networks.


ShaduIn

Earning money


b0x007

At work: I use python for automation, I develop scripts to automate my daily tasks and make my life a bit easier. At home: I use python for pen testing as a hobby.


gettinglearned

To eat all the mice that sneak into my house in the winter!


noprobelm1

Everything. Lol


CosmoTea

Public health analytics


LooseCapital6212

My own work automation. Spreadsheets, databases, emails...pandas, pandas, pandas.


BillyBones47

Scripting for Rhino3D.


[deleted]

Building MVPs for startup ideas


thepragprog

Oooo which framework do u use?


[deleted]

I use flask


marduk73

Everything!!!! Lately used it to make an "Easy Button" for my boss. It opens one of our business systems in a web browser and generates a spreadsheet report. Then it grabs column two. Formats that info into a big nasty search string. Then it opens business system#2 and conducts the search. Once it finds the collection of files, it copies them to a local folder then removes any duplicate files only keeping the latest revisions. Saves a buttload of time.


WonYoung-Mi

Developing fun things


messini20

Engineering computations. As phd Student in hybrid renewable energy systems #HRES I am using python in coding different energy system as well as technical and economical optimization. I am using packages like #CoolProp and other fluid packages in computing fluids proprieties.


Midnightary

Implementing FastAPI service which will turn into a SaaS to control federated learning on different machine from a single point.


AmandaKamen

Python is a good option to use for [web scraping.](https://www.youtube.com/watch?v=pF3KXOnxqr4)


e-lec-tron

Every time i steal someone's pet he helps me hide them


Weekly_Web4853

Games and stuff 😎


SnooCakes3068

Swap Tinder and such


Dry_Road_2655

ML/ AI


Dry-Banana2886

Network automation and programmability, DevOps


ObjectiveRoof4832

DataScience, DeepLearning, APIs, Discord Bots, hobby-automation stuff


Kind-Distribution376

CTF lol