Michael Kennedy

Results 47 comments of Michael Kennedy

Alternatively, you could have a more complex install statement: ``` $ pipx install git+https://github.com/timhutton/twitter-archive-parser.git ``` Rather than just `pipx install name`, then maintenance is zero. It just installs straight out...

The more I think about this, I would recommend just letting it pipx install out of the github repo. It's adds zero extra effort to maintain and keep in sync....

Thanks @jankatins I already have it implemented with pyproject.toml and hatch (the latest recommendation from python) in the branch I referenced before: https://github.com/mikeckennedy/twitter-archive-parser/tree/installable I just needed two things from @timhutton...

Hey @timhutton Agree with everything @jankatins said above. And, it's easier in a sense. But you're assuming several things are preconditions. 1. Python is installed 2. Python is in the...

I've been getting crazy unexpected errors like this too. But my code is different: ```python podcasts = sorted(list(set(user.podcasts.copy() + [podcast.id]))) user.podcasts.clear() user.podcasts.extend(podcasts) await user.save() ``` I started with just `await...

For what it's worth, I added some middleware for my web app and got what I was hoping plus more with color and all to highlight abnormalities (high latency, size,...

Hi @nkhitrov I'm happy to share. Every web framework is a bit different. That log is from Pyramid so is handled through their "Tweens" but more general plugs into whatever...

100% that'd be a great place to add it. Thanks @knadh!

Hi. The problem is you are not running the app from the correct working directory. For example, use this one: https://github.com/talkpython/data-driven-web-apps-with-flask/tree/master/app/ch11_migrations/final Notice it must the the folder that contains the...