Skip to content
This repository
Browse code

update

  • Loading branch information...
commit 2b0e4db12ff045f80d4b397effa173a7adad2e0b 1 parent 367d2e4
authored October 16, 2010

Showing 79 changed files with 5,494 additions and 387 deletions. Show diff stats Hide diff stats

  1. 2  AUTHORS
  2. 130  doc/Makefile
  3. BIN  doc/build/doctrees/artist.doctree
  4. BIN  doc/build/doctrees/catalog.doctree
  5. BIN  doc/build/doctrees/config.doctree
  6. BIN  doc/build/doctrees/environment.pickle
  7. BIN  doc/build/doctrees/index.doctree
  8. BIN  doc/build/doctrees/playlist.doctree
  9. BIN  doc/build/doctrees/proxies.doctree
  10. BIN  doc/build/doctrees/song.doctree
  11. BIN  doc/build/doctrees/track.doctree
  12. BIN  doc/build/doctrees/util.doctree
  13. 4  doc/build/html/.buildinfo
  14. 13  doc/build/html/_sources/artist.txt
  15. 5  doc/build/html/_sources/catalog.txt
  16. 5  doc/build/html/_sources/config.txt
  17. 30  doc/build/html/_sources/index.txt
  18. 5  doc/build/html/_sources/playlist.txt
  19. 5  doc/build/html/_sources/proxies.txt
  20. 11  doc/build/html/_sources/song.txt
  21. 5  doc/build/html/_sources/track.txt
  22. 5  doc/build/html/_sources/util.txt
  23. 509  doc/build/html/_static/basic.css
  24. 256  doc/build/html/_static/default.css
  25. 247  doc/build/html/_static/doctools.js
  26. BIN  doc/build/html/_static/file.png
  27. 154  doc/build/html/_static/jquery.js
  28. BIN  doc/build/html/_static/minus.png
  29. BIN  doc/build/html/_static/plus.png
  30. 62  doc/build/html/_static/pygments.css
  31. 518  doc/build/html/_static/searchtools.js
  32. 148  doc/build/html/_static/sidebar.js
  33. 16  doc/build/html/_static/underscore.js
  34. 431  doc/build/html/artist.html
  35. 178  doc/build/html/catalog.html
  36. 118  doc/build/html/config.html
  37. 238  doc/build/html/genindex.html
  38. 134  doc/build/html/index.html
  39. BIN  doc/build/html/objects.inv
  40. 148  doc/build/html/playlist.html
  41. 107  doc/build/html/proxies.html
  42. 123  doc/build/html/py-modindex.html
  43. 102  doc/build/html/search.html
  44. 1  doc/build/html/searchindex.js
  45. 243  doc/build/html/song.html
  46. 164  doc/build/html/track.html
  47. 118  doc/build/html/util.html
  48. 4  doc/pyechonest.__init__.html
  49. 329  doc/pyechonest.artist.html
  50. 114  doc/pyechonest.catalog.html
  51. 4  doc/pyechonest.config.html
  52. 13  doc/pyechonest.html
  53. 6  doc/pyechonest.playlist.html
  54. 33  doc/pyechonest.proxies.html
  55. 4  doc/pyechonest.results.html
  56. 66  doc/pyechonest.song.html
  57. 89  doc/pyechonest.track.html
  58. 16  doc/pyechonest.util.html
  59. 13  doc/source/artist.rst
  60. 5  doc/source/catalog.rst
  61. 270  doc/source/conf.py
  62. 5  doc/source/config.rst
  63. 30  doc/source/index.rst
  64. 5  doc/source/playlist.rst
  65. 5  doc/source/proxies.rst
  66. 11  doc/source/song.rst
  67. 5  doc/source/track.rst
  68. 5  doc/source/util.rst
  69. 7  generate_docs.sh
  70. 2  pyechonest/__init__.py
  71. 217  pyechonest/artist.py
  72. 97  pyechonest/catalog.py
  73. 22  pyechonest/playlist.py
  74. 49  pyechonest/proxies.py
  75. 82  pyechonest/song.py
  76. 87  pyechonest/track.py
  77. 39  pyechonest/util.py
  78. 7  setup.cfg
  79. 5  setup.py
2  AUTHORS
@@ -3,6 +3,6 @@ pyechonest. The names are sorted alphabetically by last name.
3 3
 
4 4
 Reid Draper
5 5
 Ben Lacker
6  
-Scotty Vercoe
  6
+Scotty Verco
7 7
 Tyler Williams
8 8
 Brian Whitman
130  doc/Makefile
... ...
@@ -0,0 +1,130 @@
  1
+# Makefile for Sphinx documentation
  2
+#
  3
+
  4
+# You can set these variables from the command line.
  5
+SPHINXOPTS    =
  6
