So, let’s pick up where we left off. A couple of weeks ago, I wrote about how I took a 4-year-old fever dream—an ODM for Cassandra and ScyllaDB called coodie —and let an AI build the whole thing while I sipped my morning coffee. It was a fun experiment. But then, a funny coincidence happened (or maybe the algorithm just has a sick sense of humor). Right after I hit publish and started feeling good…
So, let’s rewind a bit. About four years ago, I was looking at Beanie — this really nifty, Pydantic-based ODM for MongoDB. And as someone who spends an unhealthy amount of time deep in the trenches of ScyllaDB and Cassandra, I had a thought: “Where is my Beanie? I want a hoodie, but for Cassandra.” And thus, the name was born: coodie = c assandra + beanie (h oodie ). Catchy, right? Like any…
Takes from pyconil 2022 First in person conference I attend since Covid-19, was fun to meet some of the familiar faces and meet a few new ones. I’ve tried live tweeting, but seem like I’m not very good at it. (I’m better at hijacking others live tweets) Day 1 Keynote Keynote speaker couldn’t make it, and was replaced by a panel of the known experts in python While Sim Zacks asks them popular…
Taking Github Actions for a walk in the park Travis started to scare me a bit People were talking about github actions for a while now, lot of hype around it. I myself was quite happy with the things I’ve managed to get done with Travis . But then came in this announcement from travis: “The new pricing model for travis-ci.com” . I was reading via lot of the backlash in tweeter about it, and after…
How much fun was EuroPython 2020 #pyconil got canceled This year I’ve finally got enough courage and will, and I had 2 submissions for #pyconil . COVID-19 had other plans, and #pyconil was canceled I’ve told @ultrabug about this (Numberly CTO, Alexys Jacob), after a few weeks he surprised me with telling me he’s gonna present scylla-driver in europython2020, the shard-aware driver we were working…
pytest-elk-reporter tl;td : https://github.com/fruch/pytest-elk-reporter History Few years back I’ve wrote a post about how I’ve connected python based test to ELK setup - “ELK is fun” , it was using an xunit xml, parsing it and sending it via Logstash. Over time I’ve learn a lot about ElasticSearch and it’s friend Kibana, using them as a tool to handle logs. and also as a backend for a search…
Today on work on a python related mailing list someone sent this snippet of code he didn’t wrote. and that was causing some of the server he worte/manged some troubles. Here’s the code: def deploy_file ( full_path_to_file , full_path_in_server ): if full_path_to_file is None or full_path_in_server is None or full_path_to_file == "" or full_path_in_server == "" : print_error_exit ( " wrong input…
We love logging, and we use it all around our code. (it’s the standard/built-in/batteries included) We have those hugh json objects flying around, we want to log them. pprint.pformat comes handy for those cases: import pprint my_large_data = [ dict ( data = "my large inforamtion" , data1 = "dicts, dicts, dicts," , data3 = dict ( a = "??" , b = 2 , c = 3 , d = "***" )), dict ( data = "my large…
As I do a lot of testing and CI in my day job, I took ELK for a test drive. (ELK stands for ElasticSearch , LogStash and Kibana ) I’ve played around with Logstash before, but it’s first time i’m trying Kibana. I’ve look for a quick way to setup it, and there where gazillion hits in Docker Hub (I’ve forgot which one I’ve actually installed :)) EDIT: it was cyberabis/docker-elkauto. That went quick…