#python

329 posts · Last used 3d

Back to Timeline
Juhis @hamatti@mastodon.world · 3d ago
Validate your incoming JSON data with Pydantic to make sure it behaves. As a bonus, you can modify the data at the same time to parse it into a format that's most useful to your program. https://hamatti.org/posts/j-is-for-json-validation-python-a-to-z/ #Python #Blaugust #Blaugust2026
0
0
0
SANGAN Luc @Benluc@mastodon.social · 5d ago
Boosted by Welcoming committee @welcome@friends.deko.cloud
Bonjour la Mastodonosphère ! 🚀 Étudiant en génie électrique passionné par le contrôle de processus industriels⚡ Ici, vous me verrez partager autour de : 💻 Tech & Code : Python, MATLAB/Simulink, scripts d'automatisation et conception de circuits. 📖 Création : Rédaction et publication d'e-books (business & tech). 🛠️ Maker : Simulation, résolution de problèmes et apprentissage continu. Ravi d'être ici ! #Introduction #ElectricalEngineering #Python #Automation #Maker #Ebooks
0
0
5
txt.file @txt_file@chaos.social · Aug 05, 2026
Durch eine Stellenausschreibung habe ich heute erfahren, dass es auch eine Microsoft Variante von #Python gibt. Ich zitiere aus der Stellenausschreibung: „Fundierte Kenntnisse von Microsoft-Systemen (Server, SQL, Python)“
2
1
2
Juhis @hamatti@mastodon.world · 6d ago
g is for get_or_create Django's get_or_create is great. It lets you search for something in the database and craete it if it didn't exist. It's such a great tool for things like data entry and makes the code nice and easy to read and follow. https://hamatti.org/posts/g-is-for-get-or-create-python-a-to-z/ #Python #Django #Blaugust #Blaugust2026
2
1
1
John Beers @johnbeers@mastodon.social · Aug 07, 2026
New release for #BandcampFriday from my experimental side-project, Placebo Button, which uses the Python application I wrote to convert color data from images to MIDI https://placebobutton.bandcamp.com/album/bewegungsstudie #Experimental #Ambient #Music #Python #StringTrio
0
0
0
Jesus Michał von Gentoo 🏔 (he) @mgorny@social.treehouse.systems · Aug 06, 2026
Today in things that couldn't have aged well: "Unpin flit-core dependency" 2 years ago without actually updating the metadata to use the newer pyproject.toml format. https://github.com/sethmlarson/socksio/commit/b326406915fd98a8185c1c160165c5b8963b30c1 #Python #flit
0
0
0
Juhis @hamatti@mastodon.world · Aug 06, 2026
E is for environment variables Code is input from developer and data & interactions are input from the user. Environment variables are input from the system that runs the code. You can access them in Python through os.environ and use dotenv to auto-load project specific values. https://hamatti.org/posts/e-is-for-environment-variables-python-a-to-z/ #Python #Blaugust #Blaugust2026
0
1
0
Rene Nel @ReneMichael@mastodon.social · Aug 05, 2026
Boosted by Welcoming committee @welcome@friends.deko.cloud
New here! #Introduction. Father to two daughters 🧠 Neurodivergent & living with epilepsy 🏢 Backend and development for a logistics & construction company 💻 Hobbies include web design, Python, and Fedora ☁️ Always playing around with cloud infrastructure 🖖 DS9 ​Say hi! #Introduction #StarTrek #Neurodivergent #Epilepsy #Python #Cloud #Fedora
0
0
2
baconandcoconut @baconandcoconut@freeradical.zone · Aug 04, 2026
What's the weirdest or nerdiest or most niche thing you use #python for? I love hearing people's stories and I love sharing how wide the set of use cases is.
1
1
3
OOTS @oots@infosec.exchange · Aug 05, 2026
Replying to @baconandcoconut@freeradical.zone
@baconandcoconut@freeradical.zone I'm trying to design a board/card game. I want to encode raw data (e.g. for cards) into #YAML files, and then auto generate printable PDFs containing the cards from that with #Python. For now I'm running some balancing requirements/guidelines as unittests. I also use Python to visualise some statistics on the raw data (also mostly balancing related so far).
0
0
0
Daily CyberSecurity @DailyCyberSecurity@infosec.exchange · Aug 05, 2026
A high-severity Django vulnerability, CVE-2026-15307, can enable remote code execution through spatial lookups. Update to Django 6.0.8 or 5.2.17 now. #Django #DjangoSecurity #CVE202615307 #RCE #RemoteCodeExecution #Vulnerability #Python #WebSecurity #InfoSec #CyberSecurity https://securityonline.info/django-vulnerability-cve-2026-15307-rce/?utm_source=mastodon&utm_medium=jetpack_social
0
0
0