+SPHINXBUILD   = sphinx-build
  7
+PAPER         =
  8
+BUILDDIR      = build
  9
+
  10
+# Internal variables.
  11
+PAPEROPT_a4     = -D latex_paper_size=a4
  12
+PAPEROPT_letter = -D latex_paper_size=letter
  13
+ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
  14
+
  15
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
  16
+
  17
+help:
  18
+	@echo "Please use \`make <target>' where <target> is one of"
  19
+	@echo "  html       to make standalone HTML files"
  20
+	@echo "  dirhtml    to make HTML files named index.html in directories"
  21
+	@echo "  singlehtml to make a single large HTML file"
  22
+	@echo "  pickle     to make pickle files"
  23
+	@echo "  json       to make JSON files"
  24
+	@echo "  htmlhelp   to make HTML files and a HTML help project"
  25
+	@echo "  qthelp     to make HTML files and a qthelp project"
  26
+	@echo "  devhelp    to make HTML files and a Devhelp project"
  27
+	@echo "  epub       to make an epub"
  28
+	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
  29
+	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
  30
+	@echo "  text       to make text files"
  31
+	@echo "  man        to make manual pages"
  32
+	@echo "  changes    to make an overview of all changed/added/deprecated items"
  33
+	@echo "  linkcheck  to check all external links for integrity"
  34
+	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
  35
+
  36
+clean:
  37
