yading@7
|
1 import os
|
yading@7
|
2 __author__ = "Luca De Vitis <luca@monkeython.com>"
|
yading@7
|
3 __version__ = '0.9'
|
yading@7
|
4 __copyright__ = "2011, %s " % __author__
|
yading@7
|
5 __license__ = """
|
yading@7
|
6 Copyright (C) %s
|
yading@7
|
7
|
yading@7
|
8 This program is free software: you can redistribute it and/or modify
|
yading@7
|
9 it under the terms of the GNU General Public License as published by
|
yading@7
|
10 the Free Software Foundation, either version 3 of the License, or
|
yading@7
|
11 (at your option) any later version.
|
yading@7
|
12
|
yading@7
|
13 This program is distributed in the hope that it will be useful,
|
yading@7
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
yading@7
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
yading@7
|
16 GNU General Public License for more details.
|
yading@7
|
17
|
yading@7
|
18 You should have received a copy of the GNU General Public License
|
yading@7
|
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
|
yading@7
|
20 """ % __copyright__
|
yading@7
|
21 __doc__ = """
|
yading@7
|
22 :abstract: Python interface to Musixmatch API
|
yading@7
|
23 :version: %s
|
yading@7
|
24 :author: %s
|
yading@7
|
25 :organization: Monkeython
|
yading@7
|
26 :contact: http://www.monkeython.com
|
yading@7
|
27 :copyright: %s
|
yading@7
|
28 """ % (__version__, __author__, __license__)
|
yading@7
|
29 __docformat__ = 'restructuredtext en'
|
yading@7
|
30 __classifiers__ = [
|
yading@7
|
31 'Development Status :: 4 - Beta',
|
yading@7
|
32 'Intended Audience :: Developers',
|
yading@7
|
33 'License :: OSI Approved :: GNU General Public License (GPL)',
|
yading@7
|
34 'Operating System :: OS Independent',
|
yading@7
|
35 'Topic :: Internet :: WWW/HTTP',
|
yading@7
|
36 'Topic :: Software Development :: Libraries',
|
yading@7
|
37 ]
|
yading@7
|
38 __all__ = [
|
yading@7
|
39 'ws', 'api', 'base',
|
yading@7
|
40 'artist', 'track', 'lyrics', 'subtitle', 'album'
|
yading@7
|
41 ]
|
yading@7
|
42
|
yading@7
|
43 apikey = os.environ.get('musixmatch_apikey', None)
|
yading@7
|
44 format = os.environ.get('musixmatch_format', 'json')
|