GitXplorerGitXplorer
B

displayforecastio

public
11 stars
10 forks
0 issues

Commits

List of commits on branch master.
Verified
2ed17eaca64616a55efd7bec4199626a36e38d9e

Merge pull request #3 from Bachmann1234/dependabot/pip/requests-2.32.0

BBachmann1234 committed 8 months ago
Verified
ec763d1ffef3d5983acb60624d81476ad36fc429

---

ddependabot[bot] committed 8 months ago
Verified
ad0768f14487832e26ff2292e84c54fb84acc05f

Merge pull request #2 from Bachmann1234/dependabot/pip/requests-2.31.0

BBachmann1234 committed 2 years ago
Verified
27901710b1f3865109e86db52d5f056ea16b7109

Bump requests from 2.20.0 to 2.31.0

ddependabot[bot] committed 2 years ago
Verified
c4f15994fbfa60a6d85a9bded023c8accaab7979

Merge pull request #1 from Bachmann1234/dependabot/pip/requests-2.20.0

BBachmann1234 committed 5 years ago
Verified
0f12e5b86126dd01608be85e6266e6efc4f41ed4

Bump requests from 2.8.1 to 2.20.0

ddependabot[bot] committed 5 years ago

README

The README file for this repository.

Terminal Weather

This project served as the example for this Boston Python Talk <https://goo.gl/7T0CMP>_

Display the weather in your terminal!

This project is designed to show off a standard python project structure

To work it assumes you have the FORECAST_API environment variable set to be your Forecast.io <https://developer.forecast.io/>_ api key.

.. code:: bash

export FORECAST_API="<your key here>"

Installation:

.. code:: bash

pip install displayforcastio

This app takes two args. A latitude and a longitude. Example usage with output is below

.. code:: python

forecastio 42.3907 -71.1157
Currently: rain - Drizzle on Saturday and Tuesday, with temperatures peaking at 59°F on Friday.

Setting up a development environment. I assume python 3.5.0 is installed. Though python 2.7.10 should work as well.

.. code:: bash

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r test-requirements.txt

Run the tests to ensure this all worked try running the tests. Like running the app one test requires the FORCAST_API environment variable to be set

.. code:: bash

py.test tests