+	-rm -rf $(BUILDDIR)/*
  38
+
  39
+html:
  40
+	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
  41
+	@echo
  42
+	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
  43
+
  44
+dirhtml:
  45
+	$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
  46
+	@echo
  47
+	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
  48
+
  49
+singlehtml:
  50
+	$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
  51
+	@echo
  52
+	@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
  53
+
  54
+pickle:
  55
+	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
  56
+	@echo
  57
+	@echo "Build finished; now you can process the pickle files."
  58
+
  59
+json:
  60
+	$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
  61
+	@echo
  62
+	@echo "Build finished; now you can process the JSON files."
  63
+
  64
+htmlhelp:
  65
+	$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
  66
+	@echo
  67
+	@echo "Build finished; now you can run HTML Help Workshop with the" \
  68
+	      ".hhp project file in $(BUILDDIR)/htmlhelp."
  69
+
  70
+qthelp:
  71
+	$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
  72
+	@echo
  73
+	@echo "Build finished; now you can run "qcollectiongenerator" with the" \
  74
+	      ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
  75
+	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pyechonest.qhcp"
  76
+	@echo "To view the help file:"
  77
+	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pyechonest.qhc"
  78
+
  79
+devhelp:
  80
+	$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
  81
+	@echo
  82
+	@echo "Build finished."
  83
+	@echo "To view the help file:"
  84
+	@echo "# mkdir -p $$HOME/.local/share/devhelp/pyechonest"
  85
+	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pyechonest"
  86
+	@echo "# devhelp"
  87
+
  88
+epub:
  89
+	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
  90
+	@echo
  91
+	@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
  92
+
  93
+latex:
  94
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
  95
+	@echo
  96
+	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
  97
+	@echo "Run \`make' in that directory to run these through (pdf)latex" \
  98
+	      "(use \`make latexpdf' here to do that automatically)."
  99
+
  100
+latexpdf:
  101
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
  102
+	@echo "Running LaTeX files through pdflatex..."
  103
+	make -C $(BUILDDIR)/latex all-pdf
  104
+	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
  105
+
  106
+text:
  107
+	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
  108
+	@echo
  109
+	@echo "Build finished. The text files are in $(BUILDDIR)/text."
  110
+
  111
+man:
  112
+	$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
  113
+	@echo
  114
+	@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
  115
+
  116
+changes:
  117
+	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
  118
+	@echo
  119
+	@echo "The overview file is in $(BUILDDIR)/changes."
  120
+
  121
+linkcheck:
  122
+	$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
  123
+	@echo
  124
+	@echo "Link check complete; look for any errors in the above output " \
  125
+	      "or in $(BUILDDIR)/linkcheck/output.txt."
  126
+
  127
+doctest:
  128
+	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
  129
+	@echo "Testing of doctests in the sources finished, look at the " \
  130
+	      "results in $(BUILDDIR)/doctest/output.txt."
BIN  doc/build/doctrees/artist.doctree
Binary file not shown
BIN  doc/build/doctrees/catalog.doctree
Binary file not shown
BIN  doc/build/doctrees/config.doctree
Binary file not shown
BIN  doc/build/doctrees/environment.pickle
Binary file not shown
BIN  doc/build/doctrees/index.doctree
Binary file not shown
BIN  doc/build/doctrees/playlist.doctree
Binary file not shown
BIN  doc/build/doctrees/proxies.doctree
Binary file not shown
BIN  doc/build/doctrees/song.doctree
Binary file not shown
BIN  doc/build/doctrees/track.doctree
Binary file not shown
BIN  doc/build/doctrees/util.doctree
Binary file not shown
4  doc/build/html/.buildinfo
... ...
@@ -0,0 +1,4 @@
  1
+# Sphinx build info version 1
  2
+# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
  3
+config: 
  4
+tags: 
13  doc/build/html/_sources/artist.txt
... ...
@@ -0,0 +1,13 @@
  1
+Artist -- artist methods
  2
+=========================
  3
+
  4
+.. autoclass:: pyechonest.artist.Artist
  5
+   :members:
  6
+
  7
+.. automethod:: pyechonest.artist.search 
  8
+
  9
+.. automethod:: pyechonest.artist.top_hottt 
  10
+
  11
+.. automethod:: pyechonest.artist.top_terms 
  12
+
  13
+.. automethod:: pyechonest.artist.similar
5  doc/build/html/_sources/catalog.txt
... ...
@@ -0,0 +1,5 @@
  1
+Catalog -- catalog methods
  2
+==========================
  3
+
  4
+.. autoclass:: pyechonest.catalog.Catalog
  5
+   :members:
5  doc/build/html/_sources/config.txt
... ...
@@ -0,0 +1,5 @@
  1
+Config -- configuration file
  2
+============================
  3
+
  4
+.. automodule:: pyechonest.config
  5
+   :members:
30  doc/build/html/_sources/index.txt
... ...
@@ -0,0 +1,30 @@
  1
+Welcome to pyechonest's documentation!
  2
+======================================
  3
+
  4
+Contents:
  5
+
  6
+.. toctree::
  7
+   :maxdepth: 3
  8
+   
  9
+   artist
  10
+   
  11
+   song
  12
+   
  13
+   track
  14
+   
  15
+   playlist
  16
+   
  17
+   catalog
  18
+   
  19
+   util
  20
+   
  21
+   config
  22
+   
  23
+   proxies
  24
+
  25
+Indices and tables
  26
+==================
  27
+
  28
+* :ref:`genindex`
  29
+* :ref:`modindex`
  30
+* :ref:`search`
5  doc/build/html/_sources/playlist.txt
... ...
@@ -0,0 +1,5 @@
  1
+Playlist -- playlist methods
  2
+============================
  3
+
  4
+.. autoclass:: pyechonest.playlist.Playlist
  5
+   :members:
5  doc/build/html/_sources/proxies.txt
... ...
@@ -0,0 +1,5 @@
  1
+Proxies -- object proxies
  2
+=========================
  3
+
  4
+.. automodule:: pyechonest.proxies
  5
+   :members:
11  doc/build/html/_sources/song.txt
... ...
@@ -0,0 +1,11 @@
  1
+Song -- song methods
  2
+=========================
  3
+
  4
+.. autoclass:: pyechonest.song.Song
  5
+   :members:
  6
+
  7
+.. automethod:: pyechonest.song.identify
  8
+                           
  9
+.. automethod:: pyechonest.song.search
  10
+                           
  11
+.. automethod:: pyechonest.song.profile
5  doc/build/html/_sources/track.txt
... ...
@@ -0,0 +1,5 @@
  1
+Track -- track methods
  2
+=========================
  3
+
  4
+.. autoclass:: pyechonest.track.Track
  5
+   :members:
5  doc/build/html/_sources/util.txt
... ...
@@ -0,0 +1,5 @@
  1
+Util -- utility functions
  2
+=========================
  3
+
  4
+.. automodule:: pyechonest.util
  5
+   :members:
509  doc/build/html/_static/basic.css
... ...
@@ -0,0 +1,509 @@
  1
+/*
  2
+ * basic.css
  3
+ * ~~~~~~~~~
  4
+ *
  5
+ * Sphinx stylesheet -- basic theme.
  6
+ *
  7
+ * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
  8
+ * :license: BSD, see LICENSE for details.
  9
+ *
  10
+ */
  11
+
  12
+/* -- main layout ----------------------------------------------------------- */
  13
+
  14
+div.clearer {
  15
+    clear: both;
  16
+}
  17
+
  18
+/* -- relbar ---------------------------------------------------------------- */
  19
+
  20
+div.related {
  21
+    width: 100%;
  22
+    font-size: 90%;
  23
+}
  24
+
  25
+div.related h3 {
  26
+    display: none;
  27
+}
  28
+
  29
+div.related ul {
  30
+    margin: 0;
  31
+    padding: 0 0 0 10px;
  32
+    list-style: none;
  33
+}
  34
+
  35
+div.related li {
  36
+    display: inline;
  37
+}
  38
+
  39
+div.related li.right {
  40
+    float: right;
  41
+    margin-right: 5px;
  42
+}
  43
