Skip to content

Commit 8b69203

Browse files
authored
Merge pull request #183 from LibraryCarpentry/audience
clarify scope to emphasize circulation dataset
2 parents db507fc + 40f0e3e commit 8b69203

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎episodes/libraries.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exercises: 10
2525

2626
## Python libraries are powerful collections of tools.
2727

28-
A *Python library* is a collection of files (called *modules*) that contains functions that you can use in your programs. Some libraries (also referred to as packages) contain standard data values or language resources that you can reference in your code. So far, we have used the Python [standard library][stdlib], which is an extensive suite of built-in modules. You can find additional libraries from [PyPI][pypi] (the Python Package Index), though you'll often find references to useful libraries as you're reading tutorials or trying to solve specific programming problems. Some popular libraries for working with data in library fields are:
28+
A *Python library* is a collection of files (called *modules*) that contains functions that you can use in your programs. Some libraries (also referred to as packages) contain standard data values or language resources that you can reference in your code. So far, we have used the Python [standard library][stdlib], which is an extensive suite of built-in modules. You can find additional libraries from [PyPI][pypi] (the Python Package Index), though you'll often find references to useful libraries as you're reading tutorials or trying to solve specific programming problems. Though we do not have time to cover these all in this lesson, some popular libraries for working with data in library fields are:
2929

3030
- [Pandas](https://pandas.pydata.org/) - tabular data analysis tool.
3131
- [Pymarc](https://pypi.org/project/pymarc/) - for working with bibliographic data encoded in MARC21.

‎index.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ permalink: index.html
33
site: sandpaper::sandpaper_site
44
---
55
::::::::::::::::::::::::::::::::::::: instructor
6-
## Major lesson update: June 17, 2024
7-
The Python Intro for Libraries lesson had a major redesign on June 17, 2024. This new Python lesson features a different dataset (of library usage data), uses JupyterLab instead of Spyder, and most of the content was rewritten. If you were familiar with the previous version of the lesson and are planning to teach it again, please give yourself time to review the lesson in full as your prepare.
8-
6+
## Lesson scope
7+
The Python Intro for Libraries lesson focuses on library circulation data to introduce Python skills and concepts. Those Python fundamentals should be relevant for many other library use-cases, but the lesson does not provide direct examples of using Python with other relevant library data formats such as XML, JSON, or MARC.
98
:::::::::::::::::::::::::::::::::::::::::::::::::
109

11-
This lesson is an introduction to programming in Python for library and information workers with little or no previous programming experience (see the [Learner Profiles](profiles.html) for examples of the kinds of people who might benefit from this lesson). It uses examples that are relevant to a range of library use cases, and is designed as a prerequisite for other Python lessons that will be developed in the future (e.g., web scraping, APIs). The lesson uses the JupyterLab computing environment and Python 3.
10+
This lesson is an introduction to programming in Python for library and information workers with little or no previous programming experience (see the [Learner Profiles](profiles.html) for examples of the kinds of people who might benefit from this lesson). It uses library circulation data to introduce Python fundamentals, and is designed as a prerequisite for other Python lessons that we hope will be developed in the future (e.g., web scraping, APIs). The lesson uses the JupyterLab computing environment and Python 3.
1211

1312
:::::::::::::::::::::::::::::::::::::::::: prereq
1413

‎profiles/learner-profiles.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ title: LC Python Learner Profiles
44

55
Sarah runs circulation services at a large public library system. She's handy with ILS exports, but compiling monthly stats across dozens of branches still takes hours of tedious Excel copy-pasting. Learning Python loops and Pandas will help her aggregate those branch CSVs automatically so she can streamline her monthly reporting.
66

7+
While this lesson doesn't directly address other Python use-cases in libraries, the skills learned here should also be relevant for the following kinds of Python users:
8+
79
David is a community college assessment librarian who feels confident in spreadsheets, but has never written code. He's currently stuck wrestling with years of messy gate counts and inconsistent vendor stats, making this lesson's focus on JupyterLab and Pandas perfect for learning how to tidy up and plot his data.
810

911
Ling advises university faculty and students on data management, but doesn't write code herself. Mastering Python basics like lists, functions, and built-in help will allow her to read her researchers' scripts with confidence and run quick exploratory checks on repository datasets.

0 commit comments

Comments
 (0)