Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@netzschleuder@social.skewed.de
2024-02-27 13:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
n…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2024-03-27 11:11:35

I’m very happy to announce build-and-inspect-python-package 2.1.0!
The two highlights are: 1. it’s faster courtesy of uv and 2. it allows you define your strategy matrix based on your trove classifiers!
github.com/hynek/build-and-ins

@frankel@mastodon.top
2024-03-26 09:19:03

Breaking #Packages in #Python: an exposé of the nooks and crannies of Python’s modules and packages
dagster.io/bl…

@veit@mastodon.social
2024-03-26 15:36:12

Malicious code in Python packages hits Discord bot platform with 170,000 users, among others: checkmarx.com/blog/over-170k-u

@publicvoit@graz.social
2024-03-26 18:22:52

Had an issue with #NixOS where I couldn't run a #Python tool that uses pandas. (Nix really doesn't work well with Python.)
Somebody helped me to find the solution by:
nix-shell -p 'python3.withPackages (ps: with ps; [ pandas numpy ])'
Today, another Python project with pandas a…

@JGraber@mastodon.social
2024-04-26 18:00:49

#Python Friday #224: Better HTTP Status Codes for #FastAPI
impro…

@mgorny@social.treehouse.systems
2024-02-27 08:14:59

If you were even wondering why #Gentoo python-exec is sitting in dev-lang/ rather than dev-python/, that's actually a curious story of a hack.
#Python script wrapping dates back to the original python.eclass. The idea was sound: you'd rename scripts installed by Python packages to "foo-2.6", "foo-3.1", and then install a new wrapper that selects one of these versions. If this may sound unnecessary, remember that scripts need to be run with a Python version that has all its dependencies installed, and that different scripts could technically be installed for different versions (especially in the early Python 3 era, when using 2to3 was not uncommon).
The first version of dev-python/python-exec built on that concept, optimizing it in a few ways. It would install a shared wrapper as a separate package and use symlinks, whereas the old wrappers would be installed separately by every package. It would introduce a C executable to remove the overhead of starting a Python interpreter to determine which interpreter to actually start. However, it did copy the idea of suffixing scripts.
In the long run, this turned out to be a bad idea. Some scripts expected specific names, and we'd ended up hacking and patching things around. So I've made python-exec 2 that used a slightly different approach, and rather than renaming scripts, it moved them into a per-interpreter directory. This not only preserved the basename but let us make things simpler — we could just override the script install directory rather than having to rename stuff!
Migration was the problem. Two different approaches meant that packages built against python-exec:0 would have to continue depending on it. Originally, I've added a `:=` dep to the eclass but this couldn't solve the problem for packages already installed, and Portage ended up removing old python-exec. It wasn't good.
After some tinkering, I've figured out that the best approach is to add both slots as a new package, have the eclass depend on it with `:=` operator going forward and have the old `dev-python/python-exec` pull both slots for compatibility. This is what gave birth to `dev-lang/python-exec`.
bugs.gentoo.org/489440#c20

@netzschleuder@social.skewed.de
2024-02-25 05:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
n…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@JGraber@mastodon.social
2024-04-26 18:00:49

#Python Friday #224: Better HTTP Status Codes for #FastAPI
impro…

@netzschleuder@social.skewed.de
2024-02-24 06:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
n…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency