Skip to content

Commit f0be7dd

Browse files
committed
Fix: more content on the packaging landing page
1 parent 67a9c56 commit f0be7dd

File tree

7 files changed

+81
-79
lines changed

7 files changed

+81
-79
lines changed

_data/navigation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ main:
1515
- title: "Peer review guide"
1616
url: "https://www.pyopensci.org/software-peer-review/"
1717
icon: "fas fa-external-link-alt"
18-
- title: "Python package guide"
19-
url: "https://www.pyopensci.org/python-package-guide/"
20-
icon: "fas fa-external-link-alt"
2118
- title: "Python Packaging"
2219
icon: "fas fa-fw fa-envelope-square"
2320
url:
2421
sub-nav:
2522
- title: "Packaging help"
2623
icon:
27-
url: "python-packaging-help.html"
24+
url: "python-packaging-for-science.html"
2825
- title: "Our packages"
2926
icon:
3027
url: "/python-packages/"
28+
- title: "Python package guide"
29+
url: "https://www.pyopensci.org/python-package-guide/"
30+
icon: "fas fa-external-link-alt"
3131
- title: "Blog"
3232
url: "/blog/index.html"
3333
- title: "Community"

_packaging/documentation.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: "Documentation"
3-
excerpt: "
4-
More."
3+
excerpt: "Learn about best practices for developing documentation for your Python package."
54
learning_objectives:
65
subpages:
7-
- name: Package structure
8-
url: https://www.pyopensci.org/python-package-guide/package-structure-code/intro.html
9-
- name: Build tools package
10-
url: https://www.pyopensci.org/python-package-guide/package-structure-code/intro.html
6+
- name: Documentation Overview
7+
url: https://www.pyopensci.org/python-package-guide/documentation/index.html#
8+
- name: Document your code (API docs)
9+
url: https://www.pyopensci.org/python-package-guide/documentation/write-user-documentation/document-your-code-api-docstrings.html
10+
- name: Package tutorials
11+
url: https://www.pyopensci.org/python-package-guide/documentation/write-user-documentation/create-package-tutorials.html
1112
url:
1213
---

_packaging/publish-python-package.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Publish your scientific Python package"
3+
excerpt: "
4+
Learn more about the publishing options for your Python package including publishing on PyPI and the conda-forge channel of conda."
5+
learning_objectives:
6+
subpages:
7+
- name: Publish to PyPI and Conda
8+
url: https://www.pyopensci.org/python-package-guide/package-structure-code/publish-python-package-pypi-conda.html#
9+
- name: Versioning your package
10+
url: https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-versions.html
11+
- name: Code style and format
12+
url: https://www.pyopensci.org/python-package-guide/package-structure-code/code-style-linting-format.html
13+
url:
14+
---

_packaging/tests.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
title: "Python package tests"
33
excerpt: "
4-
More."
4+
Learn more about the importance of writing tests for your Python package and how you can setup infrastructure to run your tests both locally and on GitHub."
55
learning_objectives:
66
subpages:
7-
- name: Write tests
8-
url: https://www.pyopensci.org/python-package-guide/package-structure-code/intro.html
9-
- name: Types
10-
url: https://www.pyopensci.org/python-package-guide/package-structure-code/intro.html
7+
- name: Introduction to writing tests
8+
url: https://www.pyopensci.org/python-package-guide/tests/index.html
9+
- name: Write tests for your Python package
10+
url: https://www.pyopensci.org/python-package-guide/tests/write-tests.html
11+
- name: Three types of types for your Python package
12+
url: https://www.pyopensci.org/python-package-guide/tests/test-types.html
1113
url:
1214
---

_pages/packaging-resources.md

