Skip to content

Commit 32cc70a

Browse files
committed
Made updates for 0.2.2
1 parent ee59b38 commit 32cc70a

File tree

3 files changed

+188
-183
lines changed

3 files changed

+188
-183
lines changed

CHANGES.txt

+28-23
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
CHANGELOG
2-
=========
3-
4-
2011-12-17, 0.2.1
5-
-----------------
6-
* Updated test coverage
7-
* Made the source code PEP8 and Pylint compatible
8-
* Updated documentation and prepared for PyPI release
9-
10-
2011-12-07, 0.2.0
11-
-----------------
12-
* Updated to support Python 2.6, 2.7 and 3.2
13-
* Made the interfaces cleaner by using collections.Mapping
14-
15-
2011-11-29, 0.1.1
16-
-----------------
17-
* Renamed the package to pytvdbapi to avoid any confusion with the official
18-
thetvdb.com service.
19-
* Updated the setup.py to use setuptools if available
20-
21-
2011-11-28, 0.1.0
22-
-----------------
23-
* Initial alpha release of the package.
1+
CHANGELOG
2+
=========
3+
4+
2012-01-05, 0.2.2
5+
-----------------
6+
* Updated author name to avoid unicode issues
7+
* Improved the documentation
8+
9+
2011-12-17, 0.2.1
10+
-----------------
11+
* Updated test coverage
12+
* Made the source code PEP8 and Pylint compatible
13+
* Updated documentation and prepared for PyPI release
14+
15+
2011-12-07, 0.2.0
16+
-----------------
17+
* Updated to support Python 2.6, 2.7 and 3.2
18+
* Made the interfaces cleaner by using collections.Mapping
19+
20+
2011-11-29, 0.1.1
21+
-----------------
22+
* Renamed the package to pytvdbapi to avoid any confusion with the official
23+
thetvdb.com service.
24+
* Updated the setup.py to use setuptools if available
25+
26+
2011-11-28, 0.1.0
27+
-----------------
28+
* Initial alpha release of the package.

pytvdbapi/__init__.py

+42-42
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
# -*- coding: utf-8 -*-
2-
3-
# Copyright 2011 Björn Larsson
4-
5-
# This file is part of pytvdbapi.
6-
#
7-
# pytvdbapi is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Lesser General Public License as published by
9-
# the Free Software Foundation, either version 3 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# pytvdbapi is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Lesser General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Lesser General Public License
18-
# along with pytvdbapi. If not, see <http://www.gnu.org/licenses/>.
19-
20-
"""
21-
A clean, resource friendly and easy to use API for thetvdb.com_.
22-
23-
.. _thetvdb.com: http://thetvdb.com
24-
"""
25-
26-
import logging
27-
try:
28-
from logging import NullHandler
29-
except ImportError:
30-
from pytvdbapi.backport import NullHandler
31-
32-
__VERSION__ = (0, 2, 1)
33-
__NAME__ = 'pytvdbapi'
34-
__EMAIL__ = '[email protected]'
35-
36-
37-
def version():
38-
"""Returns the version as a string"""
39-
return '.'.join([str(d) for d in __VERSION__])
40-
41-
# Make sure that we have a null handler on the base logger for the package
42-
logging.getLogger(__name__).addHandler(NullHandler())
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright 2011 Björn Larsson
4+
5+
# This file is part of pytvdbapi.
6+
#
7+
# pytvdbapi is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU Lesser General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# pytvdbapi is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public License
18+
# along with pytvdbapi. If not, see <http://www.gnu.org/licenses/>.
19+
20+
"""
21+
A clean, resource friendly and easy to use API for thetvdb.com_.
22+
23+
.. _thetvdb.com: http://thetvdb.com
24+
"""
25+
26+
import logging
27+
try:
28+
from logging import NullHandler
29+
except ImportError:
30+
from pytvdbapi.backport import NullHandler
31+
32+
__VERSION__ = (0, 2, 2)
33+
__NAME__ = 'pytvdbapi'
34+
__EMAIL__ = '[email protected]'
35+
36+
37+
def version():
38+
"""Returns the version as a string"""
39+
return '.'.join([str(d) for d in __VERSION__])
40+
41+
# Make sure that we have a null handler on the base logger for the package
42+
logging.getLogger(__name__).addHandler(NullHandler())

pytvdbapi/data/languages.xml

