Skip to main content

Search

Items tagged with: python


#Devbox is really awesome for #Python development.

#Nix packages mixed with virtual env, so if a Nix package doesn't exist for a specific python module, then pip can be used.


Open-source markerless motion capture with webcams...one year of learning to program

https://github.com/mprib/pyxy3d

Discussions: https://discu.eu/q/https://github.com/mprib/pyxy3d

#programming #python


Generate mazes using jupyter, numpy, matplotlib and scikit-image

https://excess.org/flood-fill-mazes/

Discussions: https://discu.eu/q/https://excess.org/flood-fill-mazes/

#programming #python


Sฤ… postฤ™py w pracy nad moim najnowszym opus magnum. W gruncie rzeczy, postฤ™py tak wielkie, ลผe doszedล‚em do wniosku, ลผe na bloga siฤ™ nie nadaje, i trzeba przepisaฤ‡ jako osobny dokument ReStructuredText ze spisem treล›ci.

Oto szkic "Problems faced when downstream testing Python packages":

https://mgorny.pl/articles/downstream-testing-python-packages.html

#Gentoo #Python #testing


Microsoft cancels plans for Python packages on GitHub

https://github.com/github/roadmap/issues/94#issuecomment-1581086839

Discussions: https://discu.eu/q/https://github.com/github/roadmap/issues/94%23issuecomment-1581086839

#programming #python


Anyway, tl;dr (and pardon the digression?):

#Pinetta's not dead! As the pet shop owner said, "it's just resting".

Personally I'd love to hear from like-minded people who think they could either contribute or make connections with experienced people on this. People who can work with #Python and #Django for the prototype, people who know #CommunityBuilding and #TrustAndSafety. And, in the end, if it's meant to happen, it will happen, and we can stop making jokes about it being vaporware.


It's out! #LiSE version 0.14.0 is now on PyPi, with big performance and stability improvements. Read more here: https://github.com/TacticalMetaphysics/LiSE/releases/tag/v0.14.0

#python #kivy #lifesim #gameDev

Here's a quick demo:


๐Ÿต๏ธ British are programmers:

โ–ถ๏ธ Array index starts at 0

#programming #programminghumor #python


I keep coming back to how similar #R is to Perl, and I didn't really realize how similar until I saw how much #tidy reads like #Python. How many of you out there still use #Perl regularly? I've been thinking about relearning it.


I never did an #introduction and I keep hitting the character limit on my profile blurb, so:

I'm Michele Ann Jenkins aka Maj.
I was federated before it was cool and have just been biding my time on FB and Reddit until a critical mass happened somewhere better and now here we are!

I am equally interested in anachronisms, futurism, and current events. In all timelines, looking to listen & learn from a diversity of voice and lived experiences.

Ever evolving tag cloud because I keep being reminded of other interests:

#Equality #Justice #Socialism
#Liguistics #SciFi #Taxonomy #OpenWeb #IA #UX #DigitalGovernance #Feminism #Journalism #Writing #Franรงais #Geek #90s #Marginalia #UrbanPlanning #Expat #Immigrant #Python #Perl #Costuming #History #UrbanPlanning #Sustainability #Upcyling #Repairing #DIY #MLIS #InfoSci #Sighing


Guess how often your PC connects to #Google servers? :blobcatscared:โ€‹

I created a #Python version of Googerteller by @bert_hubert using his list of Google servers & scapy sniffer. It beeps and prints all Google IPs your computer connects to.

Go turn it on and surf around ๐Ÿ˜Žโ€‹๐Ÿ‘โ€‹ It's ridiculous just how much of the web connects you to Google at some point. Given your IP, it's a piece of cake to profile your traffic with that data. #infosec

Here on #github: https://github.com/luzmediach/googertellerpy


First time I read about open-source "star" jacking on Github and the much more nefarious usage of open-source python packages to install malwares.

Interesting read: https://checkmarx.com/blog/starjacking-making-your-new-open-source-package-popular-in-a-snap/

#Python #CyberSecurity #OpenSource


#newhere #introduction

Just installed Friendica on our #LAMP account. Not sure what to do next, how to get a "feed" full of "content". I'm into #data #transparency and #left politics, #python and #ruby programming, applied #math, doing #mastodon @n8chz and I #blog at https://astoundingteam.com/wordpress


Hello #twittermigration folks! ๐Ÿ‘‹๐Ÿผ If you want to know more about

๐Ÿ All things #PyData & #SciPy
๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ #PyDataMadrid and #Python
๐Ÿค A bit of #futureofwork, #sustainability, #cooperatives
๐ŸŽถ A bit of algorithmic music with #foxdot
๐Ÿ”ฅ Rants about bad #UX in free software
๐Ÿ‡ช๐Ÿ‡ธ Pensamientos ocasionales en espaรฑol

You're at the right place! Please say hi ๐Ÿ˜Š #introductions


๐Ÿ‘‹ Hello! Here is an #introduction (now with hashtags)

Call me: Leo

Pronouns: he/him

