Repository navigation
Expand file tree
/
Copy pathcircle_class.html
More file actions
349 lines (314 loc) · 23.5 KB
/
Copy pathcircle_class.html
File metadata and controls
349 lines (314 loc) · 23.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Circle Class Exercise — Programming in Python 8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=bb3927b2"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Sparse Array Exercise" href="../sparse_array.html" />
<link rel="prev" title="Special Methods & Protocols" href="../../modules/SpecialMethodsAndProtocols.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" style="background: #4b2e83" >
<a href="../../index.html">
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Topics in the Program</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../topics/01-setting_up/index.html">1. Setting up your Environment</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/02-basic_python/index.html">2. Basic Python</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/03-recursion_booleans/index.html">3. Booleans and Recursion</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/04-sequences_iteration/index.html">4. Sequences and Iteration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/05-text_handling/index.html">5. Basic Text Handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/06-exceptions/index.html">6. Exception Handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/07-unit_testing/index.html">7. Unit Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/08-dicts_sets/index.html">8. Dictionaries and Sets</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/09-files/index.html">9. File Handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/10-modules_packages/index.html">10. Modules and Packages</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/11-argument_passing/index.html">11. Advanced Argument Passing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/12-comprehensions/index.html">12. Comprehensions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/13-intro_oo/index.html">13. Intro to Object Oriented Programing</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../topics/14-magic_methods/index.html">14. Properties and Magic Methods</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../../modules/Properties.html">Properties</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../modules/StaticAndClassMethods.html">Static and Class Methods</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../modules/SpecialMethodsAndProtocols.html">Special Methods & Protocols</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Circle Class Exercise</a></li>
<li class="toctree-l2"><a class="reference internal" href="../sparse_array.html">Sparse Array Exercise</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/15-subclassing/index.html">15. Subclassing and Inheritance</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/16-multiple_inheritance/index.html">16. Multiple Inheritance</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/17-functional_programming/index.html">17. Introduction to Functional Programming</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/18-advanced_testing/index.html">18. Advanced Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../topics/99-extras/index.html">19. Extra Topics</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #4b2e83" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../index.html">Programming in Python</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content style-external-links">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../../topics/14-magic_methods/index.html"><span class="section-number">14. </span>Properties and Magic Methods</a></li>
<li class="breadcrumb-item active">Circle Class Exercise</li>
<li class="wy-breadcrumbs-aside">
<a href="../../_sources/exercises/circle/circle_class.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation">
<a href="../../modules/SpecialMethodsAndProtocols.html" class="btn btn-neutral float-left" title="Special Methods & Protocols" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="../sparse_array.html" class="btn btn-neutral float-right" title="Sparse Array Exercise" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="circle-class-exercise">
<span id="exercise-circle-class"></span><h1>Circle Class Exercise<a class="headerlink" href="#circle-class-exercise" title="Link to this heading"></a></h1>
<section id="circle-class">
<h2>Circle Class<a class="headerlink" href="#circle-class" title="Link to this heading"></a></h2>
<p>The ultimate circle….</p>
<section id="goal">
<h3>Goal:<a class="headerlink" href="#goal" title="Link to this heading"></a></h3>
<p>The goal is to create a class that represents a simple circle.</p>
<p>A Circle can be defined by either specifying the radius or the diameter,
and the user can query the circle for either its radius or diameter.</p>
<p>Other abilities of a Circle instance:</p>
<blockquote>
<div><ul class="simple">
<li><p>Compute the circle’s area.</p></li>
<li><p>Print the circle and get something nice.</p></li>
<li><p>Be able to add two circles together.</p></li>
<li><p>Be able to compare two circles to see which is bigger.</p></li>
<li><p>Be able to compare to see if they are are equal.</p></li>
<li><p>(follows from above) be able to put them in a list and sort them.</p></li>
</ul>
</div></blockquote>
<p>You will use:</p>
<blockquote>
<div><ul class="simple">
<li><p>properties.</p></li>
<li><p>a bunch of “magic methods”.</p></li>
<li><p>a classmethod.</p></li>
</ul>
</div></blockquote>
</section>
<section id="general-instructions">
<h3>General Instructions:<a class="headerlink" href="#general-instructions" title="Link to this heading"></a></h3>
<ol class="arabic simple">
<li><p>For each step, write a couple of unit tests that test the new features.</p></li>
<li><p>Run these tests (and they will fail the first time)</p></li>
<li><p>Add the code required for your tests to pass.</p></li>
</ol>
</section>
<section id="step-1">
<h3>Step 1:<a class="headerlink" href="#step-1" title="Link to this heading"></a></h3>
<p>Create class called <code class="docutils literal notranslate"><span class="pre">Circle</span></code> – it’s signature should look like:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="n">the_radius</span><span class="p">)</span>
</pre></div>
</div>
<p>The radius is a required parameter (can’t have a circle without one!)</p>
<p>The resulting circle should have an attribute for the radius:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">c</span><span class="o">.</span><span class="n">radius</span>
</pre></div>
</div>
<p>So you can do:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="o">>></span> <span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">radius</span><span class="p">)</span>
<span class="mi">4</span>
</pre></div>
</div>
<p>Remember: tests first!</p>
</section>
<section id="step-2">
<h3>Step 2:<a class="headerlink" href="#step-2" title="Link to this heading"></a></h3>
<p>Add a “diameter” property, so the user can get the diameter of the circle:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="o">>></span> <span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">diameter</span><span class="p">)</span>
<span class="mi">8</span>
</pre></div>
</div>
</section>
<section id="step-3">
<h3>Step 3:<a class="headerlink" href="#step-3" title="Link to this heading"></a></h3>
<p>Set up the diameter property so that the user can set the diameter of the circle:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="o">>></span> <span class="n">c</span><span class="o">.</span><span class="n">diameter</span> <span class="o">=</span> <span class="mi">2</span>
<span class="o">>></span> <span class="nb">print</span> <span class="n">c</span><span class="o">.</span><span class="n">diameter</span>
<span class="mi">2</span>
<span class="o">>></span> <span class="nb">print</span> <span class="n">c</span><span class="o">.</span><span class="n">radius</span>
<span class="mi">1</span>
</pre></div>
</div>
<p><strong>NOTE</strong> that the radius has changed!</p>
<p><strong>Important:</strong> Do not store both the radius and the diameter as attributes! If you do that, they could get out of sync. So store only one (the radius), and have the other calculated “on the fly” by the property.</p>
</section>
<section id="step-4">
<h3>Step 4:<a class="headerlink" href="#step-4" title="Link to this heading"></a></h3>
<p>Add an <code class="docutils literal notranslate"><span class="pre">area</span></code> property so the user can get the area of the circle:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>
<span class="o">>></span> <span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">area</span><span class="p">)</span>
<span class="mf">12.566370</span>
</pre></div>
</div>
<p>(<code class="docutils literal notranslate"><span class="pre">pi</span></code> can be found in the math module).</p>
<p>The user should not be able to set the area:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>
<span class="o">>></span> <span class="n">c</span><span class="o">.</span><span class="n">area</span> <span class="o">=</span> <span class="mi">42</span>
<span class="ne">AttributeError</span>
</pre></div>
</div>
</section>
<section id="step-5">
<h3>Step 5:<a class="headerlink" href="#step-5" title="Link to this heading"></a></h3>
<p>Add an “alternate constructor” that lets the user create a Circle directly
with the diameter:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="o">>></span> <span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="o">.</span><span class="n">from_diameter</span><span class="p">(</span><span class="mi">8</span><span class="p">)</span>
<span class="o">>></span> <span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">diameter</span><span class="p">)</span>
<span class="mi">8</span>
<span class="o">>></span> <span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">radius</span><span class="p">)</span>
<span class="mi">4</span>
</pre></div>
</div>
<p>Hint: This is a good use case for a <code class="docutils literal notranslate"><span class="pre">classmethod</span></code></p>
</section>
<section id="step-6">
<h3>Step 6:<a class="headerlink" href="#step-6" title="Link to this heading"></a></h3>
<p>Every class should have a nice way to print it out…</p>
<p>Add <code class="docutils literal notranslate"><span class="pre">__str__</span></code> and <code class="docutils literal notranslate"><span class="pre">__repr__</span></code> methods to your Circle class.</p>
<p>Now you can print it:</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [2]: </span><span class="n">c</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="gp">In [3]: </span><span class="nb">print</span><span class="p">(</span><span class="n">c</span><span class="p">)</span>
<span class="go">Circle with radius: 4.000000</span>
<span class="gp">In [4]: </span><span class="nb">repr</span><span class="p">(</span><span class="n">c</span><span class="p">)</span>
<span class="gh">Out[4]: </span><span class="go">'Circle(4)'</span>
<span class="gp">In [5]: </span><span class="n">d</span> <span class="o">=</span> <span class="nb">eval</span><span class="p">(</span><span class="nb">repr</span><span class="p">(</span><span class="n">c</span><span class="p">))</span>
<span class="gp">In [6]: </span><span class="n">d</span>
<span class="gh">Out[6]: </span><span class="go">Circle(4)</span>
</pre></div>
</div>
</section>
<section id="step-7">
<h3>Step 7:<a class="headerlink" href="#step-7" title="Link to this heading"></a></h3>
<p>Add some of the numeric protocol to your Circle:</p>
<p>You should be able to add two circles:</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [7]: </span><span class="n">c1</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>
<span class="gp">In [8]: </span><span class="n">c2</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="gp">In [9]: </span><span class="n">c1</span> <span class="o">+</span> <span class="n">c2</span>
<span class="gh">Out[9]: </span><span class="go">Circle(6)</span>
</pre></div>
</div>
<p>and multiply one by a number:</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [16]: </span><span class="n">c2</span> <span class="o">*</span> <span class="mi">3</span>
<span class="gh">Out[16]: </span><span class="go">Circle(12)</span>
</pre></div>
</div>
<p>(what happens with <code class="docutils literal notranslate"><span class="pre">3</span> <span class="pre">*</span> <span class="pre">c2</span></code> ? – can you fix that?)</p>
</section>
<section id="step-8">
<h3>Step 8:<a class="headerlink" href="#step-8" title="Link to this heading"></a></h3>
<p>Add the ability to compare two circles:</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [10]: </span><span class="n">c1</span> <span class="o">></span> <span class="n">c2</span>
<span class="gh">Out[10]: </span><span class="go">False</span>
<span class="gp">In [11]: </span><span class="n">c1</span> <span class="o"><</span> <span class="n">c2</span>
<span class="gh">Out[11]: </span><span class="go">True</span>
<span class="gp">In [12]: </span><span class="n">c1</span> <span class="o">==</span> <span class="n">c2</span>
<span class="gh">Out[12]: </span><span class="go">False</span>
<span class="gp">In [13]: </span><span class="n">c3</span> <span class="o">=</span> <span class="n">Circle</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>
<span class="gp">In [14]: </span><span class="n">c2</span> <span class="o">==</span> <span class="n">c3</span>
<span class="gh">Out[14]: </span><span class="go">True</span>
</pre></div>
</div>
<p>Once the comparing is done, you should be able to sort a list of circles:</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [18]: </span><span class="nb">print</span> <span class="n">circles</span>
<span class="go">[Circle(6), Circle(7), Circle(8), Circle(4), Circle(0), Circle(2), Circle(3), Circle(5), Circle(9), Circle(1)]</span>
<span class="gp">In [19]: </span><span class="n">circles</span><span class="o">.</span><span class="n">sort</span><span class="p">()</span>
<span class="gp">In [20]: </span><span class="nb">print</span> <span class="n">circles</span>
<span class="go">[Circle(0), Circle(1), Circle(2), Circle(3), Circle(4), Circle(5), Circle(6), Circle(7), Circle(8), Circle(9)]</span>
</pre></div>
</div>
<p><strong>NOTE:</strong> make sure to write unit tests for all of this! Ideally before writing the code.</p>
</section>
<section id="step-8-optional-features">
<h3>Step 8: Optional Features:<a class="headerlink" href="#step-8-optional-features" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>See if you can make “reflected” numerics do the right thing:</p></li>
</ul>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">a_circle</span> <span class="o">*</span> <span class="mi">3</span> <span class="o">==</span> <span class="mi">3</span> <span class="o">*</span> <span class="n">a_circle</span>
</pre></div>
</div>
<ul class="simple">
<li><p>What else makes sense: division? others?</p></li>
<li><p>Add the “augmented assignment” operators, where they make sense:</p></li>
</ul>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">a_circle</span> <span class="o">+=</span> <span class="n">another_circle</span>
<span class="n">a_circle</span> <span class="o">*=</span> <span class="mi">2</span>
</pre></div>
</div>
<ul class="simple">
<li><p>Look through all the “magic methods” and see what makes sense for circles.</p></li>
</ul>
</section>
<section id="step-9-subclassing">
<h3>Step 9: Subclassing!<a class="headerlink" href="#step-9-subclassing" title="Link to this heading"></a></h3>
<p>You’ve got a circle already – what if you needed a Sphere? They have a fair bit in common – both defined by a radius, same relationship of radius to diameter, etc.</p>
<p>So we can get a pretty useful Sphere class by simply subclassing Circle, and adding and changing a couple things.</p>
<ul class="simple">
<li><p>Create a <code class="docutils literal notranslate"><span class="pre">Sphere</span></code> Class that subclasses <code class="docutils literal notranslate"><span class="pre">Circle</span></code>.</p></li>
<li><p>Override the <code class="docutils literal notranslate"><span class="pre">__str__</span></code> and <code class="docutils literal notranslate"><span class="pre">__repr__</span></code> methods to be appropriate for Spheres.</p></li>
<li><p>Create a <code class="docutils literal notranslate"><span class="pre">volume</span></code> property that returns the volume (hint: volume of a sphere is: 4/3 pi r^3).</p></li>
<li><p>Override the area property so that it either computes the surface area of a sphere (what’s the formula for that???), or have it raise an exception: maybe <code class="docutils literal notranslate"><span class="pre">NotImplementedError</span></code>.</p></li>
</ul>
<p>Make sure to write some tests – maybe ahead of time! – that confirm that all this works. And the other things like addition, and sorting…</p>
<p>Check that the <code class="docutils literal notranslate"><span class="pre">Sphere.from_diameter()</span></code> alternate constructor actually creates a Sphere! (you DO NOT have to write a new classmethod for that!) – pretty cool, eh?</p>
</section>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="../../modules/SpecialMethodsAndProtocols.html" class="btn btn-neutral float-left" title="Special Methods & Protocols" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="../sparse_array.html" class="btn btn-neutral float-right" title="Sparse Array Exercise" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2025, Natasha Aleksandrova, Christopher Barker, Brian Dorsey, Cris Ewing, Christy Heaton, Jon Jacky, Maria McKinley, Andy Miles, Rick Riehle, Joseph Schilz, Joseph Sheedy, Hosung Song. Creative Commons Attribution-ShareAlike 4.0 license.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>