Forums

Arrow package

Please consider installing the "arrow" time/date package by default. Thanks.

http://arrow.readthedocs.io/en/latest/

Sure. We're adding a bunch of packages in the next system update, and I've added that to the suggestion list -- if it's a simple install, then it will be there.

Any update on this?

It looks like we weren't able to add it in the last system update -- I've added another upvote.

You can install if for your own account, though -- in a Bash console, just run

pip3.5 install --user arrow

...changing 3.5 to the Python version you want it installed for. Alternatively, if you're using a virtualenv, just install it there. There's more information on installing modules for yourself here.

If I use the method you described, will I be able run a scheduled task of my script? (I'm getting forecast data from forecast.io and I'm parsing timestamps with this package)

Yup. Whatever you install into the console will also run for your webapps/scheduled tasks etc. (If you are using a virtualenv you will have to invoke the virtualenv python for scheduled tasks, and put it into your webapp settings for webapps)

Just a note to say that it is now installed in our recent system images (fishnchips and glastonbury). You can find out how to change your system image on this help page.