<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/algorithms/components/connected.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>Dispatch more BFS-based algorithms (#6467)</title>
<updated>2023-03-12T06:21:12+00:00</updated>
<author>
<name>Erik Welch</name>
<email>erik.n.welch@gmail.com</email>
</author>
<published>2023-03-12T06:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=3c43f3da6787d7ee9428e6187282efaa53c57908'/>
<id>3c43f3da6787d7ee9428e6187282efaa53c57908</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> Use isort with pre-commit to enforce import guidelines (#5659)</title>
<updated>2022-06-02T15:54:09+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-06-02T15:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=5c0b11afb4c0882a070d522ef3fa41482ba935d3'/>
<id>5c0b11afb4c0882a070d522ef3fa41482ba935d3</id>
<content type='text'>
* Add isort to pre-commit

* Run isort on all python files (except __init__.py ones)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add isort to pre-commit

* Run isort on all python files (except __init__.py ones)</pre>
</div>
</content>
</entry>
<entry>
<title>Added examples in connected and strongly connected functions (#5559)</title>
<updated>2022-05-09T20:09:21+00:00</updated>
<author>
<name>Nikita Sharma</name>
<email>70018371+NikitaSharma1@users.noreply.github.com</email>
</author>
<published>2022-05-09T20:09:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=7cad29b3542ad867f1eb5b7b6a9087495f252749'/>
<id>7cad29b3542ad867f1eb5b7b6a9087495f252749</id>
<content type='text'>
* added examples

* Update networkx/algorithms/components/connected.py

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* added examples

* Update networkx/algorithms/components/connected.py

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Format w/ black</title>
<updated>2020-07-10T16:44:54+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2020-07-10T06:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=b22d6b36ce0545995c99d233546e8a1fe7e27fc5'/>
<id>b22d6b36ce0545995c99d233546e8a1fe7e27fc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix example in docstring (#3866)</title>
<updated>2020-03-15T13:09:23+00:00</updated>
<author>
<name>Rüdiger Busche</name>
<email>ruedigerbusche@web.de</email>
</author>
<published>2020-03-15T13:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=a73a610e0bbd6e13b183b15ca47b221df5f8e26a'/>
<id>a73a610e0bbd6e13b183b15ca47b221df5f8e26a</id>
<content type='text'>
Co-authored-by: rbusche &lt;rbusche@inserve.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: rbusche &lt;rbusche@inserve.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Make connected_components safe to component set mutation (#3859)</title>
<updated>2020-03-09T18:57:56+00:00</updated>
<author>
<name>Kelly Boothby</name>
<email>boothby@dwavesys.com</email>
</author>
<published>2020-03-09T18:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=02a1721276b3a84d3be8558e479a9cb6b0715488'/>
<id>02a1721276b3a84d3be8558e479a9cb6b0715488</id>
<content type='text'>
* added test for issue 3823

* fixed (networkx #3823)

* minor performance tweak

* pep8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* added test for issue 3823

* fixed (networkx #3823)

* minor performance tweak

* pep8</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous encoding information</title>
<updated>2019-11-11T21:39:06+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-11-09T07:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=cd2bde7856dc8057c8269696110ffb75795edf13'/>
<id>cd2bde7856dc8057c8269696110ffb75795edf13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove boiler plate from top of modules</title>
<updated>2019-11-11T21:39:06+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-11-09T07:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=89daa927a0135a79cc69a75a3c89202158fa2ca7'/>
<id>89daa927a0135a79cc69a75a3c89202158fa2ca7</id>
<content type='text'>
The copyright and author stuff is not necessary, out-of-date,
and inconsistent.  It takes up visual space and is a pain to
police everyone doing the same thing on the top of the module.

Git handles authorship in a comprehensive and authoritative way.
The LICENSE.txt file applies to all project code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The copyright and author stuff is not necessary, out-of-date,
and inconsistent.  It takes up visual space and is a pain to
police everyone doing the same thing on the top of the module.

Git handles authorship in a comprehensive and authoritative way.
The LICENSE.txt file applies to all project code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more documentation issues with exceptions</title>
<updated>2019-11-10T00:31:46+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-11-10T00:06:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=86d4512bbc5ebe4215797669025eae88c5e6f147'/>
<id>86d4512bbc5ebe4215797669025eae88c5e6f147</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
