numpy 1.22.4 Pypi GitHub Homepage
Other Docs
NotesParametersReturns
get_shared_lib_extension(is_python_ext=False)

Notes

For Python shared libs, :None:None:`so_ext` will typically be '.so' on Linux and OS X, and '.pyd' on Windows. For Python >= 3.2 :None:None:`so_ext` has a tag prepended on POSIX systems according to PEP 3149. For Python 3.2 this is implemented on Linux, but not on OS X.

Parameters

is_python_ext : bool, optional

Whether the shared library is a Python extension. Default is False.

Returns

so_ext : str

The shared library extension.

Return the correct file extension for shared libraries.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/distutils/misc_util.py#680
type: <class 'function'>
Commit: