python

Back Open Paginator
15.09.2025 00:35
paco (@paco@infosec.exchange)

@sycophantic Yeah. #Python runs faster when you use #rust. 😜 “ruff” is amazing too.




Show Original Post


15.09.2025 00:30
paco (@paco@infosec.exchange)

So I just rebuilt my personal #python venv in my home directory on my #linux daily driver laptop. I did pip freeze > requirements.txt to capture all the packages I had installed. Then I took away all the ==a,b.c versioning so I'd install the latest compatible version.

Then I ran uv pip install -r requirements.txt. This blew me way:

$ time uv pip install -r requirements.txt 
Resolved 250 packages in 2.38s
Built python-ldap==3.4.4
Built py-cui==0.1.6
Built docopt==0.6.2
Built email-normalize==2.0.0
Built ecos==2.0.14
... bunch of lines...
real 0m14.028s
user 0m11.605s
sys 0m4.131s

Wow. 250 packages in 14 seconds.




Show Original Post


15.09.2025 00:19
jcbritobr (@jcbritobr@mastodon.social)

Exemplo de modulação , resolvida com . Modelo que irei transformar em um circuito.





Show Original Post


14.09.2025 23:42
habr (@habr@zhub.link)

Коротко об устройстве протокола MSK144 с примерами на Python

MSK144 — цифровой протокол, разработанный Джо Тейлором (K1JT) и его командой в 2016 году для проведения связей через метеорное рассеивание. В этой статье будут рассмотрены подробности работы протокола. Статья может быть интересна радиолюбителям, как знакомым, так и не знакомым с MSK144 и связью через метеорное рассеивание, а также тем, кто хочет понять устройство этого протокола.

habr.com/ru/articles/946898/

#ham #hamradio #python #python3 #scipy #numpy #msk #msk144 #ldpc #crc




Show Original Post


14.09.2025 23:13
joknopp (@joknopp@chaos.social)

I finally watched the #python documentary and really enjoyed it. Guido van Rossum is an incredible human being and the community that was formed around Python is just remarkable.

Python: The Documentary | An origin story
youtube.com/watch?v=GfH4QL4VqJ0




Show Original Post


14.09.2025 22:47
linuxgal (@linuxgal@techhub.social)

Plot a cube in #Python #47

#!/usr/bin/python3
import numpy as np
from mpl_toolkits.mplot3d.art3d import Poly3DCollection, Line3DCollection
import matplotlib.pyplot as plt
points = np.array([[-1, -1, -1],
[1, -1, -1 ],
[1, 1, -1],
[-1, 1, -1],[-1, -1, 1],
[1, -1, 1 ],
[1, 1, 1],
[-1, 1, 1]])
Z = points
Z = 10.0*Z
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
r = [-1,1]
X, Y = np.meshgrid(r, r)
ax.scatter3D(Z[:, 0], Z[:, 1], Z[:, 2])
verts = [[Z[0],Z[1],Z[2],Z[3]],
[Z[4],Z[5],Z[6],Z[7]],
[Z[0],Z[1],Z[5],Z[4]],
[Z[2],Z[3],Z[7],Z[6]],
[Z[1],Z[2],Z[6],Z[5]],
[Z[4],Z[7],Z[3],Z[0]]]
ax.add_collection3d(Poly3DCollection(verts, facecolors='cyan', linewidths=1, edgecolors='r',
alpha=.20))
ax.set_xlabel('X')
ax.set_ylabel('Y')
ax.set_zlabel('Z')
plt.show()





Show Original Post


14.09.2025 22:45
leanpub (@leanpub@mastodon.social)

Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP leanpub.com/b/interpretability by Christoph Molnar is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com




Show Original Post


14.09.2025 22:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Constructor is hiring Backend Engineer - Catalog Team (Remote)

🔧 #python #mysql #nosql #postgresql #sql
🌎 Remote; Portugal
⏰ Full-time
🏢 Constructor

Job details jobsfordevelopers.com/jobs/bac
#jobalert #jobsearch #hiring




Show Original Post


14.09.2025 21:44
ology (@ology@fosstodon.org)

New musical #Python package in the house! Today it's pypi.org/project/music-creatin ported from the c code, that is a companion to the book, abrazol.com/books/rhythm1/ "Creating Rhythms" by Stefan and Richard Hollos.

With it, you can do a bunch of combinatorial things to make rhythmic patterns, like the `euclid(m, n)` method, for instance.

Woo! :D




Show Original Post


14.09.2025 21:14
coudcoud (@coudcoud@framapiaf.org)

Le Club Coding des #PetitsDébrouillards reprend à @laperm de #billom
Bricolez avec des composants électroniques et des puces programmables, découvrez #Python et son univers, développez des jeux vidéos.

Adolescents (dès la 4ème) / Adultes / Binômes parent-enfant (5ème, 6ème)

Le Coding Club aura lieu de 9h30 à 12h00 un samedi sur deux à la Perm à Billom à compter du 20septembre 2025.

Tarifs (possib. de régler le 20/09) :
Adhésion à l'association 15€ plein, 5€ réduit
+ Inscription au club 50€





Show Original Post


14.09.2025 21:11
pybeach (@pybeach@fosstodon.org)

It’s hard to believe that the #PyBeach #Python conference is only 2 weeks away! Get your ticket before we sell out! 🐍🏖️

And check out our lineup here: 2025.pybeach.org/speakers.html

🎟️ 2025.pybeach.org/attend.html
🗓️ September 27, 2025
🌎 Santa Monica, CA




Show Original Post


14.09.2025 21:00
leanpub (@leanpub@mastodon.social)

Advanced Conformal Prediction:Practical Uncertainty Quantification for Real-World ML by Valery Manokhin is on sale on Leanpub! Its suggested price is $44.95; get it for $31.96 with this coupon: leanpub.com/sh/jlvBbw3N




Show Original Post


1 ...1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 ...1551
UP