bskari / pi-rc

Turn your Raspberry Pi into a radio controller for RC toys.
GNU General Public License v2.0
139 stars 38 forks source link

Convert into a Python package #10

Open bskari opened 9 years ago

bskari commented 9 years ago

It would be a lot easier for people if this project was converted into a Python package that was installable through Pip or easy_install. Plus, then people could just write plain-old Python and not have to worry about starting a remote server and formatting and sending JSON messages to it over UDP. For example, see RPIO and their GitHub project.

ghost commented 9 years ago

I'm sure we'll be able to do this.

ghost commented 9 years ago

You know, we could add a part in the python code that launches the server - which is what I did with my CAD project.

bskari commented 9 years ago

Yeah, I think that's a decent idea. I'd still like to make this a full package and upload it to PyPi so that people don't have to worry about compiling stuff, or starting (and remembering to kill) an external process, and they could use it with virtualenv.

In any case, this would be a rather large breaking change, so I'm going to try to do this in a separate feature branch. I still don't have Internet access at my house, so I'm not sure when I'll be able to get started on this, but I would love your help when I get this started. Or you could start it. I've never made a Python package before so it's going to be a learning experience for me too.

ghost commented 9 years ago

I agree with making it in a seperate branch as I rely on the structure of the current Pi-RC, for my CAD project. I haven't built a Python Package before, either - still fairly new to Python too. I started getting into Python when I got my CAD (just over a month ago).

I'd feel more comfortable if you start the new project off as I have to go to college, which is time consuming in itself.

I'll definitely help with the project once it gets started. I too will take a look into Python Packages, when I get the time to.

As you currently have issues with connecting to the net, have you tried tethering to a cell phone? I do it in some circumstances.

TheKitDev commented 4 years ago

I'd love to see this actually happen, anyone still working on this?