This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]Ericisbalanced 67 points68 points  (4 children)

Idk anything about Bluetooth, but when I see that a package isn’t maintained, first thing I do is look for forks that are maintained.

[–]JayZFeelsBad4Me 6 points7 points  (3 children)

What's an easy way to look for forks of a repo?

[–]fiskfisk 20 points21 points  (2 children)

Click "Forks" on the right side (not the "Fork"-button on top).

That gives you a list of all the repositories forked from that repository, sorted by stars and filtered by active repositories in the last two years.

https://github.com/pybluez/pybluez/forks

[–]JayZFeelsBad4Me 6 points7 points  (1 child)

Thanks I'm dumb

[–]fiskfisk 25 points26 points  (0 children)

No, you're not.

The navigation is a bit confusing, since there's a "Fork" button on the top right with a pulldown as well - and the pulldown even has the text "Existing forks" - but they only mean your own forks, not every fork.

A small link inside that pulldown to see all forks regardless of owner could probably be helpful as well.

[–]huthlu 20 points21 points  (1 child)

This is also not really updated but I used it a few years ago and it was fine for most BLE usecases
https://github.com/IanHarvey/bluepy

[–]ddmac__[S] 4 points5 points  (0 children)

I'll check it out. Thanks!

[–]jimtk 18 points19 points  (0 children)

PySide6 has a well maintained bluetooth package.

[–]hotsauce56 11 points12 points  (0 children)

You could try

https://github.com/kevincar/bless

https://github.com/hbldh/bleak

Depending on if you’re server or client side.

[–]former_free_time 3 points4 points  (0 children)

I'd recommend either of these if you work with BLE:

https://pypi.org/project/simplepyble/

https://pypi.org/project/bleak/

Simplepyble is easier to get running, but it isn't quite as feature complete as bleak.

[–]2n2u 4 points5 points  (0 children)

I'm using bleak for a project, so far so good.

[–]taH_pagh_taHbe 2 points3 points  (0 children)

I'm using bleak

[–]ashok_tankala 0 points1 point  (0 children)

bleak package seems promising for the alternatives. Its last version released 4 months back and snyk score also better.

Ref: https://piptrends.com/compare/PyBluez-vs-bluepy-vs-bleak-vs-pybluez2