+
  44
+/* -- sidebar --------------------------------------------------------------- */
  45
+
  46
+div.sphinxsidebarwrapper {
  47
+    padding: 10px 5px 0 10px;
  48
+}
  49
+
  50
+div.sphinxsidebar {
  51
+    float: left;
  52
+    width: 230px;
  53
+    margin-left: -100%;
  54
+    font-size: 90%;
  55
+}
  56
+
  57
+div.sphinxsidebar ul {
  58
+    list-style: none;
  59
+}
  60
+
  61
+div.sphinxsidebar ul ul,
  62
+div.sphinxsidebar ul.want-points {
  63
+    margin-left: 20px;
  64
+    list-style: square;
  65
+}
  66
+
  67
+div.sphinxsidebar ul ul {
  68
+    margin-top: 0;
  69
+    margin-bottom: 0;
  70
+}
  71
+
  72
+div.sphinxsidebar form {
  73
+    margin-top: 10px;
  74
+}
  75
+
  76
+div.sphinxsidebar input {
  77
+    border: 1px solid #98dbcc;
  78
+    font-family: sans-serif;
  79
+    font-size: 1em;
  80
+}
  81
+
  82
+img {
  83
+    border: 0;
  84
+}
  85
+
  86
+/* -- search page ----------------------------------------------------------- */
  87
+
  88
+ul.search {
  89
+    margin: 10px 0 0 20px;
  90
+    padding: 0;
  91
+}
  92
+
  93
+ul.search li {
  94
+    padding: 5px 0 5px 20px;
  95
+    background-image: url(file.png);
  96
+    background-repeat: no-repeat;
  97
+    background-position: 0 7px;
  98
+}
  99
+
  100
+ul.search li a {
  101
+    font-weight: bold;
  102
+}
  103
+
  104
+ul.search li div.context {
  105
+    color: #888;
  106
+    margin: 2px 0 0 30px;
  107
+    text-align: left;
  108
+}
  109
+
  110
+ul.keywordmatches li.goodmatch a {
  111
+    font-weight: bold;
  112
+}
  113
+
  114
+/* -- index page ------------------------------------------------------------ */
  115
+
  116
+table.contentstable {
  117
+    width: 90%;
  118
+}
  119
+
  120
+table.contentstable p.biglink {
  121
+    line-height: 150%;
  122
+}
  123
+
  124
+a.biglink {
  125
+    font-size: 1.3em;
  126
+}
  127
+
  128
+span.linkdescr {
  129
+    font-style: italic;
  130
+    padding-top: 5px;
  131
+    font-size: 90%;
  132
+}
  133
+
  134
+/* -- general index --------------------------------------------------------- */
  135
+
  136
+table.indextable {
  137
+    width: 100%;
  138
+}
  139
+
  140
+table.indextable td {
  141
+    text-align: left;
  142
+    vertical-align: top;
  143
+}
  144
+
  145
+table.indextable dl, table.indextable dd {
  146
+    margin-top: 0;
  147
+    margin-bottom: 0;
  148
+}
  149
+
  150
+table.indextable tr.pcap {
  151
+    height: 10px;
  152
+}
  153
+
  154
+table.indextable tr.cap {
  155
+    margin-top: 10px;
  156
+    background-color: #f2f2f2;
  157
+}
  158
+
  159
+img.toggler {
  160
+    margin-right: 3px;
  161
+    margin-top: 3px;
  162
+    cursor: pointer;
  163
+}
  164
+
  165
+div.modindex-jumpbox {
  166
+    border-top: 1px solid #ddd;
  167
+    border-bottom: 1px solid #ddd;
  168
+    margin: 1em 0 1em 0;
  169
+    padding: 0.4em;
  170
+}
  171
+
  172
+div.genindex-jumpbox {
  173
+    border-top: 1px solid #ddd;
  174
+    border-bottom: 1px solid #ddd;
  175
+    margin: 1em 0 1em 0;
  176
+    padding: 0.4em;
  177
+}
  178
+
  179
+/* -- general body styles --------------------------------------------------- */
  180
+
  181
+a.headerlink {
  182
+    visibility: hidden;
  183
+}
  184
+
  185
+h1:hover > a.headerlink,
  186
+h2:hover > a.headerlink,
  187
+h3:hover > a.headerlink,
  188
+h4:hover > a.headerlink,
  189
+h5:hover > a.headerlink,
  190
+h6:hover > a.headerlink,
  191
+dt:hover > a.headerlink {
  192
+    visibility: visible;
  193
+}
  194
+
  195
+div.body p.caption {
  196
+    text-align: inherit;
  197
+}
  198
+
  199
+div.body td {
  200
+    text-align: left;
  201
+}
  202
+
  203