Website: https://www.leouieda.com

Work: Lecturer in #Geophysics at University of Liverpool, UK. I use #maths + #physics + #Python + #datascience to solve #earthscience problems through #openscience. I make #opensource software to enable all of that and my #teaching.

Personal: Brazilian, proud father, amateur bread baker, sci-fi & fantasy, really into Smash Bros Ultimate lately (I play Incineroar poorly).
Photo of me giving my first talk at Liverpool. The slide project in the back asks people to raise their hand if they identify as a self-taught coder.


Fellow Tooters,

I"m Jake, based in Southern #California, US. Iโ€™ve been on Mastodon since April/May 2022.

Background in #EnvironmentalEngineering and follow #ClimateChange, #WalkableCities, #RenewableEnergy, #EBikes.

Work in #Data, and use #Python, #SQL, #Git.

Recently built a #Discord bot that tracks #Wordle scores with a #RaspberryPi. I play #Fortnite.

Outside, I like #hiking, #cycling, #gym, #RoadTrips.

#Music faves: #AltRock, #EDM, #HipHop.

Thanks for reading my #introduction!


New instance, new #introduction
(please boost since this new instance's only user is me!)

I'm a development & micro-electronics hobbyist who specializes in #php and #python for the most part.

I do a lot of projects using #RaspberryPi and a bit also with #CircuitPython gadgets.

I also enjoy learning, doing, and teaching pre-industrial #arts & sciences and I spend some weekends dressed in funny clothes and hanging out with people at #SCA events.

Located in south-central PA since 2018



An #introduction perhaps?

Iโ€™m this middle-aged dad from Germany. I have a wonderful partner, 4 kids and a cat.

I care about society and technology. A retired #FOSS activist, these days I work at a globocorp doing IT stuff for trains ๐Ÿš„

My interests include baking #bread, #fermenting stuff, paddling a whitewater #kayak, n00bing around with #Python, #RaspberryPi and #arduino, and oh so many books.

Thereโ€™s never enough time, and I havenโ€™t been bored in more than a decade.


I'm late to the #introductions, but here it goes. I'm 30, she/her, from #Germany. I work as a environmental scientist at a university, pursuing a PhD degree. I need some #python #programming skills to do that.
I'm fairly into #crafts, especially #fiberarts like #knitting and #sewing.
I enjoy #boardgames a lot, I also started playing #shadowrun about a year ago.
#games like #citiesskylines or #civilization5 have quite a few hours on my steam account.
Plus: Trying to improve my #french ;)


Content warning: Request for algorithm


Last week we've started testing a rework of a Python+ffmpeg duo service to a pure Rust implementation.
The service is a custom logic around video processing.
The Rust code is built around gstreamer-rs bindings.
ffmpeg doing less then the custom Rust implementation consumes 1.5GB RAM and 1.15 CPU.
Our new Rust implementation consumes 133MB RAM and 0.18 CPU.
I'd say this is a huge win. I'm really glad that the effort payed back.

#rust #ffmpeg #python #gstreamer


I love #Mermaid graphs but I would love them even more if they could be generated without #JavaScript. Can't find any library (#Python, preferably) that could do this.

Anyone knows of one?


Hello friends,

Do you know of a tech coop that is accepting new members? Does your community require some IT work to be done (programming, running servers, and similar)? Does your small company want to contract or hire an extremely experienced IT person? I need to work on a part time basis, and I have over 20 years of experience. I am the only member of our four person household that can currently support us. Please help.

#python #debian #trans

:boost_requested:


So I've updated my site and now I have my resume there (moving it off Glitch) at https://jacky.wtf/about#work. I'm looking for #RemoteWork mainly in application software development. Languages I'm comfortable with are #Python, #Rust and #Elixir. I know #Ruby as well but I'm definitely rusty (heh).

Feel free to boost for visibility.


TIL that apt-installed Python packages are located in a different part of the file system than the pip-installed packages. This explained why the pip-installed certbot-plugin-gandi didn't work with apt-installed certbot.

#Debian #Python #pip #apt #sysadmin


#Repomaker, a #Django / #python app to create repositories for the #f-droid store for #Android, is in need of new maintainers.


Uploading photo using API?


!Friendica Support, I can't figure out how to upload photos to #Friendica using API, I keep getting "Error 400, no media data submitted". Can anyone point me in the right direction?

Attempt in #Python:
r = requests.get(someurl)
encr = base64.b64encode(r.content)
payload = {'media':encr, 'album':'Mobile'}
r = requests.post('https://friends.deko.cloud/api/friendica/photo/create.xml', data=payload, auth=HTTPBasicAuth('user', 'password'))

Attempt in #Bash:
$ base64 /tmp/img.jpg > /tmp/img64.jpg
$ a=$(cat /tmp/img64.jpg)
$ curl -u user:password --data "album=Mobile" --data "media=$a" https://friends.deko.cloud/api/friendica/photo/create.xml

In both cases I get "400, no media submitted" response.

โ‡ง