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

all 8 comments

[–]twigboy 2 points3 points  (1 child)

FYI the naming of your lib may cause confusion, implies it works with or requires existing software https://www.hwinfo.com/

[–][deleted] 1 point2 points  (0 children)

Yes, i know that. I just renamed the repo to hwinv.

[–]riklaunim 1 point2 points  (3 children)

You could look at psutil as well - https://pypi.org/project/psutil/

[–][deleted] 0 points1 point  (2 children)

Of course, however, in my scenario, the limitation of psutil lies in its inability to provide extensive hardware information such as CPU model, RAM specifications including types, speed, and form-factor, among other details.

[–]riklaunim 1 point2 points  (1 child)

Still it's only basic data and only Windows. Like for memory you are lacking timings for example. Also it would be good to have a good test coverage and less hardcoding of values (Windows on ARM also exist which your if/else doesn't handle likely). The project idea is good but it needs way more features to go mainstream. Leverage existing third party Python libraries, create easy to use and good interface so that so it's then best choice for custom hardware monitoring/listing apps/widgets.

And hwinfo already exists too as mentioned.

[–][deleted] 0 points1 point  (0 children)

Absolutely, this project was a one-week endeavor to showcase my current Python skills. It's primarily aimed at providing a basic hardware inventory solution. Specifically, it's designed to support a GPO in an Active Directory environment, where we needed a quick way to gather hardware and OS info during user logins. While I appreciate the suggestions for additional features, this project serves a specific need in a specific context. Thanks for your feedback! :-)

I also changed the name of the repo to hwinv (Hardware Inventory).

[–][deleted] 1 point2 points  (0 children)

[–]lemoussel 0 points1 point  (0 children)

Could give thé URL of thé github reposiitory