Skip to content

Instantly share code, notes, and snippets.

View GMishx's full-sized avatar
🐼
🎵

Gaurav Mishra GMishx

🐼
🎵
View GitHub Profile
@pombredanne
pombredanne / pypi-resolution-design.md
Last active September 22, 2021 14:09
Resolving Python deps

Context

For the collection of the set of dependent packages from a given Python application, the package management tool (commonly pip) will first collect the direct dependencies and then query a PyPI APIs to collect the dependencies of each dependency.

For each dependency, there can be a version "requirement" that can be a simple exact version, a version expression (aka. version specifier) as defined in https://www.python.org/dev/peps/pep-0440/ and additional tags and constraints as specified in https://www.python.org/dev/peps/pep-0508/

In particular the required Python version of a package (or version specifier) can be set for the whole package (with the python_requires attribute) or as a marker for a given dependency, either direct or indirect.

@alojzije
alojzije / connectHTMLelements_SVG.png
Last active May 13, 2024 08:16
Connect two elements / draw a path between two elements with SVG path (using jQuery)
connectHTMLelements_SVG.png