+.field-list ul {
  204
+    padding-left: 1em;
  205
+}
  206
+
  207
+.first {
  208
+    margin-top: 0 !important;
  209
+}
  210
+
  211
+p.rubric {
  212
+    margin-top: 30px;
  213
+    font-weight: bold;
  214
+}
  215
+
  216
+.align-left {
  217
+    text-align: left;
  218
+}
  219
+
  220
+.align-center {
  221
+    clear: both;
  222
+    text-align: center;
  223
+}
  224
+
  225
+.align-right {
  226
+    text-align: right;
  227
+}
  228
+
  229
+/* -- sidebars -------------------------------------------------------------- */
  230
+
  231
+div.sidebar {
  232
+    margin: 0 0 0.5em 1em;
  233
+    border: 1px solid #ddb;
  234
+    padding: 7px 7px 0 7px;
  235
+    background-color: #ffe;
  236
+    width: 40%;
  237
+    float: right;
  238
+}
  239
+
  240
+p.sidebar-title {
  241
+    font-weight: bold;
  242
+}
  243
+
  244
+/* -- topics ---------------------------------------------------------------- */
  245
+
  246
+div.topic {
  247
+    border: 1px solid #ccc;
  248
+    padding: 7px 7px 0 7px;
  249
+    margin: 10px 0 10px 0;
  250
+}
  251
+
  252
+p.topic-title {
  253
+    font-size: 1.1em;
  254
+    font-weight: bold;
  255
+    margin-top: 10px;
  256
+}
  257
+
  258
+/* -- admonitions ----------------------------------------------------------- */
  259
+
  260
+div.admonition {
  261
+    margin-top: 10px;
  262
+    margin-bottom: 10px;
  263
+    padding: 7px;
  264
+}
  265
+
  266
+div.admonition dt {
  267
+    font-weight: bold;
  268
+}
  269
+
  270
+div.admonition dl {
  271
+    margin-bottom: 0;
  272
+}
  273
+
  274
+p.admonition-title {
  275
+    margin: 0px 10px 5px 0px;
  276
+    font-weight: bold;
  277
+}
  278
+
  279
+div.body p.centered {
  280
+    text-align: center;
  281
+    margin-top: 25px;
  282
+}
  283
+
  284
+/* -- tables ---------------------------------------------------------------- */
  285
+
  286
+table.docutils {
  287
+    border: 0;
  288
+    border-collapse: collapse;
  289
+}
  290
+
  291
+table.docutils td, table.docutils th {
  292
+    padding: 1px 8px 1px 5px;
  293
+    border-top: 0;
  294
+    border-left: 0;
  295
+    border-right: 0;
  296
+    border-bottom: 1px solid #aaa;
  297
+}
  298
+
  299
+table.field-list td, table.field-list th {
  300
+    border: 0 !important;
  301
+}
  302
+
  303
+table.footnote td, table.footnote th {
  304
+    border: 0 !important;
  305
+}
  306
+
  307
+th {
  308
+    text-align: left;
  309
+    padding-right: 5px;
  310
+}
  311
+
  312
+table.citation {
  313
+    border-left: solid 1px gray;
  314
+    margin-left: 1px;
  315
+}
  316
+
  317
+table.citation td {
  318
+    border-bottom: none;
  319
+}
  320
+
  321
+/* -- other body styles ----------------------------------------------------- */
  322
+
  323
+ol.arabic {
  324
+    list-style: decimal;
  325
+}
  326
+
  327
+ol.loweralpha {
  328
+    list-style: lower-alpha;
  329
+}
  330
+
  331
+ol.upperalpha {
  332
+    list-style: upper-alpha;
  333
+}
  334
+
  335
+ol.lowerroman {
  336
+    list-style: lower-roman;
  337
+}
  338
+
  339
+ol.upperroman {
  340
+    list-style: upper-roman;
  341
+}
  342
+
  343
+dl {
  344
+    margin-bottom: 15px;
  345
+}
  346
+
  347
+dd p {
  348
+    margin-top: 0px;
  349
+}
  350
+
  351
+dd ul, dd table {
  352
+    margin-bottom: 10px;
  353
+}
  354
+
  355
+dd {
  356
+    margin-top: 3px;
  357
+    margin-bottom: 10px;
  358
+    margin-left: 30px;
  359
+}
  360
+
  361
+dt:target, .highlighted {
  362
+    background-color: #fbe54e;
  363
+}
  364
+
  365
+dl.glossary dt {
  366
+    font-weight: bold;
  367
+    font-size: 1.1em;
  368
+}
  369
+
  370
+.field-list ul {
  371
+    margin: 0;
  372
+    padding-left: 1em;
  373
+}
  374
+
  375
+.field-list p {
  376
+    margin: 0;
  377
+}
  378
+
  379
