Skip to content
30 changes: 15 additions & 15 deletions _data/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter: leahawasser
mastodon: https://fosstodon.org/@leahawasser
orcidid: 0000-0002-8177-6550
Expand Down Expand Up @@ -170,7 +170,7 @@
deia_advisory: false
editorial_board:
emeritus_editor:
advisory: false
advisory: true
emeritus_advisory:
twitter:
mastodon:
Expand Down Expand Up @@ -315,7 +315,7 @@
editorial_board:
emeritus_editor: true
advisory: true
emeritus_advisory: true
emeritus_advisory: false
twitter: xmnlab
mastodon:
orcidid: 0000-0001-5049-4289
Expand Down Expand Up @@ -394,9 +394,9 @@
date_added: '2023-01-18'
deia_advisory: false
editorial_board:
emeritus_editor:
advisory: true
emeritus_advisory:
emeritus_editor: false
advisory: false
emeritus_advisory: true
twitter:
mastodon:
orcidid:
Expand All @@ -423,7 +423,7 @@
editorial_board:
emeritus_editor:
advisory: false
emeritus_advisory:
emeritus_advisory: true
twitter: lindsey_jh
mastodon:
orcidid:
Expand Down Expand Up @@ -534,7 +534,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter: arianemsasso
mastodon:
orcidid:
Expand Down Expand Up @@ -651,7 +651,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter:
mastodon:
orcidid:
Expand Down Expand Up @@ -721,7 +721,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter: underdarkGIS
mastodon:
orcidid:
Expand Down Expand Up @@ -824,7 +824,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter:
mastodon:
orcidid:
Expand Down Expand Up @@ -2572,7 +2572,7 @@
editorial_board: false
emeritus_editor: true
advisory: false
emeritus_advisory: true
emeritus_advisory: false
twitter: jbencook
mastodon:
orcidid:
Expand Down Expand Up @@ -5799,7 +5799,7 @@
github_image_id: 709020
title:
- Editor
sort: 1
sort: 2
bio:
organization:
date_added:
Expand Down Expand Up @@ -6976,12 +6976,12 @@
github_username: NimaSarajpoor
github_image_id: 38519522
title:
sort:
sort: 2
bio: Data Scientist | OSS Contributor | Philomath
organization:
date_added: '2024-07-04'
deia_advisory: false
editorial_board:
editorial_board: true
emeritus_editor:
advisory: false
emeritus_advisory:
Expand Down
2 changes: 2 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ main:
url: "learn.html"
- title: Blog
url: "/blog/index.html"
- title: Events
url: "/events/index.html"
- title: Ask a question
url: "https://pyopensci.discourse.group/"
icon: "fa-brands fa-discourse"
Expand Down
18 changes: 13 additions & 5 deletions _includes/archive-cards.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
<article>
<a href="{{ post.url | relative_url l}}">
<div class="cards">
{% if post.feature_img %}
<img src="{{ post.feature_img | relative_url }}" alt="{{ post.feature_alt }}">
{% if post.header.overlay_image %}
<div class="card__header" style="background-image: url('{{ post.header.overlay_image | relative_url }}');">
{% if post.feature_img %}
<img src="{{ post.feature_img | relative_url }}" alt="{{ post.feature_alt }}">
{% endif %}
</div>
{% else %}
<div class="card__header card__header-color-{{ color_counter }}">
</div>
{% endif %}

<div class="card__bkg">
<h3 class="card-title">{{ post.title | markdownify | strip_html }}</h3>
<div class="card__title-container">
<h3 class="card-title">{{ post.title | markdownify | strip_html }}</h3>
</div>
</div>
<div class="card-excerpt">
<p>{{ post.excerpt | truncate: 180}}</p>
<p>{{ post.excerpt }}</p>
</div>
</div>
</a>
Expand Down
33 changes: 33 additions & 0 deletions _includes/event-cards.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<article class="event-card">
<a href="{{ post.url | relative_url }}">
<div class="event-card__content">
<div class="event-card__date">
{% if posttime > nowunix %}
<!-- Style upcoming events to be more vibrant -->
<div class="event-card__date-background" style="background-image: linear-gradient(rgba(20, 13, 36, 0.8), rgba(20, 13, 36, 0.8)), url('{{ post.header.overlay_image | relative_url }}');"></div>
{% else %}
<div class="event-card__date-background" style="background-image: url('{{ post.header.overlay_image | relative_url }}');"></div>
{% endif %}

