Skip to content

Commit 646433c

Browse files
committed
Add: packages created w various build tools
1 parent 1b22fb2 commit 646433c

File tree

372 files changed

+79520
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+79520
-59
lines changed

LICENSE

+17-24
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
BSD 3-Clause License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2022, pyOpenSci
3+
Copyright (c) 2023 me myself and i
44

5-
Redistribution and use in source and binary forms, with or without
6-
modification, are permitted provided that the following conditions are met:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
711

8-
1. Redistributions of source code must retain the above copyright notice, this
9-
list of conditions and the following disclaimer.
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
1014

11-
2. Redistributions in binary form must reproduce the above copyright notice,
12-
this list of conditions and the following disclaimer in the documentation
13-
and/or other materials provided with the distribution.
14-
15-
3. Neither the name of the copyright holder nor the names of its
16-
contributors may be used to endorse or promote products derived from
17-
this software without specific prior written permission.
18-
19-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2022, pyOpenSci
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# examplePy
2+
3+
An example Python package to be used in our pyOpenSci tutorials.
4+
5+
## Learn more about pyOpenSci
6+
7+
[Learn more about us. ](https://www.pyopensci.org)
8+
9+
10+
File renamed without changes.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -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: 6d613c6dab56006cbd046145a86389ac
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [],
10+
"source": [
11+
"%matplotlib inline"
12+
]
13+
},
14+
{
15+
"cell_type": "markdown",
16+
"metadata": {},
17+
"source": [
18+
"\n# Seaborn example\n\nThis example demonstrates a Seaborn plot. Figures produced Matplotlib **and**\nby any package that is based on Matplotlib (e.g., Seaborn), will be\ncaptured by default. See `image_scrapers` for details.\n\nThis is taken from the sphinx gallery documentation :)\n"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": null,
24+
"metadata": {
25+
"collapsed": false
26+
},
27+
"outputs": [],
28+
"source": [
29+
"# Author: Michael Waskom & Lucy Liu\n# License: BSD 3 clause\n\nfrom __future__ import division, absolute_import, print_function\n\n\nimport numpy as np\nimport seaborn as sns\nimport matplotlib.pyplot as plt\n\n# Enforce the use of default set style\n\n# Create a noisy periodic dataset\ny_array = np.array([])\nx_array = np.array([])\nrs = np.random.RandomState(8)\nfor _ in range(15):\n x = np.linspace(0, 30 / 2, 30)\n y = np.sin(x) + rs.normal(0, 1.5) + rs.normal(0, .3, 30)\n y_array = np.append(y_array, y)\n x_array = np.append(x_array, x)\n\n# Plot the average over replicates with confidence interval\nsns.lineplot(y=y_array, x=x_array)\n# to avoid text output\nplt.show()"
30+
]
31+
}
32+
],
33+
"metadata": {
34+
"kernelspec": {
35+
"display_name": "Python 3",
36+
"language": "python",
37+
"name": "python3"
38+
},
39+
"language_info": {
40+
"codemirror_mode": {
41+
"name": "ipython",
42+
"version": 3
43+
},
44+
"file_extension": ".py",
45+
"mimetype": "text/x-python",
46+
"name": "python",
47+
"nbconvert_exporter": "python",
48+
"pygments_lexer": "ipython3",
49+
"version": "3.9.13"
50+
}
51+
},
52+
"nbformat": 4,
53+
"nbformat_minor": 0
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [],
10+
"source": [
11+
"%matplotlib inline"
12+
]
13+
},
14+
{
15+
"cell_type": "markdown",
16+
"metadata": {},
17+
"source": [
18+
"\n# Matplotlib example\n\nThis is taken from the sphinx gallery documentation :)\n"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": null,
24+
"metadata": {
25+
"collapsed": false
26+
},
27+
"outputs": [],
28+
"source": [
29+
"from __future__ import division, absolute_import, print_function\n\n\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# Enforce the use of default set style\n\n# Create data\nx = np.array([3,5,2,4])\ny = np.arange(4)\n\n# Plot the average over replicates\nf, ax = plt.subplots()\nax.plot(x, y)\nax.set_yticks([0,1,2,3])\nax.set_yticklabels(['A','B','C','D'])\nplt.show()"
30+
]
31+
}
32+
],
33+
"metadata": {
34+
"kernelspec": {
35+
"display_name": "Python 3",
36+
"language": "python",
37+
"name": "python3"
38+
},
39+
"language_info": {
40+
"codemirror_mode": {
41+
"name": "ipython",
42+
"version": 3
43+
},
44+
"file_extension": ".py",
45+
"mimetype": "text/x-python",
46+
"name": "python",
47+
"nbconvert_exporter": "python",
48+
"pygments_lexer": "ipython3",
49+
"version": "3.9.13"
50+
}
51+
},
52+
"nbformat": 4,
53+
"nbformat_minor": 0
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# -*- coding: utf-8 -*-
2+
r"""
3+
Matplotlib example
4+
===============
5+
6+
This is taken from the sphinx gallery documentation :)
7+
"""
8+
9+
10+
from __future__ import division, absolute_import, print_function
11+
12+
13+
import numpy as np
14+
import matplotlib.pyplot as plt
15+
16+
# Enforce the use of default set style
17+
18+
# Create data
19+
x = np.array([3,5,2,4])
20+
y = np.arange(4)
21+
22+
# Plot the average over replicates
23+
f, ax = plt.subplots()
24+
ax.plot(x, y)
25+
ax.set_yticks([0,1,2,3])
26+
ax.set_yticklabels(['A','B','C','D'])
27+
plt.show()
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
:orphan:
2+
3+
Example Sphinx Gallery
4+
=======================
5+
6+
Below is a gallery of examples
7+
8+
9+
.. raw:: html
10+
11+
<div class="sphx-glr-thumbnails">
12+
13+
14+
.. raw:: html
15+
16+
<div class="sphx-glr-thumbcontainer" tooltip="This is taken from the sphinx gallery documentation :)">
17+
18+
.. only:: html
19+
20+
.. image:: /built_examples/images/thumb/sphx_glr_plot_sample_thumb.png
21+
:alt: Matplotlib example
22+
23+
:ref:`sphx_glr_built_examples_plot_sample.py`
24+
25+
.. raw:: html
26+
27+
<div class="sphx-glr-thumbnail-title">Matplotlib example</div>
28+
</div>
29+
30+
31+
.. raw:: html
32+
33+
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates a Seaborn plot. Figures produced Matplotlib **and** by any package th...">
34+
35+
.. only:: html
36+
37+
.. image:: /built_examples/images/thumb/sphx_glr_plot_sample-1_thumb.png
38+
:alt: Seaborn example
39+
40+
:ref:`sphx_glr_built_examples_plot_sample-1.py`
41+
42+
.. raw:: html
43+
44+
<div class="sphx-glr-thumbnail-title">Seaborn example</div>
45+
</div>
46+
47+
48+
.. raw:: html
49+
50+
</div>
51+
52+
53+
.. toctree::
54+
:hidden:
55+
56+
/built_examples/plot_sample
57+
/built_examples/plot_sample-1
58+
59+
60+
.. only:: html
61+
62+
.. container:: sphx-glr-footer sphx-glr-footer-gallery
63+
64+
.. container:: sphx-glr-download sphx-glr-download-python
65+
66+
:download:`Download all examples in Python source code: built_examples_python.zip </built_examples/built_examples_python.zip>`
67+
68+
.. container:: sphx-glr-download sphx-glr-download-jupyter
69+
70+
:download:`Download all examples in Jupyter notebooks: built_examples_jupyter.zip </built_examples/built_examples_jupyter.zip>`
71+
72+
73+
.. only:: html
74+
75+
.. rst-class:: sphx-glr-signature
76+
77+
`Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_

0 commit comments

Comments
 (0)