+118-118
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,118 @@
1-
<?xml version="1.0" encoding="UTF-8" ?>
2-
<Languages>
3-
<Language>
4-
<name>Dansk</name>
5-
<abbreviation>da</abbreviation>
6-
<id>10</id>
7-
</Language>
8-
<Language>
9-
<name>Suomeksi</name>
10-
<abbreviation>fi</abbreviation>
11-
<id>11</id>
12-
</Language>
13-
<Language>
14-
<name>Nederlands</name>
15-
<abbreviation>nl</abbreviation>
16-
<id>13</id>
17-
</Language>
18-
<Language>
19-
<name>Deutsch</name>
20-
<abbreviation>de</abbreviation>
21-
<id>14</id>
22-
</Language>
23-
<Language>
24-
<name>Italiano</name>
25-
<abbreviation>it</abbreviation>
26-
<id>15</id>
27-
</Language>
28-
<Language>
29-
<name>Español</name>
30-
<abbreviation>es</abbreviation>
31-
<id>16</id>
32-
</Language>
33-
<Language>
34-
<name>Français</name>
35-
<abbreviation>fr</abbreviation>
36-
<id>17</id>
37-
</Language>
38-
<Language>
39-
<name>Polski</name>
40-
<abbreviation>pl</abbreviation>
41-
<id>18</id>
42-
</Language>
43-
<Language>
44-
<name>Magyar</name>
45-
<abbreviation>hu</abbreviation>
46-
<id>19</id>
47-
</Language>
48-
<Language>
49-
<name>Ελληνικά</name>
50-
<abbreviation>el</abbreviation>
51-
<id>20</id>
52-
</Language>
53-
<Language>
54-
<name>Türkçe</name>
55-
<abbreviation>tr</abbreviation>
56-
<id>21</id>
57-
</Language>
58-
<Language>
59-
<name>русский язык</name>
60-
<abbreviation>ru</abbreviation>
61-
<id>22</id>
62-
</Language>
63-
<Language>
64-
<name> עברית</name>
65-
<abbreviation>he</abbreviation>
66-
<id>24</id>
67-
</Language>
68-
<Language>
69-
<name>日本語</name>
70-
<abbreviation>ja</abbreviation>
71-
<id>25</id>
72-
</Language>
73-
<Language>
74-
<name>Português</name>
75-
<abbreviation>pt</abbreviation>
76-
<id>26</id>
77-
</Language>
78-
<Language>
79-
<name>中文</name>
80-
<abbreviation>zh</abbreviation>
81-
<id>27</id>
82-
</Language>
83-
<Language>
84-
<name>čeština</name>
85-
<abbreviation>cs</abbreviation>
86-
<id>28</id>
87-
</Language>
88-
<Language>
89-
<name>Slovenski</name>
90-
<abbreviation>sl</abbreviation>
91-
<id>30</id>
92-
</Language>
93-
<Language>
94-
<name>Hrvatski</name>
95-
<abbreviation>hr</abbreviation>
96-
<id>31</id>
97-
</Language>
98-
<Language>
99-
<name>한국어</name>
100-
<abbreviation>ko</abbreviation>
101-
<id>32</id>
102-
</Language>
103-
<Language>
104-
<name>English</name>
105-
<abbreviation>en</abbreviation>
106-
<id>7</id>
107-
</Language>
108-
<Language>
109-
<name>Svenska</name>
110-
<abbreviation>sv</abbreviation>
111-
<id>8</id>
112-
</Language>
113-
<Language>
114-
<name>Norsk</name>
115-
<abbreviation>no</abbreviation>
116-
<id>9</id>
117-
</Language>
118-
</Languages>
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Languages>
3+
<Language>
4+
<name>Dansk</name>
5+
<abbreviation>da</abbreviation>
6+
<id>10</id>
7+
</Language>
8+
<Language>
9+
<name>Suomeksi</name>
10+
<abbreviation>fi</abbreviation>
11+
<id>11</id>
12+
</Language>
13+
<Language>
14+
<name>Nederlands</name>
15+
<abbreviation>nl</abbreviation>
16+
<id>13</id>
17+
</Language>
18+
<Language>
19+
<name>Deutsch</name>
20+
<abbreviation>de</abbreviation>
21+
<id>14</id>
22+
</Language>
23+
<Language>
24+
<name>Italiano</name>
25+
<abbreviation>it</abbreviation>
26+
<id>15</id>
27+
</Language>
28+
<Language>
29+
<name>Español</name>
30+
<abbreviation>es</abbreviation>
31+
<id>16</id>
32+
</Language>
33+
<Language>
34+
<name>Français</name>
35+
<abbreviation>fr</abbreviation>
36+
<id>17</id>
37+
</Language>
38+
<Language>
39+
<name>Polski</name>
40+
<abbreviation>pl</abbreviation>
41+
<id>18</id>
42+
</Language>
43+
<Language>
44+
<name>Magyar</name>
45+
<abbreviation>hu</abbreviation>
46+
<id>19</id>
47+
</Language>
48+
<Language>
49+
<name>Ελληνικά</name>
50+
<abbreviation>el</abbreviation>
51+
<id>20</id>
52+
</Language>
53+
<Language>
54+
<name>Türkçe</name>
55+
<abbreviation>tr</abbreviation>
56+
<id>21</id>
57+
</Language>
58+
<Language>
59+
<name>русский язык</name>
60+
<abbreviation>ru</abbreviation>
61+
<id>22</id>
62+
</Language>
63+
<Language>
64+
<name> עברית</name>
65+
<abbreviation>he</abbreviation>
66+
<id>24</id>
67+
</Language>
68+
<Language>
69+
<name>日本語</name>
70+
<abbreviation>ja</abbreviation>
71+
<id>25</id>
72+
</Language>
73+
<Language>
74+
<name>Português</name>
75+
<abbreviation>pt</abbreviation>
76+
<id>26</id>
77+
</Language>
78+
<Language>
79+
<name>中文</name>
80+
<abbreviation>zh</abbreviation>
81+
<id>27</id>
82+
</Language>
83+
<Language>
84+
<name>čeština</name>
85+
<abbreviation>cs</abbreviation>
86+
<id>28</id>
87+
</Language>
88+
<Language>
89+
<name>Slovenski</name>
90+
<abbreviation>sl</abbreviation>
91+
<id>30</id>
92+
</Language>
93+
<Language>
94+
<name>Hrvatski</name>
95+
<abbreviation>hr</abbreviation>
96+
<id>31</id>
97+
</Language>
98+
<Language>
99+
<name>한국어</name>
100+
<abbreviation>ko</abbreviation>
101+
<id>32</id>
102+
</Language>
103+
<Language>
104+
<name>English</name>
105+
<abbreviation>en</abbreviation>
106+
<id>7</id>
107+
</Language>
108+
<Language>
109+
<name>Svenska</name>
110+
<abbreviation>sv</abbreviation>
111+
<id>8</id>
112+
</Language>
113+
<Language>
114+
<name>Norsk</name>
115+
<abbreviation>no</abbreviation>
116+
<id>9</id>
117+
</Language>
118+
</Languages>

0 commit comments

Comments
 (0)