<div class="event-card__date-text">
{% assign start_date = post.event.start_date | date: "%d" %}
{% assign end_date = post.event.end_date | date: "%d" %}
{% assign start_month = post.event.start_date | date: "%b" %}
{% assign start_year = post.event.start_date | date: "%Y" %}
{% if end_date and end_date != start_date %}
<span> {{ start_date }}-{{ end_date }}</span>
{% else %}
<span>{{ start_date }}</span>
{% endif %}
<span>{{ start_month }}</span>
<span>{{ start_year }}</span>
</div>
</div>
<div class="event-card__details">
<h3 class="event-card__title">{{ post.title | markdownify | strip_html }}</h3>
<p>{{ post.excerpt }}</p>
<a href="{{ post.url | relative_url }}" class="event-card__button">Learn More</a>
</div>
</div>
</a>
</article>
70 changes: 70 additions & 0 deletions _layouts/posts_events.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
layout: archive
---


{{ content }}


<h2>Upcoming events</h2>

{% assign all_events = site.posts
| where_exp: "item", "item.hidden != true"
| where_exp: "item", "item.categories contains 'events'"
%}

{% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %}

{% for post in all_events %}

{% assign start_date = post.event.start_date | date: "%Y-%m-%d" %}
{% capture posttime %}{{ start_date | date: '%s'}}{% endcapture %}

{% if posttime > nowunix %}
<div class="upcoming">
{% include event-cards.html %}
</div>
{% endif %}

{% endfor %}


<h2>Past events</h2>

<ul class="taxonomy__index">
{% assign eventsInYear = site.posts
| where_exp: "item", "item.hidden != true"
| where_exp: "item", "item.categories contains 'events'"
| group_by_exp: 'post', 'post.event.start_date | date: "%Y"'
%}
{% for year in eventsInYear %}

<li>
<a href="#{{ year.name }}">
<strong>{{ year.name }}</strong> <!--<span class="taxonomy__count">{{ year.items | size }}</span> -->
</a>
</li>
{% endfor %}
</ul>

{% assign entries_layout = page.entries_layout | default: 'list' %}
{% assign eventsByYear = site.posts
| where_exp: "item", "item.hidden != true"
| where_exp: "item", "item.categories contains 'events'"
| group_by_exp: 'post', 'post.event.start_date | date: "%Y"'
%}

{% for year in eventsByYear %}
<section id="{{ year.name }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ year.name }}</h2>
<div class="event__grid">
{% for post in year.items %}
{% capture posttime %}{{ post.event.start_date | date: '%s'}}{% endcapture %}
{% if posttime < nowunix %}
{% include event-cards.html %}
{% endif %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endfor %}
13 changes: 12 additions & 1 deletion _layouts/posts_gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,25 @@
{% endfor %}
</ul>

{% assign color_counter = 0 %} <!-- Initialize the counter once, outside the loop -->
{% assign color_max = 4 %} <!-- Set the max number of colors -->