+.refcount {
  380
+    color: #060;
  381
+}
  382
+
  383
+.optional {
  384
+    font-size: 1.3em;
  385
+}
  386
+
  387
+.versionmodified {
  388
+    font-style: italic;
  389
+}
  390
+
  391
+.system-message {
  392
+    background-color: #fda;
  393
+    padding: 5px;
  394
+    border: 3px solid red;
  395
+}
  396
+
  397
+.footnote:target  {
  398
+    background-color: #ffa
  399
+}
  400
+
  401
+.line-block {
  402
+    display: block;
  403
+    margin-top: 1em;
  404
+    margin-bottom: 1em;
  405
+}
  406
+
  407
+.line-block .line-block {
  408
+    margin-top: 0;
  409
+    margin-bottom: 0;
  410
+    margin-left: 1.5em;
  411
+}
  412
+
  413
+.guilabel, .menuselection {
  414
+    font-family: sans-serif;
  415
+}
  416
+
  417
+.accelerator {
  418
+    text-decoration: underline;
  419
+}
  420
+
  421
+.classifier {
  422
+    font-style: oblique;
  423
+}
  424
+
  425
+/* -- code displays --------------------------------------------------------- */
  426
+
  427
+pre {
  428
+    overflow: auto;
  429
+}
  430
+
  431
+td.linenos pre {
  432
+    padding: 5px 0px;
  433
+    border: 0;
  434
+    background-color: transparent;
  435
+    color: #aaa;
  436
+}
  437
+
  438
+table.highlighttable {
  439
+    margin-left: 0.5em;
  440
+}
  441
+
  442
+table.highlighttable td {
  443
+    padding: 0 0.5em 0 0.5em;
  444
+}
  445
+
  446
+tt.descname {
  447
+    background-color: transparent;
  448
+    font-weight: bold;
  449
+    font-size: 1.2em;
  450
+}
  451
+
  452
+tt.descclassname {
  453
+    background-color: transparent;
  454
+}
  455
+
  456
+tt.xref, a tt {
  457
+    background-color: transparent;
  458
+    font-weight: bold;
  459
+}
  460
+
  461
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  462
+    background-color: transparent;
  463
+}
  464
+
  465
+.viewcode-link {
  466
+    float: right;
  467
+}
  468
+
  469
+.viewcode-back {
  470
+    float: right;
  471
+    font-family: sans-serif;
  472
+}
  473
+
  474
+div.viewcode-block:target {
  475
+    margin: -1px -10px;
  476
+    padding: 0 10px;
  477
+}
  478
+
  479
+/* -- math display ---------------------------------------------------------- */
  480
+
  481
+img.math {
  482
+    vertical-align: middle;
  483
+}
  484
+
  485
+div.body div.math p {
  486
+    text-align: center;
  487
+}
  488
+
  489
+span.eqno {
  490
+    float: right;
  491
+}
  492
+
  493
+/* -- printout stylesheet --------------------------------------------------- */
  494
+
  495
+@media print {
  496
+    div.document,
  497
+    div.documentwrapper,
  498
+    div.bodywrapper {
  499
+        margin: 0 !important;
  500
+        width: 100%;
  501
+    }
  502
+
  503
+    div.sphinxsidebar,
  504
+    div.related,
  505
+    div.footer,
  506
+    #top-link {
  507
+        display: none;
  508
+    }
  509
+}
256  doc/build/html/_static/default.css
... ...
@@ -0,0 +1,256 @@
  1
+/*
  2
+ * default.css_t
  3
+ * ~~~~~~~~~~~~~
  4
+ *
  5
+ * Sphinx stylesheet -- default theme.
  6
+ *
  7
+ * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
  8
+ * :license: BSD, see LICENSE for details.
  9
+ *
  10
+ */
  11
+
  12
+@import url("basic.css");
  13
+
  14
+/* -- page layout ----------------------------------------------------------- */
  15
+
  16
+body {
  17
+    font-family: sans-serif;
  18
+    font-size: 100%;
  19
+    background-color: #11303d;
  20
+    color: #000;
  21
+    margin: 0;
  22
+    padding: 0;
  23
+}
  24
+
  25
+div.document {
  26
+    background-color: #1c4e63;
  27
+}
  28
+
  29
+div.documentwrapper {
  30
+    float: left;
  31
+    width: 100%;
  32
+}
  33
+
  34
+div.bodywrapper {
  35
+    margin: 0 0 0 230px;
  36
+}
  37
+
  38
+div.body {
  39
+    background-color: #ffffff;
  40
+    color: #000000;
  41
+    padding: 0 20px 30px 20px;
  42
+}
  43
+
  44
+div.footer {
  45
+    color: #ffffff;
  46
+    width: 100%;
  47
+    padding: 9px 0 9px 0;
  48
+    text-align: center;
  49
+    font-size: 75%;
  50
+}
  51
