<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/algorithms/centrality/katz.py, branch main</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Fix links in eigenvector.py and katz_centrality.py  (#6640)</title>
<updated>2023-04-15T23:29:17+00:00</updated>
<author>
<name>Vanshika Mishra</name>
<email>74042272+vanshika230@users.noreply.github.com</email>
</author>
<published>2023-04-15T23:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=f1123d234c9e8b889afd81e7c2d36f7a3f464c6d'/>
<id>f1123d234c9e8b889afd81e7c2d36f7a3f464c6d</id>
<content type='text'>
Fix links in see also section of docs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix links in see also section of docs</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in Katz centrality comment (#6310)</title>
<updated>2023-01-03T20:19:58+00:00</updated>
<author>
<name>Anurag Bhat</name>
<email>90216905+faze-geek@users.noreply.github.com</email>
</author>
<published>2023-01-03T20:19:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=78d447f0c83aea5c023849971719d5bda6c09a43'/>
<id>78d447f0c83aea5c023849971719d5bda6c09a43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>plugin based backend infrastructure to use multiple computation backends (#6000)</title>
<updated>2022-11-08T18:39:27+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-11-08T18:39:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=0f91550007fd3a95261d858b1a6a623ef8bda38a'/>
<id>0f91550007fd3a95261d858b1a6a623ef8bda38a</id>
<content type='text'>
* Wrappers classes to dispatch to a backend

* Rework the backend dispatching

- Use __networkx_plugin__=name to find graph-like objects instead of
  subclassing
- Add PluginInfo to smooth over differences in importlib.metadata across
  python versions
- Add dispatch behavior override via environment variable to aid in
  testing plugins

* Dispatch more algorithms and improve auto-test capabilities

* Allow dispatcher decorator without a name

- Name is taken from the decorated function
- Raise error if backend doesn't implement a decorated function which is called
- Check for duplicate names for dispatching algorithms

* Make sphinx pick up backend docs

* make black happy

* Rename decorator to _dispatch as it's experimental

* A few more dispatched functions

* Make convert to and from methods for auto-testing

- Rename `convert` to `convert_from_nx`
- Add `convert_to_nx` function

These will allow backends to return native objects when dispatching,
but provide a mechanism to convert the result to the type expected
by NetworkX tests for the auto-test plugin mechanism.

* More dispatching

* Include name with `convert_**_nx` methods

* Remove known plugin names

This check is not needed, as any plugin can register itself in the entry points section.
The dispatching and auto-testing explicitly specify the plugin to use, so there is no
need to hardcode the options.
These were originally included for security, but any malicious actor would simply use one
of the valid names, so having a hardcoded list does not actually provide any meaningful
security.

* Add `dispatchname` to dispatchable functions

Co-authored-by: Jim Kitchen &lt;jim22k@gmail.com&gt;
Co-authored-by: Erik Welch &lt;erik.n.welch@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Wrappers classes to dispatch to a backend

* Rework the backend dispatching

- Use __networkx_plugin__=name to find graph-like objects instead of
  subclassing
- Add PluginInfo to smooth over differences in importlib.metadata across
  python versions
- Add dispatch behavior override via environment variable to aid in
  testing plugins

* Dispatch more algorithms and improve auto-test capabilities

* Allow dispatcher decorator without a name

- Name is taken from the decorated function
- Raise error if backend doesn't implement a decorated function which is called
- Check for duplicate names for dispatching algorithms

* Make sphinx pick up backend docs

* make black happy

* Rename decorator to _dispatch as it's experimental

* A few more dispatched functions

* Make convert to and from methods for auto-testing

- Rename `convert` to `convert_from_nx`
- Add `convert_to_nx` function

These will allow backends to return native objects when dispatching,
but provide a mechanism to convert the result to the type expected
by NetworkX tests for the auto-test plugin mechanism.

* More dispatching

* Include name with `convert_**_nx` methods

* Remove known plugin names

This check is not needed, as any plugin can register itself in the entry points section.
The dispatching and auto-testing explicitly specify the plugin to use, so there is no
need to hardcode the options.
These were originally included for security, but any malicious actor would simply use one
of the valid names, so having a hardcoded list does not actually provide any meaningful
security.

* Add `dispatchname` to dispatchable functions

Co-authored-by: Jim Kitchen &lt;jim22k@gmail.com&gt;
Co-authored-by: Erik Welch &lt;erik.n.welch@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Cleanup centrality module, remove unused variables (#5308)</title>
<updated>2022-06-04T17:22:18+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-06-04T17:22:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=ddb1cb663d1c0be293aaa4d4284eab641255014f'/>
<id>ddb1cb663d1c0be293aaa4d4284eab641255014f</id>
<content type='text'>
* MAINT: Cleanup centrality module, remove unused variables

* make isort linter happy

* MAINT: make the loop more readable

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;

* make black happy

* Use a different name for internal function variable

Co-authored-by: Jarrod Millman &lt;jarrod.millman@gmail.com&gt;

* rename closeness_cen to closeness_dict

* minor cleanup in current_flow_betweenness and group

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;
Co-authored-by: Jarrod Millman &lt;jarrod.millman@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* MAINT: Cleanup centrality module, remove unused variables

* make isort linter happy

* MAINT: make the loop more readable

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;

* make black happy

* Use a different name for internal function variable

Co-authored-by: Jarrod Millman &lt;jarrod.millman@gmail.com&gt;

* rename closeness_cen to closeness_dict

* minor cleanup in current_flow_betweenness and group

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;
Co-authored-by: Jarrod Millman &lt;jarrod.millman@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant py2 numeric conversions (#5661)</title>
<updated>2022-05-31T18:24:18+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-05-31T18:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=2a05ccdb07cff88e56661dee8a9271859354027f'/>
<id>2a05ccdb07cff88e56661dee8a9271859354027f</id>
<content type='text'>
* Remove redundant float conversion

* Remove redundant int conversion

* Use integer division

Co-authored-by: Miroslav Šedivý &lt;6774676+eumiro@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove redundant float conversion

* Remove redundant int conversion

* Use integer division

Co-authored-by: Miroslav Šedivý &lt;6774676+eumiro@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add Mypy type checking infrastructure (#5127)</title>
<updated>2021-11-18T05:12:56+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2021-11-18T05:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=00c261f951ae6734001e0419d2bc754eef6dd1b2'/>
<id>00c261f951ae6734001e0419d2bc754eef6dd1b2</id>
<content type='text'>
* Add minimal mypy configuration file.

* Add mypy workflow to GH.

* Properly import sentinels from traversal.edgedfs.

* mypy doesn't like variables named \"e\".

* Rm annotations from single function.

* Fix name collisions in test suite.

Make sure all tests have unique names.

* Rm unused random seed in test setup.

* Rm redundant __all__ specification.

* Silence mypy error from sum(). Mypy bug?

* Fix tsp test instantiation nit.

* \"type: ignore\" to suppress conditional fn sigature errors.

* Remaining \"type: ignore\" to appease mypy.

* Configure mypy to ignore inheritance issues.

* Update exclude conf for CI.

 - Add yaml
 - Reformat regex containing reportviews

* Rm partial annotations from lukes.py.

Fixes mypy errors due to unannotated code.

* Reorg defaultdict to reduce type: ignore cruft.

* Homogenize signatures for fns defined in conditionals.

* err as varname only in exception catching.

* Fix name collision in Bellman-Ford test suite.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add minimal mypy configuration file.

* Add mypy workflow to GH.

* Properly import sentinels from traversal.edgedfs.

* mypy doesn't like variables named \"e\".

* Rm annotations from single function.

* Fix name collisions in test suite.

Make sure all tests have unique names.

* Rm unused random seed in test setup.

* Rm redundant __all__ specification.

* Silence mypy error from sum(). Mypy bug?

* Fix tsp test instantiation nit.

* \"type: ignore\" to suppress conditional fn sigature errors.

* Remaining \"type: ignore\" to appease mypy.

* Configure mypy to ignore inheritance issues.

* Update exclude conf for CI.

 - Add yaml
 - Reformat regex containing reportviews

* Rm partial annotations from lukes.py.

Fixes mypy errors due to unannotated code.

* Reorg defaultdict to reduce type: ignore cruft.

* Homogenize signatures for fns defined in conditionals.

* err as varname only in exception catching.

* Fix name collision in Bellman-Ford test suite.</pre>
</div>
</content>
</entry>
<entry>
<title>Use math.hypot (#5145)</title>
<updated>2021-10-24T21:22:38+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2021-10-24T21:22:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=7349e9c697a13f98bb42126eac3bfc0118cc3d47'/>
<id>7349e9c697a13f98bb42126eac3bfc0118cc3d47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop Py37 (#5143)</title>
<updated>2021-10-23T22:37:48+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2021-10-23T22:37:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=0c503e31ba0062dc9a4ed47c380481aa8d6978c8'/>
<id>0c503e31ba0062dc9a4ed47c380481aa8d6978c8</id>
<content type='text'>
* Drop Py37

* XML serialization issue

* Use math.comb

Co-authored-by: Simone Gasperini &lt;simone.gasperini2@studio.unibo.it&gt;

* Run pyupgrade --py38-plus

* Run black

* More documentation

* Deprecate euclidean

Co-authored-by: Simone Gasperini &lt;simone.gasperini2@studio.unibo.it&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop Py37

* XML serialization issue

* Use math.comb

Co-authored-by: Simone Gasperini &lt;simone.gasperini2@studio.unibo.it&gt;

* Run pyupgrade --py38-plus

* Run black

* More documentation

* Deprecate euclidean

Co-authored-by: Simone Gasperini &lt;simone.gasperini2@studio.unibo.it&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Change exception varname e to err (#5130)</title>
<updated>2021-10-15T19:01:14+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2021-10-15T19:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=e611fa1e439f6bd0c35fd8db2ca1ced56070a915'/>
<id>e611fa1e439f6bd0c35fd8db2ca1ced56070a915</id>
<content type='text'>
A more descriptive variable name for exceptions. This reduces local var naming conflicts when
\`e\` is used e.g. to represent edges as a loop variable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A more descriptive variable name for exceptions. This reduces local var naming conflicts when
\`e\` is used e.g. to represent edges as a loop variable.</pre>
</div>
</content>
</entry>
<entry>
<title>Page number for Katz centrality reference (#4932)</title>
<updated>2021-06-27T00:59:44+00:00</updated>
<author>
<name>Chris McBride</name>
<email>3595025+ankona@users.noreply.github.com</email>
</author>
<published>2021-06-27T00:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=311346df0a8090831f2d07cc7bd29cebcbdf8df7'/>
<id>311346df0a8090831f2d07cc7bd29cebcbdf8df7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
