Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python namespace-isation #49

Open
zougloub opened this issue Aug 16, 2024 · 0 comments
Open

Python namespace-isation #49

zougloub opened this issue Aug 16, 2024 · 0 comments

Comments

@zougloub
Copy link

This relates to #5 ; small modifications to the python code would be interesting to make the code more usable and "zen":

  • Settle on a name for a package and expected installation layout
  • Add init.py in python folders and perform local imports in the code; rename test files
  • Add python packaging files

Before:

sys.path.append(some_path) # weird installation

import usb_something

After:

from wjasper.Linux_Drivers.USB.usb_something import usb_Something

I did see a fork that attempted to do something for the bluetooth drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant