Backend (and sometimes frontend) software engineer working on sports data at Elias Sports Bureau.
Experience with: Python, Django, Typescript/JS, infrastructure, databases
Find me:
Hey Ulrik, apologies for not responding sooner.
I’m more than happy to talk about adding one (or more!) mods for any of the communities I mod for right now, including c/python. I have at least one person in mind, who has been pretty active both in c/python and c/django. I’d also like to talk more about mod expectations, particularly with regard to reported posts/comments.
Reading the docs and I’m a little disappointed to see that disabling telemetry is opt-in: https://bruin-data.github.io/ingestr/getting-started/telemetry.html#disabling-telemetry.
Looking at the docs, it looks like it’s an instance of ID3Tags
, which appears to be based on couple of helper classes mutagen._util.DictProxy
and mutagen._tags.Tags
, where DictProxy
(and its base DictMixin
) provides the dict-like interface. Underneath that, it looks like it’s storing the actual values in a simple dict
(DictProxy.__dict
) and proxying to that.
I’m not seeing anything obvious that would muck with the incoming lookup key anywhere in ID3Tags
or DictProxy.__getitem__
or any of the other base classes.
I have to jump off to pack for a trip, but might try this out later in a live shell session to see if there’s something odd going on with the API.
In the meantime, OP, are you positive you were looking at the same file each time? Was this in a script or in a live Python shell session?
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:
Reported as spam. I tend to agree. Removing.