Python By Night is what happens when there's not enough time during the day.
Public Key
npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Profile Code
nprofile1qqszrxvyjdpdct3vw9vrjt2fq2srzcheutmseu8kwnx3wal57scn8mgppamhxue69uhkummnw3ezumt0d5q3gamnwvaz7tmjv4kxz7fwv3sk6atn9e5k75jyx7w
Show more details
Published at
2024-05-28T16:44:12Z Event JSON
{
"id": "c68a5aea8f1469fa542cef8418f9928d75fd10d6d7c51d8277c489d8f086078c" ,
"pubkey": "2199849342dc2e2c7158392d4902a03162f9e2f70cf0f674cd1777f4f43133ed" ,
"created_at": 1716914652 ,
"kind": 0 ,
"tags": [
[
"proxy",
"https://fosstodon.org/users/pythonbynight",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/pythonbynight",
"pink.momostr"
]
],
"content": "{\"name\":\"Mario Munoz\",\"about\":\"Python By Night is what happens when there's not enough time during the day.\",\"website\":\"https://fosstodon.org/@pythonbynight\",\"picture\":\"https://cdn.fosstodon.org/accounts/avatars/109/283/695/758/991/922/original/c74f6a31677e172f.jpg\",\"banner\":\"https://cdn.fosstodon.org/accounts/headers/109/283/695/758/991/922/original/1d35a0cd925ef2be.png\",\"nip05\":\"[email protected] \"}" ,
"sig": "dffa22816f4bd74fd686201257477a908c0953d33511201be774e9eeeb00cfaa8f55aebae420f6291d99bf2b55b5310b2651780375d17e9d7b613cb539bc6cd7"
}
Last Notes npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz #PierogiCon sans @npub1nsp…ahke #PyConUS https://cdn.fosstodon.org/media_attachments/files/114/525/580/633/222/208/original/50f92660f6920d42.jpg npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Ah well... might as well poke around... https://codeberg.org/pythonbynight npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I also want to point out, there is a way to integrate Click commands directly into a Typer app (https://typer.tiangolo.com/tutorial/using-click/#including-a-click-app-in-a-typer-app), but I had already started down the path of using a Typer subgroup (and the advanced alchemy extension for Litestar is currently specific to that framework). npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I've been working on a Typer CLI app with a database backend. Each time I need to set up Alembic (for migrations), I need to go back to the docs and learn all the things (again)... I wanted to see if I could incorporate alembic commands into my own CLI app. At the least, it would let me inject some custom logic and/or command names. Wasn't quite sure where to start, but eventually I got there... So I decided to write about it. https://pythonbynight.com/blog/alembic-migrations-existing-typer-cli #Python #Alembic #ORM npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Or I'm bad at bingo 😁 npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz didn't get a chance to say bingo... https://cdn.fosstodon.org/media_attachments/files/113/528/942/104/536/010/original/72dbaf5ba25684e5.png npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Welp. I guess it's a long wait to season 4... 😫 npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz got through 2 seasons pretty quickly, so guess I'll just have to lose a few more nights of sleep to be all caught up... 😅 npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz yeah, I definitely feel like I was fortunate in my case. Walk you through the sample app I built and taught at pycon for a tutorial? Why, yes, I think I can do that. 😅 npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz for my current job, instead of having to work on some random project, I was able to walk the panel through one of my projects, and at least some had already looked through my github profile so we're somewhat familiar with my style. I think it's worth it. npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I liked it more than I thought I would, but felt slightly underwhelmed with the landing. Would still recommend, though... And also not much of a Vaughn fan. npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Awesome. Thanks for sharing your dotfiles as well. I'd love to get more usage out of "just", and this gives me some ideas as well. npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Seeing some of the chatter about Starship lately, and piggybacking off of @npub106g…uas2 's recent foray, I decided to update my coding environment as well. I hardly understood anything when I got started, but I'm pretty happy with the results. Thanks @npub1nsp…ahke as well as @npub13ej…fx2r for pressuring Trey 😅 https://pythonbynight.com/blog/terminal npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I like this old blog post by [@brettcannon](https://fosstodon.org/@brettcannon ) on that subject... https://snarky.ca/why-you-should-use-python-m-pip/ npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Speaking jitters for my upcoming talk, but excited to share with everyone! #django #DjangoCon npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Probably this blog post by @npub16y8…d455 is a good resource: https://blog.glyph.im/2023/08/get-your-mac-python-from-python-dot-org.html npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Hmm. I was initially being cheeky, but now that you mention it, this is a really good point. We have a large monolith with heavy CI, and I don't think we're even using a package manager outside of pip (I think there's a custom script to keep dependencies up to date). It also takes a bit of time when rebuilding containers... Hmmmm...🤔 npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Thinking of starting a new python project and figure I might as well try using uv. The question is, since uv is 10x faster... will it turn me into a 10x developer? npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I'm curious as well. Does this refer to sending "different" partials to "different" targets in the DOM as described here? https://htmx.org/examples/update-other-content/ Or is it something else? npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz I think maybe it was @npub1nsp…ahke who steered me in the direction of 'justpath' recently: https://github.com/epogrebnyak/justpath It's a great tool to have on pipx, but it presumes you know what you're looking for. I wonder if there's a world where something like this is either included in the background (somewhere) or teaching/instructions on how to use it effectively? npub1yxvcfy6zmshzcu2c8yk5jq4qx930nchhpnc0vaxdzamlfap3x0ksszyjv9 Mario Munoz Does anyone I know have any experience using Danger or Danger-like implementation in Python within their CI/CD pipeline? The goal would be automatic/random reviewer assignments and/or notifications sent to a messaging system (like Slack). I found this package, but not quite sure about it: https://github.com/danger/python #DevOps #Python #CICD #lazyweb