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

Make pynest installable via pip, split pynest.py into an main program and a library, and move from urllibX to requests #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rbpasker
Copy link

This looks like a fairly extensive change, but its actually rather modest and doesn't include any of my own app-specific code

  1. split pynest.py into a main program and a library. this has been done numerous times in various forks. I think my commit is the minimal necessary to make it a useful

  2. created a package for the pynest library, and pynest easily installed via pip:

    % pip install git+https://github.com/Tengah/pynest (or whatever your github repo is)

    it will now be now super easy to add pynest to https://pypi.python.org/

  3. convert urllibX to the much simpler and more modern python requests: http://www.python-requests.org/

  4. DRY'd set_fan and set_temperature

feedback welcome

FiloSottile added a commit to FiloSottile/nest_thermostat that referenced this pull request Mar 8, 2014
Make pynest installable via pip, split pynest.py into an main program and a library, and move from urllibX to requests
@FiloSottile
Copy link

Merged in my fork: https://github.com/FiloSottile/nest_thermostat

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

Successfully merging this pull request may close these issues.

2 participants