Backend (and sometimes frontend) software engineer working on sports data at Elias Sports Bureau.
Experience with: Python, Django, Typescript/JS, infrastructure, databases
Find me:
Includes pytest integration: https://github.com/adamchainz/time-machine#pytest-plugin
The installed packages themselves won’t be faster, but they will install faster, sometimes much faster.
Yes, I believe wheels will generally be preferred by pip
.
@allinalllearners@lemmy.world you seem to have linked to just an image.
Care to update this post?
The other thing to remember is that post IDs are relative to the Lemmy server you’re working with. So post/12345
is almost surely not post/12345
on another server.
I mod a couple of communities on another server and this caught me off guard when trying to share what I thought were good URLs.
OP, you could even use a local file/sqlite database in the repo and just update and commit it when the script runs.
Simon Willison has a cool approach for this that runs in GitHub Actions and keeps the versioned state in git itself: https://simonwillison.net/2020/Oct/9/git-scraping/
Will definitely be playing with this next week.
Also, for anyone interested, the source is linked at the bottom of the page: https://gitlab.com/mbryant/functiontrace
Ooh, thanks for mentioning asdf
! I’ve heard of it, but didn’t realize it could that
I’ve only used pyenv
on Ubuntu machines, but I expect it would work just as well in Debian-based systems.
pyenv
is really useful if you need multiple versions installed simultaneously and it handles installation for you.
My post’s link is to the original blog URL that you point to, I just mentioned the author’s Mastodon post where I ran first saw a reference to the blog post.
This proved to be a fair amount of work, absent a bot of some sort that I haven’t had time to create yet.
So, I failed toward just including events in the sidebar, with a link to python.org’s Event Calendar.
Agreed! That’s the way we do work projects. For personal stuff, I also like using pyenv. But yeah, that’s it, keep it nice and simple.
First, I have to apologize, I just meant post a link to NestText as a post in c/Python. I definitely didn’t mean to imply you should have to go write a blog post (or something) about it just for me. I swear this was just an attempt to get another person posting interesting things to c/Python. 😬
Looking through the community projects and docs, the use cases/tooling that really stood out to me were:
parametrize_from_file
, for defining pytest
parametrize
params in a fileThinking about how I might use it:
I’ve mostly resisted the urge to use a dotfile manager so far, but I’m starting to feel like it’s time. I was excited when I ran across this one and noticed it was written in Python and had Git-like semantics.
Will play with it this weekend and report back.
You should make a post about NestedText. That looks interesting and pretty close to my own internal note-taking style.
🤦♂️
ETA: Thanks for that, not sure what I was thinking there.
Other PyCon AU 2023 videos: https://www.youtube.com/playlist?list=PLs4CJRBY5F1KwxIxbTmhN9jX4hBtE-OKJ