• ihf

    I reinstalled Stash and it is now working properly.

    posted in Pythonista read more
  • ihf

    Can anyone tell me why the following use of pip in stash fails:

    ~/Documents]$ pip install google-api-python-client
    Querying PyPI ...
    Error: Failed to fetch package release urls

    This works fine on OSX.

    posted in Pythonista read more
  • ihf

    Does anyone have (or know of) a script that can take a photo triggered by a sound (e.g. a word) but that does it all locally (i.e., no Siri or internet required)?

    posted in Pythonista read more
  • ihf

    @hirax i tried running your script but i am getting a syntax error on line 13.

    posted in Pythonista read more
  • ihf

    @omz Thank you for pointing out my typo —- it now works fine. Of course, the other demos require Pandas but I won’t go there :-)

    posted in Pythonista read more
  • ihf

    Can anyone help me to get this working? I tried placing my test script in site-packages/alpha_vantage but that does not help (get relative import error in timeseries).The test script looks like this:

    from timeseries import TimesSeries
    ts = TimesSeries(key='api-key’)
    # Get json object with the intraday data and another with the call's metadata
    data, meta_data = ts.get_intraday('GOOGL')
    

    posted in Pythonista read more
  • ihf

    I'm trying to get the alpha_vantage package installed and working under Pythonista. <https://github.com/RomelTorres/alpha_vantage.
    'pip install alpha_vantage works fine but there seem to be some problems running the demo:

    from alpha_vantage.timeseries import TimeSeries
    ts = TimeSeries(key='YOUR_API_KEY')
    #Get json object with the intraday data and another with the call's metadata
    data, meta_data = ts.get_intraday('GOOGL')

    If I run this (with an API_key which you can get for free), I get "cannot import name TImeSeries'. The timeseries script is in the alpha_vantage directory in Site_Packages. Can anyone see the problem?

    posted in Pythonista read more
  • ihf

    Has anyone developed anything to support the Apple Watch from Pythonista? Is this possible? Workflow has a watch complication so I suppose it might be possible to write a workflow which gets input runs a pythonista script and returns output to the watch. What would it take to do this without Workflow? While I'm dreaming, if Pythonista had a watch app that it could talk to, it could conceivably populate a face with whatever a user wanted. AFAIK such a capability is absent form the Apple Watch.

    posted in Pythonista read more
  • ihf

    That did it. Thanks!

    posted in Pythonista read more
  • ihf

    In the process of using Synchronator on multiple devices I managed to erase most of the Pythonista files on both my iPad and Dropbox. I did a Time machine restore of the directory to Dropbox and then did another Synchronator sync which brought (most) everything back to where it was. However, I just tried running the RSS script which uses the urlparse module and I'm getting a "not found" error. I'm don't know where this module comes from and how it could have gotten deleted and not restored. Can anyone please tell me how this happened and what I can do to fix it? Also, if I have a new iPhone and I want to get all of these files on it, is doing a Synchronator sync the righrt way or will this just delete everything on Dropbox (again)?

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!