+
  52
+div.footer a {
  53
+    color: #ffffff;
  54
+    text-decoration: underline;
  55
+}
  56
+
  57
+div.related {
  58
+    background-color: #133f52;
  59
+    line-height: 30px;
  60
+    color: #ffffff;
  61
+}
  62
+
  63
+div.related a {
  64
+    color: #ffffff;
  65
+}
  66
+
  67
+div.sphinxsidebar {
  68
+}
  69
+
  70
+div.sphinxsidebar h3 {
  71
+    font-family: 'Trebuchet MS', sans-serif;
  72
+    color: #ffffff;
  73
+    font-size: 1.4em;
  74
+    font-weight: normal;
  75
+    margin: 0;
  76
+    padding: 0;
  77
+}
  78
+
  79
+div.sphinxsidebar h3 a {
  80
+    color: #ffffff;
  81
+}
  82
+
  83
+div.sphinxsidebar h4 {
  84
+    font-family: 'Trebuchet MS', sans-serif;
  85
+    color: #ffffff;
  86
+    font-size: 1.3em;
  87
+    font-weight: normal;
  88
+    margin: 5px 0 0 0;
  89
+    padding: 0;
  90
+}
  91
+
  92
+div.sphinxsidebar p {
  93
+    color: #ffffff;
  94
+}
  95
+
  96
+div.sphinxsidebar p.topless {
  97
+    margin: 5px 10px 10px 10px;
  98
+}
  99
+
  100
+div.sphinxsidebar ul {
  101
+    margin: 10px;
  102
+    padding: 0;
  103
+    color: #ffffff;
  104
+}
  105
+
  106
+div.sphinxsidebar a {
  107
+    color: #98dbcc;
  108
+}
  109
+
  110
+div.sphinxsidebar input {
  111
+    border: 1px solid #98dbcc;
  112
+    font-family: sans-serif;
  113
+    font-size: 1em;
  114
+}
  115
+
  116
+
  117
+
  118
+/* -- hyperlink styles ------------------------------------------------------ */
  119
+
  120
+a {
  121
+    color: #355f7c;
  122
+    text-decoration: none;
  123
+}
  124
+
  125
+a:visited {
  126
+    color: #355f7c;
  127
+    text-decoration: none;
  128
+}
  129
+
  130
+a:hover {
  131
+    text-decoration: underline;
  132
+}
  133
+
  134
+
  135
+
  136
+/* -- body styles ----------------------------------------------------------- */
  137
+
  138
+div.body h1,
  139
+div.body h2,
  140
+div.body h3,
  141
+div.body h4,
  142
+div.body h5,
  143
+div.body h6 {
  144
+    font-family: 'Trebuchet MS', sans-serif;
  145
+    background-color: #f2f2f2;
  146
+    font-weight: normal;
  147
+    color: #20435c;
  148
+    border-bottom: 1px solid #ccc;
  149
+    margin: 20px -20px 10px -20px;
  150
+    padding: 3px 0 3px 10px;
  151
+}
  152
+
  153
+div.body h1 { margin-top: 0; font-size: 200%; }
  154
+div.body h2 { font-size: 160%; }
  155
+div.body h3 { font-size: 140%; }
  156
+div.body h4 { font-size: 120%; }
  157
+div.body h5 { font-size: 110%; }
  158
+div.body h6 { font-size: 100%; }
  159
+
  160
+a.headerlink {
  161
+    color: #c60f0f;
  162
+    font-size: 0.8em;
  163
+    padding: 0 4px 0 4px;
  164
+    text-decoration: none;
  165
+}
  166
+
  167
+a.headerlink:hover {
  168
+    background-color: #c60f0f;
  169
+    color: white;
  170
+}
  171
+
  172
+div.body p, div.body dd, div.body li {
  173
+    text-align: justify;
  174
+    line-height: 130%;
  175
+}
  176
+
  177
+div.admonition p.admonition-title + p {
  178
+    display: inline;
  179
+}
  180
+
  181
+div.admonition p {
  182
+    margin-bottom: 5px;
  183
+}
  184
+
  185
+div.admonition pre {
  186
+    margin-bottom: 5px;
  187
+}
  188
+
  189
+div.admonition ul, div.admonition ol {
  190
+    margin-bottom: 5px;
  191
+}
  192
+
  193
+div.note {
  194
+    background-color: #eee;
  195
+    border: 1px solid #ccc;
  196
+}
  197
+
  198
+div.seealso {
  199
+    background-color: #ffc;
  200
+    border: 1px solid #ff6;
  201
+}
  202
+
  203
+div.topic {
  204
+    background-color: #eee;
  205
+}
  206
+
  207
