Commit Graph

1823 Commits

Author SHA1 Message Date
4c02c4ea02 doc: add TODO for limit concurrency 2025-05-01 09:14:46 -06:00
4ad6975ef1 feat: push identify-push info in pararrel 2025-05-01 09:14:46 -06:00
1213710af3 lint: resolved lint issues 2025-05-01 09:14:46 -06:00
e928e6a8cd Refactor: Update test_identify_push.py removing duplicated import 2025-05-01 09:14:46 -06:00
5a05ca0124 Update identify_push_listener_dialer.py debug config lint 2025-05-01 09:14:46 -06:00
95a9bf6c53 Update identify_push_demo.py for double print and debug msgs 2025-05-01 09:14:46 -06:00
c40a1476ac Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
35905909b5 Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
6850907a32 Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
c9dd7b381a Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
91beff5e63 fix: added identify push to setup.py 2025-05-01 09:14:46 -06:00
e752629212 fix: fixing test_examples.py failing test 2025-05-01 09:14:46 -06:00
66707364a7 doc: adding identify push protocol examples and doc 2025-05-01 09:14:46 -06:00
cef73519d3 feat: identify-push protocol. initial release 2025-05-01 09:14:46 -06:00
b47f978625 bump protobuf dep to >=6.30.1 2025-04-28 19:04:29 -06:00
c416acc4bf chore: add or force update .github/workflows/generated-pr.yml 2025-04-25 05:56:13 -06:00
fcc5b662c9 chore: add or force update .github/workflows/stale.yml 2025-04-25 05:56:13 -06:00
ded8b2d765 Doc: expanding the introduction section (#566) 2025-04-23 19:33:54 -06:00
6054fd7f92 Merge pull request #574 from acul71/fix/issue-565-timedcache-test_reading_after_expiry
Fix/issue 565 timed cache test reading after expiry
2025-04-20 23:00:29 +05:30
e0a08c9a2b fix: test_timed_cache.py::test_readding_after_expiry 2025-04-20 17:11:29 +02:00
0225d188c8 Bump version: 0.2.4 → 0.2.5 2025-04-14 11:12:26 -06:00
f664d03852 Compile release notes for v0.2.5 2025-04-14 11:11:38 -06:00
bb9c8235a8 Add Windows setup and reorganize dependencies by OS in contributing.rst
Moved dependencies into Linux, macOS, and Windows sections per Paul's suggestion. Fixed reST formatting (blank lines, title underlines) to resolve Sphinx warnings from ReadTheDocs CI. Tested on Windows 10 (Python 3.11.0).
2025-04-11 18:28:38 -06:00
a1f57920a7 Add Windows development setup instructions to contributing.rst 2025-04-11 18:28:38 -06:00
293f081428 add newsfragments/559.docs.rst 2025-04-11 18:01:57 -06:00
03e2661982 modified multiplexer getting_started doc section 2025-04-11 18:01:57 -06:00
d0e997061e doc: add install and getting started documentation 2025-04-11 18:01:57 -06:00
90657a3b23 update license info in description per latest python packaging guide 2025-04-07 16:25:17 -06:00
346a0a14db Pubsub example for py-libp2p (#515)
* Initial setup for pubsup

* Created node and trying to setup gossipsub

* Fix: Use pubsub object for publishing messages instead of gossipsub

* Correct help message for port argument.

* Fix: Used pubsub object instead of gossipsub object on Client side

* Fix: handle_new_peer method of pubsub is used to connect to new peers.

* used for host.connect to connect to peers

* Corrected script for connecting to other peers.

* message receiving function created

* message publishing function created

* Refactored the code for improved clarity and maintainability.

* fix: make publish loop input non-blocking to prevent event loop blocking

* refactored the code for better user experience while publishing message

* corrected the name of protocol

* Fix: Correct the implementation of the port argument

* Added pubsub initialization

* added logging

* pubsub instance is running

* Enhance publish loop with user prompts and error handling

* Connection monitoring added

* Add key pair generation and security options to pubsub host initialization

* Refactor pubsub logging and corrected gossipsub protocol id

* Started gossipsub service

* Add dynamic port assignment

* Refactor pubsub example for CI

* feat: monitor_peer_topics function added

* Noise protocol added

* refactor: default port set to none and some logging changes.

* refactor: Add graceful shutdown with termination events

- Replace infinite loops with termination events
- Add proper shutdown handling for all loops
- Implement clean resource cleanup on exit
- Add shutdown message for better user feedback
- Update signal handling for graceful termination

* Changed import path for factories file.
- to align import statement with changes from PR 543

* Added News Fragment

* Added pub-sub demo to the console_scripts section in setup.py

* Added pubsub example to Documentation

* Fix formatting and path in PubSub documentation example

* Added pubsub example in toctree

* Added tests for pubsub example

* updated the description of pubsub example

* corrected the name of pubsub docs file

* Remove unused imports and security options from pubsub example

* Update script usage instructions in pubsub example

* Enhanced compatibility for python 3.9

* Corrected console output
2025-04-06 14:38:14 -06:00
7793e322dc Add news fragment for test_simple_last_seen_cache fix 2025-04-06 14:17:15 -06:00
eca5e526f5 Fix flaky test_simple_last_seen_cache with retry loop and docstring 2025-04-06 14:17:15 -06:00
23e05177ef docs: add newsfragment on how to add examples 2025-04-02 03:13:20 -06:00
31d0f8a79c docs: add section about adding examples to contributing guide 2025-04-02 03:13:20 -06:00
563a447244 add identify to README feature breakdown 2025-03-28 14:23:46 -06:00
46781e7fc1 update badges on README 2025-03-28 14:23:46 -06:00
71b3bf2a55 Bump version: 0.2.3 → 0.2.4 2025-03-27 15:53:49 -06:00
aec7995eba Compile release notes for v0.2.4 2025-03-27 15:53:34 -06:00
3bdbde57c7 feat: Add Windows compatibility using coincurve 2025-03-27 15:49:30 -06:00
479b12f64d Bump version: 0.2.2 → 0.2.3 2025-03-27 14:47:07 -06:00
f9b8ac9da1 Compile release notes for v0.2.3 2025-03-27 14:46:44 -06:00
1613cf02d4 fix: add missing examples/identify/__init__.py and doc docs/examples.identify.rst 2025-03-27 14:37:43 -06:00
9379deab5a add macos details, update details
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
2025-03-27 14:31:11 -06:00
4514e86ee4 move pubsub testing tools into tests/utils 2025-03-27 14:21:45 -06:00
24b2704d8c move factories to tests/utils/factories 2025-03-27 14:21:45 -06:00
95f0e84418 use console script entry for identify demo 2025-03-24 17:55:16 -06:00
604a447287 feat: add identify protocol example 2025-03-24 17:55:16 -06:00
51c7d53453 test: add test_complete_remote_address_delegation_chain 2025-03-24 08:02:21 -06:00
9350caa65c feat: Add observed addresses of remote peer using get_remote_address 2025-03-24 08:02:21 -06:00
fabf2cefc4 feat: implement get_remote_address via delegation pattern 2025-03-24 08:02:21 -06:00
798229cd3a feat: add observed_addr to identify protocol 2025-03-24 08:02:21 -06:00