{% assign entries_layout = page.entries_layout | default: 'list' %}
{% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsByYear %}
<section id="{{ year.name }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ year.name }}</h2>
<div class="blog__grid">
{% for post in year.items %}
{% include archive-cards.html %}
{% unless post.header.overlay_image %}
{% assign color_counter = color_counter | plus: 1 %}
{% if color_counter == color_max %}
<!-- Reset the counter -->
{% assign color_counter = 0 %}
{% endif %}
{% endunless %}
{% include archive-cards.html color_counter=color_counter %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
Expand Down
3 changes: 2 additions & 1 deletion _pages/blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ excerpt: "Here we will both post updates about pyOpenSci and also highlight cont
header:
overlay_color: "#666"
overlay_filter: 0.6
overlay_image: images/headers/pyopensci-learn-header.png
author_profile: false
---

## Recent pyOpenSci Posts!
## Recent pyOpenSci Posts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete exuberance (breaking change) <3

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sneakers-the-rat best review comment ever.

<!--
{% comment %}
{% include base_path %}
Expand Down
14 changes: 14 additions & 0 deletions _pages/events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: posts_events
permalink: /events/
classes: wide
title: "pyOpenSci Events"
excerpt: "pyOpenSci holds events that support scientists developing open science skills."
header:
overlay_image: images/headers/scipy-2024-workshop.png
overlay_filter: rgba(20, 13, 36, 0.8)
author_profile: false
---

pyOpenSci runs free and paid training events that teach skills that scientists need
to make their science more open and collaborative.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: single
title: "pyOpenSci Online Workshop: Create your first Python package"
excerpt: "Python packaging can be tricky to navigate. pyOpenSci will lead a pilot workshop on creating your first Python package. The goal of this workshop is to help scientists learn how to package and make code installable and shareable. Read on to learn more!"
event:
start_date: 2024-04-29
cost: 10$
location: Online
permalink: /events/april-2024-create-python-package-pyopensci-online-workshop.html
header:
overlay_image: images/headers/scipy-2024-workshop.png
overlay_filter: rgba(20, 13, 36, 0.8)
categories:
- events
start_date: 2024-04-29
classes: wide
type: "event"
comments: true
---

## Create your first Python package: make your Python code easier to share and use

* **What:** A hands-on workshop, titled: [Create Your First Python Package: Make Your Python Code Easier to Share and Use](https://cfp.scipy.org/2024/talk/QT9GBY/)
* **Where:** [SciPy 2024](https://www.scipy2024.scipy.org/), Ballroom B/C
* **When:** Tuesday, July 9th, 2024, from 13:30--17:30 Pacific
* Resources:
* [**Workshop GitHub repository:**](https://github.com/pyOpenSci/code-to-module-workshop/)
* [**pyOpenSci demo package:**](https://github.com/pyOpenSci/pyosPackage)

## Event overview

## How to enroll
<figure>
<a href="/images/blog/2024/april/pyos-code-to-mod.png">
<img src="/images/blog/2024/april/pyos-code-to-mod.png" style="max-width:100%" alt="A line art robot standing in a field of purple flowers. The text reads 'From Python Code to Module, a live, online workshop with pyOpenSci, Thursday, April 25th 2024'.">
</a>
<figcaption>
Tickets for our "From Python Code to Module" workshop are selling fast - get yours today!
</figcaption>
</figure>

If you’re interested in participating in our first paid, online, real-time training, sign up for our upcoming workshop: [“From Python Code to Module”](https://www.eventbrite.com/e/879586546037?aff=oddtdtcreator). This three hour course is intended for individuals who have experience writing Python code and Python functions, and will be taught by pyOpenSci’s Executive Director and founder, [Leah Wasser](https://github.com/lwasser). Leah has over 20 years of experience teaching data-intensive science with an emphasis helping scientists work through the pain points of working with different types of data, and puts an incredible amount of care and attention into ensuring each learner is successful in their educational goals. This is definitely a workshop you don’t want to miss!

In this workshop, Leah will cover:

- How to identify and explain the use of the basic components of a Python package: (a specific directory structure, an __init__.py file, a pyroject.toml file and some code).
- Creating a basic python package that allows you to install your code into a local Python environment.
- Installing your package in editable mode into a Python environment.

She will also briefly discuss how LLM’s can be used to support tasks such as documenting and formatting your code to improve usability and maintainability. While also considering the ethical and logistical challenges, pitfalls and concerns associated with using AI-based tools in software development.

The course will take place on Thursday, April 25th, from 10AM–1PM Mountain time, and use the Spatial Chat platform. Tickets are $10, and can be purchased on [the workshop’s Eventbrite page](https://www.eventbrite.com/e/from-python-code-to-module-tickets-879586546037?aff=oddtdtcreator). The class size is capped at 35, and tickets are selling fast–we hope to see you there!

## Connect with us!
You can stay up-to-date with all things pyOpenSci by following us on [LinkedIn](https://www.linkedin.com/company/pyopensci) and [Fosstodon](https://fosstodon.org/@pyOpenSci), and you can connect with the broader pyOpenSci community on [our Discourse forum](https://pyopensci.discourse.group/). And if you’re interested in our weekly newsletter where we share news, blog posts, and monthly updates, [subscribe on LinkedIn](https://www.linkedin.com/newsletters/pyopensci-newsletter-7179551305344933888!)
Loading