+div.warning {
  208
+    background-color: #ffe4e4;
  209
+    border: 1px solid #f66;
  210
+}
  211
+
  212
+p.admonition-title {
  213
+    display: inline;
  214
+}
  215
+
  216
+p.admonition-title:after {
  217
+    content: ":";
  218
+}
  219
+
  220
+pre {
  221
+    padding: 5px;
  222
+    background-color: #eeffcc;
  223
+    color: #333333;
  224
+    line-height: 120%;
  225
+    border: 1px solid #ac9;
  226
+    border-left: none;
  227
+    border-right: none;
  228
+}
  229
+
  230
+tt {
  231
+    background-color: #ecf0f3;
  232
+    padding: 0 1px 0 1px;
  233
+    font-size: 0.95em;
  234
+}
  235
+
  236
+th {
  237
+    background-color: #ede;
  238
+}
  239
+
  240
+.warning tt {
  241
+    background: #efc2c2;
  242
+}
  243
+
  244
+.note tt {
  245
+    background: #d6d6d6;
  246
+}
  247
+
  248
+.viewcode-back {
  249
+    font-family: sans-serif;
  250
+}
  251
+
  252
+div.viewcode-block:target {
  253
+    background-color: #f4debf;
  254
+    border-top: 1px solid #ac9;
  255
+    border-bottom: 1px solid #ac9;
  256
+}
247  doc/build/html/_static/doctools.js
... ...
@@ -0,0 +1,247 @@
  1
+/*
  2
+ * doctools.js
  3
+ * ~~~~~~~~~~~
  4
+ *
  5
+ * Sphinx JavaScript utilties for all documentation.
  6
+ *
  7
+ * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
  8
+ * :license: BSD, see LICENSE for details.
  9
+ *
  10
+ */
  11
+
  12
+/**
  13
+ * select a different prefix for underscore
  14
+ */
  15
+$u = _.noConflict();
  16
+
  17
+/**
  18
+ * make the code below compatible with browsers without
  19
+ * an installed firebug like debugger
  20
+if (!window.console || !console.firebug) {
  21
+  var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
  22
+    "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
  23
+    "profile", "profileEnd"];
  24
+  window.console = {};
  25
+  for (var i = 0; i < names.length; ++i)
  26
+    window.console[names[i]] = function() {};
  27
+}
  28
+ */
  29
+
  30
+/**
  31
+ * small helper function to urldecode strings
  32
+ */
  33
+jQuery.urldecode = function(x) {
  34
+  return decodeURIComponent(x).replace(/\+/g, ' ');
  35
+}
  36
+
  37
+/**
  38
+ * small helper function to urlencode strings
  39
+ */
  40
+jQuery.urlencode = encodeURIComponent;
  41
+
  42
+/**
  43
+ * This function returns the parsed url parameters of the
  44
+ * current request. Multiple values per key are supported,
  45
+ * it will always return arrays of strings for the value parts.
  46
+ */
  47
+jQuery.getQueryParameters = function(s) {
  48
+  if (typeof s == 'undefined')
  49
+    s = document.location.search;
  50
+  var parts = s.substr(s.indexOf('?') + 1).split('&');
  51
+  var result = {};
  52
+  for (var i = 0; i < parts.length; i++) {
  53
+    var tmp = parts[i].split('=', 2);
  54
+    var key = jQuery.urldecode(tmp[0]);
  55
+    var value = jQuery.urldecode(tmp[1]);
  56
+    if (key in result)
  57
+      result[key].push(value);
  58
+    else
  59
+      result[key] = [value];
  60
+  }
  61
+  return result;
  62
+};
  63
+
  64
+/**
  65
+ * small function to check if an array contains
  66
+ * a given item.
  67
+ */
  68
+jQuery.contains = function(arr, item) {
  69
+  for (var i = 0; i < arr.length; i++) {
  70
+    if (arr[i] == item)
  71
+      return true;
  72
+  }
  73
+  return false;
  74
+};
  75
+
  76
+/**
  77
+ * highlight a given string on a jquery object by wrapping it in
  78
+ * span elements with the given class name.
  79
+ */
  80
+jQuery.fn.highlightText = function(text, className) {
  81
+  function highlight(node) {
  82
+    if (node.nodeType == 3) {
  83
+      var val = node.nodeValue;
  84
+      var pos = val.toLowerCase().indexOf(text);
  85
+      if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
  86
+        var span = document.createElement("span");
  87
+        span.className = className;
  88
+        span.appendChild(document.createTextNode(val.substr(pos, text.length)));
  89
+        node.parentNode.insertBefore(span, node.parentNode.insertBefore(
  90
+          document.createTextNode(val.substr(pos + text.length)),
  91
+          node.nextSibling));
  92
+        node.nodeValue = val.substr(0, pos);
  93
+      }