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

Release 2.6.0 #166

Merged
merged 81 commits into from Dec 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
dd2197f
Set a test API key (the one in the API call examples from OWM API web…
csparpa Mar 18, 2016
d1ffd06
Try to fix Travis Virtualenv support for Py32
csparpa Mar 18, 2016
1c9f167
Fix again
csparpa Mar 18, 2016
efa2505
Merge pull request #103 from csparpa/hotfix/#102_api_version
csparpa Mar 18, 2016
fa30756
Bump to version 2.3.1
csparpa Mar 18, 2016
95e82d6
Don't commit coverage file
csparpa Mar 18, 2016
0ef4d05
Dockerfile (#106)
csparpa Apr 23, 2016
0c39371
Update docs
csparpa Apr 23, 2016
444e8c1
Change URL of documentation to comply with new readthedocs domain
csparpa Apr 28, 2016
22a4e5f
Backporting from master branch
csparpa May 19, 2016
091da3c
Merge branch 'develop' of https://github.com/csparpa/pyowm into develop
csparpa May 21, 2016
e935e07
Refactor integration tests to use the API key specified in api_key.py
csparpa May 21, 2016
a1c49d0
Fix ValueError then sunrise_time & sunset time is less than zero when…
dorokhin May 28, 2016
5c31c54
Fix ValueError then sunrise_time & sunset time is less than zero when…
dorokhin May 28, 2016
21eccca
Fix ValueError then sunrise_time & sunset time is less than zero when…
dorokhin May 28, 2016
6bebfe3
Merge remote-tracking branch 'origin/develop' into develop
dorokhin May 28, 2016
092becf
Fix ValueError then sunrise_time & sunset time is less than zero when…
dorokhin May 28, 2016
df679db
Fix ValueError then sunrise_time & sunset time is less than zero when…
dorokhin May 28, 2016
aa34839
Messed up with Git... sunrise/sunset fix from #109 is OK now
csparpa May 30, 2016
64da44a
Sometimes Wind data is None
titilambert Jun 25, 2016
aecdeef
Merge branch 'patch-1' of https://github.com/titilambert/pyowm into t…
csparpa Jun 27, 2016
fbd37bc
Merge branch 'titilambert-patch-1' into develop
csparpa Jun 27, 2016
00334fb
Regression test for #110
csparpa Jun 27, 2016
732cba4
update with new contributor
csparpa Jun 27, 2016
f5c52c3
Fixes for #110 and #114
csparpa Jul 6, 2016
67e9139
Forgot...
csparpa Jul 6, 2016
129cf1d
Were missing
csparpa Jul 6, 2016
237ef8a
Bump to version 2.3.2
csparpa Jul 6, 2016
0cc76a5
How to install multiple python versions
csparpa Jul 6, 2016
9bf5266
Merge branch 'master' into develop
csparpa Jul 13, 2016
c692fbf
Feature/#100 python34 support (#118)
csparpa Aug 23, 2016
5910b22
added weather_history_at_coords (#89)
txemi Aug 25, 2016
41c9fcb
Add txemi and sorted alphabetically
Aug 25, 2016
58af03b
Unit tests for method: weather_history_at_coords
Aug 25, 2016
437769c
A bit too much stuff passed in as params :-p
Aug 25, 2016
c99b4b5
Feature/#121 datetime switch (#122)
csparpa Aug 25, 2016
d597b38
Merge confilicts
csparpa Aug 25, 2016
ebf2daf
Added support for unicode place names (#86)
LukasBoersma Aug 25, 2016
ceb7f74
Merge
csparpa Aug 25, 2016
6635bf5
Update
Aug 25, 2016
eaf66ca
Better checks for visibility distance - credits to @dstmar
Aug 26, 2016
6091797
Feature/#112 weather by ids (#123)
csparpa Aug 26, 2016
7b1ee25
Vast refactoring
Aug 29, 2016
aefe3ac
Update city ID files and prepare for release 2.4.0
csparpa Aug 29, 2016
9591626
Back ported from master branch
Sep 2, 2016
bb11b93
Slack team
Sep 14, 2016
420900b
Possible fix for Unicode names (#127)
csparpa Sep 17, 2016
2b4a157
Update link to OWM API docs
Sep 19, 2016
f51b611
Merge branch 'develop' of https://github.com/csparpa/pyowm into develop
Sep 19, 2016
1e839d1
Add timezone info (#128)
csparpa Sep 20, 2016
86accf6
tests and doc for string/unicode-handling functions in OWM25
Sep 28, 2016
87cfbe6
Feature/#93 uv index api (#131)
csparpa Sep 30, 2016
8f12fa1
Feature/#129 air pollution api (#134)
csparpa Oct 10, 2016
52bd05c
better indentation
Oct 10, 2016
8f60772
Slight change
Oct 10, 2016
073718c
Update version, prepare for dumping version
Oct 10, 2016
7366a59
Remove dead code
Oct 10, 2016
03d48d0
Docstring fixes
Oct 10, 2016
73b02bd
Fix docstrings more
Oct 10, 2016
8b3b201
Fix erorr
Oct 10, 2016
e4e9aeb
Fix merge conflicts
csparpa Oct 10, 2016
a5df034
Improve dockerfile
Oct 11, 2016
404dba5
Backport from master branch
Oct 11, 2016
a834c66
#130 done (#139)
csparpa Oct 28, 2016
be8c88b
Feature/#140 add zip code method (#142)
alechewitt Nov 2, 2016
1332b83
Bugfix
Nov 2, 2016
9fa4337
#138 django models (#144)
csparpa Nov 4, 2016
559a429
Shorten README, linking to new Wiki pages
csparpa Nov 4, 2016
1e1e49f
Port back from master branch and add document
csparpa Nov 8, 2016
0766485
Port back from master branch
csparpa Nov 10, 2016
78d9252
More contributors, more fun!
csparpa Nov 29, 2016
0cb42ec
Fix #149
csparpa Nov 29, 2016
653846e
better name indeed
csparpa Nov 29, 2016
03d02ed
Fix bug #152
csparpa Nov 29, 2016
4477d62
Deprecation decorator (#155)
csparpa Dec 1, 2016
9aaa5c3
#153 registry multiple matches (#157)
csparpa Dec 7, 2016
2a22e4b
Restore string versions and add deprecations (#161)
csparpa Dec 16, 2016
efa6fea
Add tox coverage for Python3.6
csparpa Dec 21, 2016
1542e3b
#162 better docs (#165)
csparpa Dec 21, 2016
c22aaac
Fix broken links and add usage examples for CityID Registry
csparpa Dec 21, 2016
c801134
Prepare dump for 2.6.0
csparpa Dec 21, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -11,3 +11,5 @@ sphinx/_build/*
.idea/*
.tox/*
.coverage
tests/functional/.tox/*
.cache
6 changes: 6 additions & 0 deletions CONTRIBUTORS.md
Expand Up @@ -5,9 +5,11 @@ Contributors will be shown in alphabetical order

Code
----
* [alechewitt] (https://github.com/alechewitt)
* [dphildebrandt] (https://github.com/dphildebrandt)
* [dstmar] (https://github.com/dstmar)
* [ggstuart] (https://github.com/ggstuart)
* [lardconcepts] (https://github.com/lardconcepts)
* [liato] (https://github.com/liato)
* [LukasBoersma] (https://github.com/LukasBoersma)
* [Noid] (https://github.com/n0id)
Expand All @@ -18,6 +20,10 @@ Testing
-------
* [Samuel Yap] (https://github.com/samuelyap)

Packaging and Distribution
--------------------------
* [Diapente] (]https://github.com/Diapente)

Wiki
----
* [richarddunks] (https://github.com/richarddunks)
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Expand Up @@ -7,13 +7,15 @@ RUN apt-get update && \
RUN echo -ne '\n' | apt-add-repository ppa:fkrull/deadsnakes
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install python2.7 python3.2 python3.3 python3.5 python-pip -y
apt-get install python2.7 python3.2 python3.3 python3.5 python-pip \
ipython ipython3 -y
RUN wget https://bootstrap.pypa.io/ez_setup.py -O - | python && \
wget https://bootstrap.pypa.io/ez_setup.py -O - | python3

ADD . /pyowm
WORKDIR /pyowm

RUN pip install -r /pyowm/dev-requirements.txt
RUN pip install --upgrade setuptools pip && \
pip install -r /pyowm/dev-requirements.txt

CMD tail -f /dev/null
43 changes: 17 additions & 26 deletions README.md
Expand Up @@ -11,13 +11,18 @@ PyOWM is a client Python wrapper library for the OpenWeatherMap (OWM) web API.

It allows quick and easy consumption of OWM weather data from Python applications via a simple object model and in a human-friendly fashion.

No additional libraries are requested: only the Python standard library modules.
PyOWM runs on Python 2.7 and Python 3.2+, and integrates with [Django 1.10+ models](https://github.com/csparpa/pyowm/wiki/Django-support).

## Support

PyOWM currently supports _version 2.5_ of the OWM API
## Installation

Install with `pip` for your ease:

```shell
$ pip install pyowm
```

PyOWM runs on Python 2.7 and Python 3.2+
There is a lot of alternatives: [setuptools](https://github.com/csparpa/pyowm/wiki/Install#install-from-source-with-setuptools), [Windows installers](https://github.com/csparpa/pyowm/wiki/Install#windows-exe) and common package managers such as [Yaourt](https://github.com/csparpa/pyowm/wiki/Install#on-archlinux-with-yaourt)

## Usage

Expand All @@ -37,7 +42,7 @@ import pyowm

owm = pyowm.OWM('your-API-key') # You MUST provide a valid API key

# You have a pro subscription? Use:
# Have a pro subscription? Then use:
# owm = pyowm.OWM(API_key='your-API-key', subscription_type='pro')

# Will it be sunny tomorrow at this time in Milan (Italy) ?
Expand All @@ -61,38 +66,20 @@ w.get_temperature('celsius') # {'temp_max': 10.5, 'temp': 9.7, 'temp_min': 9.0}
observation_list = owm.weather_around_coords(-22.57, -43.12)
```

## Installation

Use `pip` for your ease:

```shell
$ pip install pyowm
```

There is a lot of alternatives: [setuptools](https://github.com/csparpa/pyowm/wiki/Install#install-from-source-with-setuptools),
[Windows installers](https://github.com/csparpa/pyowm/wiki/Install#windows-exe) and
common package managers such as [Yaourt](https://github.com/csparpa/pyowm/wiki/Install#on-archlinux-with-yaourt)
PyOWM usage examples are available [here](https://github.com/csparpa/pyowm/blob/master/pyowm/docs/usage-examples.md).

## Documentation
Each release has its own changelog on the [changelogs wiki page](https://github.com/csparpa/pyowm/wiki/Changelog).

PyOWM usage examples are available in [the wiki](https://github.com/csparpa/pyowm/wiki/Usage-examples).
Each release has its own [changelog](https://github.com/csparpa/pyowm/wiki/Changelog).

The library API documentation is available on [Read the Docs](https://pyowm.readthedocs.org).


## License
[MIT](https://github.com/csparpa/pyowm/blob/master/LICENSE) license


## Contributing

## Development
_Contributors (code, testing, issues reporting) are welcome!_.
_Contributors (coding, testing, packaging, reporting issues) are welcome!_.

See the [notes on development](https://github.com/csparpa/pyowm/wiki/Notes-on-development) wiki page to get started.

### Testing
See the [notes on testing](https://github.com/csparpa/pyowm/wiki/Notes-on-testing) wiki page to get started


Expand All @@ -104,3 +91,7 @@ Join the [PyOWM public Slack team](https://pyowm.slack.com) by signing up [here]
* If you liked PyOWM, [consider giving me a tip](https://gratipay.com/csparpa)!
* [OpenWeatherMap website](http://openweathermap.org/)
* [OpenWeatherMap web API docs](http://openweathermap.org/api)


## License
[MIT license](https://github.com/csparpa/pyowm/blob/master/LICENSE)
3 changes: 3 additions & 0 deletions dev-requirements.txt
@@ -1,4 +1,7 @@
coverage==3.7.1
django==1.10.2
pytest==3.0.3
Sphinx==1.2.1
tox==1.9.2
virtualenv==12.0.7
twine==1.8.1
134 changes: 0 additions & 134 deletions docs/build.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/docker.md

This file was deleted.