Skip to content

Commit

Permalink
add pandas as an install requirement, address issue #8, update docs b…
Browse files Browse the repository at this point in the history
…uild
  • Loading branch information
Aaron Schlegel committed Sep 19, 2018
1 parent fd2f632 commit 71ece83
Show file tree
Hide file tree
Showing 17 changed files with 69 additions and 23 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

## Version 1.8.2

- Add `pandas` back as an installation requirement as it is included in top-level imports. `pandas` is
still not necessary to use the primary functionality of `petpy`.

## Version 1.8.1

- Implement check to make sure `count` parameter is not larger than 1,000 records (per the Petfinder API
limits). If `count` exceeds 1,000 a `ValueError` is raised.
- Add check for ensuring the number of total records to return does not exceed 2,000 when paging results with
the `pages` and `count` parameters. If the desired amount of records is higher than 2,000, a
`ValueError` is raised.
- Remove Python 3.3 support. Although `petpy` should work fine for those still using Python 3.3, testing for 3.3
has been discontinued.

## Version 1.8.0

- General refactoring of the `petpy` library to remove unneeded methods from being exposed when importing the
Expand Down
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/versions.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 151ad18da822b5b00f82ff69af5243c3
config: be04914fa9f1576dbe03b2ea0f59e477
tags: 645f666f9bcd5a90fca523b33c5a78b7
11 changes: 11 additions & 0 deletions docs/build/html/_sources/versions.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,20 @@ Version History

Changelog and version changes made with each release.

Version 1.8.2
-------------

- Add :code:`pandas` back as an installation requirement as it is included in top-level imports. :code:`pandas` is
still not necessary to use the primary functionality of :code:`petpy`.

Version 1.8.1
-------------

- Implement check to make sure :code:`count` parameter is not larger than 1,000 records (per the Petfinder API
limits). If :code:`count` exceeds 1,000 a :code:`ValueError` is raised.
- Add check for ensuring the number of total records to return does not exceed 2,000 when paging results with
the :code:`pages` and :code:`count` parameters. If the desired amount of records is higher than 2,000, a
:code:`ValueError` is raised.
- Remove Python 3.3 support. Although :code:`petpy` should work fine for those still using Python 3.3, testing for 3.3
has been discontinued.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.8.0',
VERSION: '1.8.1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
Expand Down
6 changes: 3 additions & 3 deletions docs/build/html/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>API Reference &mdash; petpy 1.8.0 documentation</title>
<title>API Reference &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -59,7 +59,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand Down Expand Up @@ -535,7 +535,7 @@ <h2>Shelter Methods<a class="headerlink" href="#shelter-methods" title="Permalin
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
6 changes: 3 additions & 3 deletions docs/build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Index &mdash; petpy 1.8.0 documentation</title>
<title>Index &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -58,7 +58,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand Down Expand Up @@ -234,7 +234,7 @@ <h2 id="S">S</h2>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
6 changes: 3 additions & 3 deletions docs/build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Petpy - Python Wrapper of the Petfinder API &mdash; petpy 1.8.0 documentation</title>
<title>Petpy - Python Wrapper of the Petfinder API &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -58,7 +58,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand Down Expand Up @@ -236,7 +236,7 @@ <h1>Tutorials and Examples<a class="headerlink" href="#tutorials-and-examples" t
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
Binary file modified docs/build/html/objects.inv
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/build/html/parameters.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>&lt;no title&gt; &mdash; petpy 1.8.0 documentation</title>
<title>&lt;no title&gt; &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -57,7 +57,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand Down Expand Up @@ -182,7 +182,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
6 changes: 3 additions & 3 deletions docs/build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Search &mdash; petpy 1.8.0 documentation</title>
<title>Search &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -57,7 +57,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand Down Expand Up @@ -192,7 +192,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 16 additions & 3 deletions docs/build/html/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Version History &mdash; petpy 1.8.0 documentation</title>
<title>Version History &mdash; petpy 1.8.1 documentation</title>



Expand Down Expand Up @@ -58,7 +58,7 @@


<div class="version">
1.8.0
1.8
</div>


Expand All @@ -85,6 +85,7 @@
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="api.html">API Reference</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Version History</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#version-1-8-2">Version 1.8.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="#version-1-8-1">Version 1.8.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="#version-1-8-0">Version 1.8.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="#version-1-7-2">Version 1.7.2</a></li>
Expand Down Expand Up @@ -170,9 +171,21 @@
<div class="section" id="version-history">
<span id="versions"></span><h1>Version History<a class="headerlink" href="#version-history" title="Permalink to this headline"></a></h1>
<p>Changelog and version changes made with each release.</p>
<div class="section" id="version-1-8-2">
<h2>Version 1.8.2<a class="headerlink" href="#version-1-8-2" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Add <code class="code docutils literal notranslate"><span class="pre">pandas</span></code> back as an installation requirement as it is included in top-level imports. <code class="code docutils literal notranslate"><span class="pre">pandas</span></code> is
still not necessary to use the primary functionality of <code class="code docutils literal notranslate"><span class="pre">petpy</span></code>.</li>
</ul>
</div>
<div class="section" id="version-1-8-1">
<h2>Version 1.8.1<a class="headerlink" href="#version-1-8-1" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Implement check to make sure <code class="code docutils literal notranslate"><span class="pre">count</span></code> parameter is not larger than 1,000 records (per the Petfinder API
limits). If <code class="code docutils literal notranslate"><span class="pre">count</span></code> exceeds 1,000 a <code class="code docutils literal notranslate"><span class="pre">ValueError</span></code> is raised.</li>
<li>Add check for ensuring the number of total records to return does not exceed 2,000 when paging results with
the <code class="code docutils literal notranslate"><span class="pre">pages</span></code> and <code class="code docutils literal notranslate"><span class="pre">count</span></code> parameters. If the desired amount of records is higher than 2,000, a
<code class="code docutils literal notranslate"><span class="pre">ValueError</span></code> is raised.</li>
<li>Remove Python 3.3 support. Although <code class="code docutils literal notranslate"><span class="pre">petpy</span></code> should work fine for those still using Python 3.3, testing for 3.3
has been discontinued.</li>
</ul>
Expand Down Expand Up @@ -402,7 +415,7 @@ <h2>Version 1.0.0<a class="headerlink" href="#version-1-0-0" title="Permalink to
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.8.0',
VERSION:'1.8.1',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
Expand Down
6 changes: 6 additions & 0 deletions docs/source/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Version History

Changelog and version changes made with each release.

Version 1.8.2
-------------

- Add :code:`pandas` back as an installation requirement as it is included in top-level imports. :code:`pandas` is
still not necessary to use the primary functionality of :code:`petpy`.

Version 1.8.1
-------------

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pandas>=0.22.0
requests>=2.18.4
six>=1.11.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='petpy',
version='1.8.1',
version='1.8.2',
author='Aaron Schlegel',
author_email='aaron@aaronschlegel.com',
url='https://github.com/aschleg/petpy',
Expand All @@ -14,7 +14,7 @@
'docs', 'notebooks', 'tests*']),
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
install_requires=['requests>=2.18.4', 'six>=1.11.0'],
install_requires=['pandas>=0.22.0', 'requests>=2.18.4', 'six>=1.11.0'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
Expand Down

0 comments on commit 71ece83

Please sign in to comment.