Lines changed: 41 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,57 @@
11
---
22
layout: splash
33
classes: flowing
4-
permalink: /python-packaging-help.html
5-
title: "Python packaging help and resources"
4+
permalink: /python-packaging-for-science.html
5+
title: "Python packaging resources for scientists"
66
excerpt: "We make the scientific Python package ecosystem easier to navigate through peer review and packaging resources."
77
header:
88
overlay_image: images/header.jpg
99
overlay_filter: 0.8
1010
intro:
11-
- excerpt: "More here on community packaging."
12-
scientists:
11+
- excerpt: "There are many tools and approaches that can be used to create a Python package. We build resources that help you both understand the tool ecosystem and also learn how to create a Python package using modern best practices."
12+
peer-review:
1313
- image_path: images/pyopensci-people-at-computer.jpg
1414
alt: "A pencil sketch of a round table with people from different backgrounds sitting around it, working on laptops and also writing together."
15-
excerpt: "Our catalog of vetted open source tools makes it easier for scientists to find the trusted tools that they need to develop their open science workflows."
16-
title: "Help scientists find the open science tools that they need"
17-
url: https://www.pyopensci.org/python-packages.html
18-
btn_label: View our growing list of accepted scientific Python packages
15+
excerpt: "We run an open peer review process for scientific Python software. Peer review helps maintainers improve the quality, usability and long-term maintainability of scientific software."
16+
title: Raising the bar for scientific Python software"
17+
url: https://www.pyopensci.org/about-peer-review/index.html
18+
btn_label: Learn more and get involved with peer review today.
1919
btn_class: btn--primary
2020
packaging-easier:
2121
- image_path: images/people-building-blocks.jpg
2222
alt: "A group of people working on a tetris like set of building blocks, trying to stack the blocks together. "
23-
title: "Contribute to our packaging resources"
24-
excerpt: "More about our review process, with links:
23+
title: "Get Involved: Help us improve our scientific Python packaging resources"
24+
excerpt: "
25+
We need your help! Our packaging content is community-created and reviewed through an open review process on GitHub. The more feedback that we get, the more useful our resources are to the community. Get involved by:
2526
26-
* More
27+
* Opening an issue about problems that you find in our guidebook
2728
28-
* More
29+
* Submitting a pull request that fixes a typo or mistake in the guide.
30+
31+
* Get credit for your contribution
32+
33+
34+
All contributions are recognized both on our website and in the guidebook's citation.
2935
"
30-
url: https://www.pyopensci.org/python-package-guide
31-
btn_label: View our Python packaging guide
36+
url: https://github.com/pyOpenSci/python-package-guide/pulls
37+
btn_label: See what we're working on now
3238
btn_class: btn--primary
33-
partnership_benefits:
34-
- image_path: /images/peer-review/pyos-partnerships-peer-review.png
35-
alt: "Diagram with a light purple background. On the left there is the pyOpenSci purple flower and it says accepted with a check mark above. There are two arrows leading to boxes on the right. The top box says JOSS published with a check next to it and the JOSS logo. The box below says Community Affiliated with a check. The boxes are numbered 1,2,3. "
36-
excerpt: "
37-
Through a single review process, community maintainers:
39+
community-created:
40+
- image_path: images/pyopensci-people-working-together.png
41+
alt: "A group of people working on a tetris like set of building blocks, trying to stack the blocks together. "
42+
title: "Community created Python Packaging Guide"
43+
excerpt: "
44+
Our packaging guide is a living document that will help you navigate the Python packaging ecosystem and also learn about modern Python packaging best practices.
45+
46+
* Created & curated by the community
3847
39-
* Have their package accepted into the pyOpenSci ecosystem
48+
* Reviewed by beginner to expert level Pythonistas
4049
41-
* Can be [published in JOSS (if in scope)](https://www.pyopensci.org/software-peer-review/partners/joss.html#)
50+
* Accurate, modern & beginner-friendly
4251
43-
* Can become an affiliated package with your community, following your community guidelines.
4452
45-
* Are supported in maintaining their tools, with input from our diverse, knowledgeable community, including active members from across the Python, Conda, PyPA and broader Python packaging ecosystem."
46-
title: "Benefits of partnering with us"
53+
All contributions are recognized both on our website and in the guidebook's citation.
54+
"
4755
toc: false
4856
---
4957

@@ -52,9 +60,9 @@ toc: false
5260
<div class="pyos-section purple">
5361
<div class="content" markdown="1">
5462

55-
## Check out our Python Packaging guidebook pages
63+
{% include feature_row id="community-created" type="right" %}
5664

57-
They've been reviewed.. etc etc...
65+
### Guidebook sections
5866

5967
<div class="entries-grid">
6068
{% for atutorial in site.packaging %}
@@ -64,8 +72,6 @@ They've been reviewed.. etc etc...
6472

6573
<div class="clearfix"></div>
6674

67-
More here
68-
6975
</div>
7076
</div>
7177

@@ -74,9 +80,11 @@ More here
7480
<div class="pyos-section">
7581
<div class="content" markdown="1">
7682

77-
## Check out our Python Packaging tutorials
83+
## Python packaging 101
7884

79-
We are currently developing a beginner-friendly packaging tutorial series.
85+
Beginner-friendly Python packaging tutorials that will take you through
86+
the full process of creating a Python package following modern best
87+
practices.
8088

8189
<div class="entries-grid">
8290
{% for atutorial in site.tutorials %}
@@ -86,27 +94,7 @@ We are currently developing a beginner-friendly packaging tutorial series.
8694

8795
<div class="clearfix"></div>
8896

89-
More here:
90-
91-
</div>
92-
</div>
93-
94-
{% include div_purple_top.html %}
95-
96-
<div class="pyos-section purple" markdown="1">
97-
<div class="content" markdown="1">
98-
{% include feature_row id="scientists" type="left" %}
99-
100-
</div>
101-
</div>
102-
10397

104-
{% include div_purple_bottom.html %}
105-
106-
<div class="pyos-section" markdown="1">
107-
<div class="content" markdown="1">
108-
109-
SDFSDF
11098

11199
</div>
112100
</div>
@@ -115,31 +103,20 @@ SDFSDF
115103

116104
<div class="pyos-section purple" markdown="1">
117105
<div class="content" markdown="1">
118-
119106
{% include feature_row id="packaging-easier" type="left" %}
120107

121108
</div>
122109
</div>
123110

124-
{% include div_purple_bottom.html %}
125111

126-
<div class="pyos-section" markdown="1">
127-
<div class="content" markdown="1">
128-
{% include feature_row id="community" type="right" %}
129-
</div>
130-
</div>
112+
{% include div_purple_bottom.html %}
131113

132114
<div class="pyos-section" markdown="1">
133115
<div class="content" markdown="1">
134-
## Raising the bar for Scientific Python software
135116

117+
{% include feature_row id="peer-review" type="right" %}
136118

137119
</div>
138120
</div>
139121

140-
<div class="pyos-section purple" markdown="1">
141-
<div class="content" markdown="1">
142-
143-
144-
</div>
145-
</div>
122+
{% include div_purple_top.html %}

_tutorials/make-code-installable.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "Make your Python code installable"
3+
excerpt: "
4+
This lesson teaches you how to create the most basic version of a Python package. You will learn how to make your code installable into a Python environment."
5+
learning_objectives:
6+
- "Understand what a Python package is"
7+
url: https://www.pyopensci.org/python-package-guide/tutorials/intro.html
8+
---
298 KB
Loading

0 commit comments

Comments
 (0)