<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/algorithms/traversal, branch main</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/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://91.123.203.49/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>Lint using Ruff (#6371)</title>
<updated>2023-02-19T17:14:00+00:00</updated>
<author>
<name>danieleades</name>
<email>33452915+danieleades@users.noreply.github.com</email>
</author>
<published>2023-02-19T17:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=5fcf01b9a43a097c4f579486023d1279b2b88619'/>
<id>5fcf01b9a43a097c4f579486023d1279b2b88619</id>
<content type='text'>
* lint and fix using ruff

* add flake8-pie lints

* remove useless import alias

* bump version

* bump deps

---------

Co-authored-by: daniel.eades &lt;daniel.eades@hotmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lint and fix using ruff

* add flake8-pie lints

* remove useless import alias

* bump version

* bump deps

---------

Co-authored-by: daniel.eades &lt;daniel.eades@hotmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add dfs_labeled_edges reporting of reverse edges due to depth_limit. (#6240)</title>
<updated>2022-12-01T17:34:33+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2022-12-01T17:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=d48ebf26c7dec6c3025fb9a0d21246ff7f625e96'/>
<id>d48ebf26c7dec6c3025fb9a0d21246ff7f625e96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>For issue #6030 Add test coverage for algorithms in beamsearch.py (#6087)</title>
<updated>2022-11-10T15:25:02+00:00</updated>
<author>
<name>ladykkk</name>
<email>81337892+ladykkk@users.noreply.github.com</email>
</author>
<published>2022-11-10T15:25:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=853269c74960368e5d27121b0cb97681d45a6826'/>
<id>853269c74960368e5d27121b0cb97681d45a6826</id>
<content type='text'>
* update width of test_beamsearch.py

* update width of test_beamsearch.py

* update width of test_beamsearch.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* update width of test_beamsearch.py

* update width of test_beamsearch.py

* update width of test_beamsearch.py</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://91.123.203.49/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>Add function bfs_layers to docs (#5932)</title>
<updated>2022-08-17T07:22:08+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2022-08-17T07:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=09ded6ead5a9a3bb1d5b8349518fb5add6d10ca7'/>
<id>09ded6ead5a9a3bb1d5b8349518fb5add6d10ca7</id>
<content type='text'>
Add function bfs_layers to docs. fix two doc formatting typos</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add function bfs_layers to docs. fix two doc formatting typos</pre>
</div>
</content>
</entry>
<entry>
<title>Adds ```nx.bfs_layers``` method (#5879)</title>
<updated>2022-08-05T17:39:05+00:00</updated>
<author>
<name>Dhaval Kumar</name>
<email>56940034+still-n0thing@users.noreply.github.com</email>
</author>
<published>2022-08-05T17:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=4a019f04d0e304ecd2f28b15d854e1282e03461d'/>
<id>4a019f04d0e304ecd2f28b15d854e1282e03461d</id>
<content type='text'>
* reformatted the files

* reformatted the files

* added final changes

* changed descendants_at_distance

* fixed comment in bfs_layers

* fixed comment in bfs_layers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformatted the files

* reformatted the files

* added final changes

* changed descendants_at_distance

* fixed comment in bfs_layers

* fixed comment in bfs_layers</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://91.123.203.49/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>MAINT: Update dfs_test with more comprehensive tests (#5654)</title>
<updated>2022-05-19T06:00:38+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-05-19T06:00:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=84aa3823e2904fd63178608373ffbed3096ae0d9'/>
<id>84aa3823e2904fd63178608373ffbed3096ae0d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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>
</feed>
