From 00924c6b46c7cf09257b86315d26e5664f5cbad8 Mon Sep 17 00:00:00 2001 From: Ryan Soklaski Date: Sat, 9 Nov 2019 17:17:44 -0500 Subject: [PATCH] convert md to md directly with jupytext --- .../GettingStartedWithPython.md | 8 ++++---- .../Getting_Started_With_IDEs_and_Notebooks.md | 8 ++++---- .../Informal_Intro_Python.md | 8 ++++---- .../Installing_Python.md | 8 ++++---- .../Jupyter_Notebooks.md | 8 ++++---- .../Numerical_Work_In_Python.md | 4 ++-- .../SiteFormatting.md | 8 ++++---- .../Module2_EssentialsOfPython/Basic_Objects.md | 8 ++++---- .../ConditionalStatements.md | 8 ++++---- .../DataStructures.md | 8 ++++---- .../DataStructures_III_Sets_and_More.md | 8 ++++---- .../DataStructures_II_Dictionaries.md | 8 ++++---- Python/Module2_EssentialsOfPython/ForLoops.md | 8 ++++---- Python/Module2_EssentialsOfPython/Functions.md | 8 ++++---- .../Generators_and_Comprehensions.md | 8 ++++---- .../Module2_EssentialsOfPython/Introduction.md | 8 ++++---- Python/Module2_EssentialsOfPython/Iterables.md | 8 ++++---- Python/Module2_EssentialsOfPython/Itertools.md | 8 ++++---- .../Problems/DifferenceFanout.md | 8 ++++---- .../Problems/EncodeAsString.md | 8 ++++---- .../Problems/MarginPercentage.md | 8 ++++---- .../Problems/MergeMaxDicts.md | 8 ++++---- .../Problems/Palindrome.md | 8 ++++---- Python/Module2_EssentialsOfPython/Scope.md | 8 ++++---- .../Module2_EssentialsOfPython/SequenceTypes.md | 8 ++++---- .../Variables_and_Assignment.md | 8 ++++---- .../AccessingDataAlongMultipleDimensions.md | 8 ++++---- .../AdvancedIndexing.md | 8 ++++---- .../Module3_IntroducingNumpy/ArrayTraversal.md | 8 ++++---- .../BasicArrayAttributes.md | 8 ++++---- .../Module3_IntroducingNumpy/BasicIndexing.md | 8 ++++---- Python/Module3_IntroducingNumpy/Broadcasting.md | 8 ++++---- .../FunctionsForCreatingNumpyArrays.md | 8 ++++---- .../IntroducingTheNDarray.md | 8 ++++---- .../Problems/ComputeAccuracy.md | 8 ++++---- .../VectorizedOperations.md | 8 ++++---- Python/Module4_OOP/Applications_of_OOP.md | 8 ++++---- Python/Module4_OOP/Brief_Review.md | 8 ++++---- Python/Module4_OOP/ClassDefinition.md | 8 ++++---- Python/Module4_OOP/ClassInstances.md | 8 ++++---- Python/Module4_OOP/Inheritance.md | 8 ++++---- Python/Module4_OOP/Introduction_to_OOP.md | 8 ++++---- Python/Module4_OOP/Methods.md | 8 ++++---- Python/Module4_OOP/ObjectOrientedProgramming.md | 4 ++-- Python/Module4_OOP/Special_Methods.md | 8 ++++---- .../Module5_OddsAndEnds/Modules_and_Packages.md | 8 ++++---- Python/Module5_OddsAndEnds/WorkingWithFiles.md | 8 ++++---- Python/Module5_OddsAndEnds/Writing_Good_Code.md | 8 ++++---- README.md | 2 +- plymi.yml | 2 +- src/plymi/__init__.py | 17 +++++++++++++++-- 51 files changed, 205 insertions(+), 192 deletions(-) diff --git a/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md b/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md index 3728d2b0..88669eec 100644 --- a/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md +++ b/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Basic description of the Python programming language, Difficulty: Easy, Category: Background :keywords: python, install, basics, scripts, interpreter, foundations -``` + # Introducing the Python Programming Language diff --git a/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md b/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md index c1ada19f..ac2f716a 100644 --- a/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md +++ b/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Integrated Development Environments, Difficulty: Easy, Category: Tools :keywords: python, introduction, IDE, PyCharm, VSCode, Jupyter, recommendation, tools -``` + # Setting Up a Development Environment ## What You Will Learn diff --git a/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md b/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md index aa53eea6..d098134a 100644 --- a/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md +++ b/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Informal Introduction to Python, Difficulty: Easy, Category: Tutorial :keywords: python, installation, script, introduction, ipython, console, quick introduction -``` + # An Informal Introduction to Python Now that you have the Anaconda distribution of Python installed on your machine, let's write some simple Python code! We are going to forego writing a full Python script for now, and instead make use of a convenient tool for doing quick code scratchwork. The IPython console was installed as a part of Anaconda; it will allow us to build incrementally off of snippets of code, instead of having to execute an entire script all at once. diff --git a/Python/Module1_GettingStartedWithPython/Installing_Python.md b/Python/Module1_GettingStartedWithPython/Installing_Python.md index eb1e42bb..88c1e284 100644 --- a/Python/Module1_GettingStartedWithPython/Installing_Python.md +++ b/Python/Module1_GettingStartedWithPython/Installing_Python.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Installing Python with Anaconda, Difficulty: Easy, Category: Tutorial :keywords: python, anaconda, instructions, environments, beginner, data science, introduction -``` + ## Installing Python diff --git a/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md b/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md index 9b63e963..a93e98fc 100644 --- a/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md +++ b/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Jupyter notebooks, Difficulty: Easy, Category: Tutorial :keywords: jupyter, notebook, kernel, basics, server, console, command line, plot, beginner, data science -``` + # Jupyter Notebooks In recent years, the Jupyter Notebook has become a massively popular tool for doing research-oriented work in Python and other languages alike. Its emergence marked a paradigm shift in the way data science is conducted. diff --git a/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md b/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md index 5ec2450e..f68dab65 100644 --- a/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md +++ b/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md @@ -4,8 +4,8 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python diff --git a/Python/Module1_GettingStartedWithPython/SiteFormatting.md b/Python/Module1_GettingStartedWithPython/SiteFormatting.md index f5f71a49..0f38f692 100644 --- a/Python/Module1_GettingStartedWithPython/SiteFormatting.md +++ b/Python/Module1_GettingStartedWithPython/SiteFormatting.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Overview of formatting in Python Like You Mean It, Difficulty: Easy, Category: Instructions :keywords: overview, formatting, background, code block, console style -``` + # A Quick Guide to Formatting diff --git a/Python/Module2_EssentialsOfPython/Basic_Objects.md b/Python/Module2_EssentialsOfPython/Basic_Objects.md index aefed226..aad780e0 100644 --- a/Python/Module2_EssentialsOfPython/Basic_Objects.md +++ b/Python/Module2_EssentialsOfPython/Basic_Objects.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Basics of Python Objects, Difficulty: Easy, Category: Section :keywords: integers, booleans, floats, floating point precision, lists, strings, fundamentals -``` + # Basic Object Types diff --git a/Python/Module2_EssentialsOfPython/ConditionalStatements.md b/Python/Module2_EssentialsOfPython/ConditionalStatements.md index 95af737f..b6192abb 100644 --- a/Python/Module2_EssentialsOfPython/ConditionalStatements.md +++ b/Python/Module2_EssentialsOfPython/ConditionalStatements.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Conditional Statements, Difficulty: Easy, Category: Section :keywords: if, else, elif, inline if, switch statement, comparison operator, bool, truth, is operator -``` + # Conditional Statements diff --git a/Python/Module2_EssentialsOfPython/DataStructures.md b/Python/Module2_EssentialsOfPython/DataStructures.md index f7889e76..81631b47 100644 --- a/Python/Module2_EssentialsOfPython/DataStructures.md +++ b/Python/Module2_EssentialsOfPython/DataStructures.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Data Structures, Difficulty: Medium, Category: Section :keywords: Big-O, complexity, efficiency, algorithm, interview preparation, list, tuple, sequence -``` + # Data Structures (Part I): Introduction diff --git a/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md b/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md index 5cc59ade..9ac0a106 100644 --- a/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md +++ b/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Introduction to Sets, Difficulty: Medium, Category: Section :keywords: set, complexity, comparison, union, intersection, membership, hashing, lookup, interview preparation -``` + # Data Structures (Part III): Sets & the Collections Module diff --git a/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md b/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md index 5333500b..d3e9d010 100644 --- a/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md +++ b/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Introduction to Dictionaries, Difficulty: Medium, Category: Section :keywords: dictionary, complexity, key, value, iteration, get item, hashing, lookup, interview preparation -``` + # Data Structures (Part II): Dictionaries Python's dictionary allows you to store key-value pairs, and then pass the dictionary a key to quickly retrieve its corresponding value. Specifically, you construct the dictionary by specifying one-way mappings from key-objects to value-objects. **Each key must map to exactly one value**, meaning that a key must be unique. diff --git a/Python/Module2_EssentialsOfPython/ForLoops.md b/Python/Module2_EssentialsOfPython/ForLoops.md index 4b37e619..821c4d40 100644 --- a/Python/Module2_EssentialsOfPython/ForLoops.md +++ b/Python/Module2_EssentialsOfPython/ForLoops.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Contorl flow with for-loops and while-loops, Difficulty: Easy, Category: Section :keywords: for-loop, while-loop, break, control flow, basic programming -``` + # For-Loops and While-Loops In this section, we will introduce the essential "for-loop" control flow paradigm along with the formal definition of an "iterable". The utility of these items cannot be understated. Moving forward, you will likely find use for these concepts in nearly every piece of Python code that you write! diff --git a/Python/Module2_EssentialsOfPython/Functions.md b/Python/Module2_EssentialsOfPython/Functions.md index a2d8c6c5..e2ef9d11 100644 --- a/Python/Module2_EssentialsOfPython/Functions.md +++ b/Python/Module2_EssentialsOfPython/Functions.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Functions and Function Signatures, Difficulty: Medium, Category: Section :keywords: functions, *args, **kwargs, signature, default parameter, docstring, return, vowel count, syntax, basics -``` + # Basics of Functions diff --git a/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md b/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md index 7baae451..b424ed33 100644 --- a/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md +++ b/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: generators comprehensions and efficiency, Difficulty: Easy, Category: Section :keywords: generator, range, list comprehension, generator comprehension, nested comprehensions, inline for-loop, filtered, iterator -``` + # Generators & Comprehension Expressions
diff --git a/Python/Module2_EssentialsOfPython/Introduction.md b/Python/Module2_EssentialsOfPython/Introduction.md index 6bbf1be7..7f48f672 100644 --- a/Python/Module2_EssentialsOfPython/Introduction.md +++ b/Python/Module2_EssentialsOfPython/Introduction.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: introduction to control flow, Difficulty: Easy, Category: Section :keywords: overview, summary, if, else, function, for-loop, if, else, control flow -``` + # Introducing Control Flow diff --git a/Python/Module2_EssentialsOfPython/Iterables.md b/Python/Module2_EssentialsOfPython/Iterables.md index 5eb7fc49..2a53dcd7 100644 --- a/Python/Module2_EssentialsOfPython/Iterables.md +++ b/Python/Module2_EssentialsOfPython/Iterables.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: the basics of iterables in python, Difficulty: Medium, Category: Section :keywords: iterables, max, min, sum, all, any, itertools, enumerate, unpack -``` + # Iterables Our encounter with for-loops introduced the term *iterable* - an object that can be "iterated over", such as in a for-loop. diff --git a/Python/Module2_EssentialsOfPython/Itertools.md b/Python/Module2_EssentialsOfPython/Itertools.md index 3b6ec9eb..c4efa8f4 100644 --- a/Python/Module2_EssentialsOfPython/Itertools.md +++ b/Python/Module2_EssentialsOfPython/Itertools.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: simple use cases of python itertools, Difficulty: Easy, Category: Tutorial :keywords: itertools, examples, zip, range, enumerate, chain, combinations -``` + # Python's "Itertools" diff --git a/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md b/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md index e56ab94e..6bebd45f 100644 --- a/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md +++ b/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: For-Loop Exercise, Difficulty: Easy, Category: Practice Problem :keywords: for loops, list, function, list comprehension, practice problem -``` + diff --git a/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md b/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md index 19af2c47..589a81eb 100644 --- a/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md +++ b/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: String Encoding Exercise, Difficulty: Medium, Category: Practice Problem :keywords: function, string, casting, practice problem -``` + # Encode as String Sometimes it is very important to handle different input object types differently in a function. This problem will exercise your understanding of types, control-flow, dictionaries, and more. diff --git a/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md b/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md index d8b24c81..ddce8aeb 100644 --- a/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md +++ b/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Within Margin Exercise, Difficulty: Medium, Category: Practice Problem :keywords: function, control flow, comparisons, practice problem -``` + # Within Margin Percentage diff --git a/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md b/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md index f5293e78..95f9be13 100644 --- a/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md +++ b/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Dictionary Merge Exercise, Difficulty: Easy, Category: Practice Problem :keywords: dictionary, merge, practice problem -``` + # Merging Two Dictionaries diff --git a/Python/Module2_EssentialsOfPython/Problems/Palindrome.md b/Python/Module2_EssentialsOfPython/Problems/Palindrome.md index 4921dcbe..098fa12b 100644 --- a/Python/Module2_EssentialsOfPython/Problems/Palindrome.md +++ b/Python/Module2_EssentialsOfPython/Problems/Palindrome.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Palindrome Exercise, Difficulty: Easy, Category: Practice Problem :keywords: string, palindrome, practice problem -``` + # Is Palindrome diff --git a/Python/Module2_EssentialsOfPython/Scope.md b/Python/Module2_EssentialsOfPython/Scope.md index b784bdd4..15b6b594 100644 --- a/Python/Module2_EssentialsOfPython/Scope.md +++ b/Python/Module2_EssentialsOfPython/Scope.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: variable score and namespaces in python, Difficulty: Medium, Category: Section :keywords: variable, namespace, function, scope, shadowing -``` + # Scope diff --git a/Python/Module2_EssentialsOfPython/SequenceTypes.md b/Python/Module2_EssentialsOfPython/SequenceTypes.md index 25790196..2ada1cdd 100644 --- a/Python/Module2_EssentialsOfPython/SequenceTypes.md +++ b/Python/Module2_EssentialsOfPython/SequenceTypes.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: understanding python sequences, Difficulty: Easy, Category: Section :keywords: list, tuple, string, slice, index, negative index, get item, pop, append, examples -``` + # Sequence Types diff --git a/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md b/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md index 9e317466..0869b676 100644 --- a/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md +++ b/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: variable naming and assignment, Difficulty: Medium, Category: Section :keywords: variable naming, valid names, mutable, immutable, reference, pointer -``` + # Variables & Assignment diff --git a/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md b/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md index 85f78fe4..0287cbb7 100644 --- a/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md +++ b/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Indexing into multi-dimensional numpy arrays, Difficulty: Easy, Category: Section :keywords: numpy array, multidimensional, index, slice, negative index, rows, columns -``` + # Accessing Data Along Multiple Dimensions in an Array diff --git a/Python/Module3_IntroducingNumpy/AdvancedIndexing.md b/Python/Module3_IntroducingNumpy/AdvancedIndexing.md index cc91851d..101ed3d2 100644 --- a/Python/Module3_IntroducingNumpy/AdvancedIndexing.md +++ b/Python/Module3_IntroducingNumpy/AdvancedIndexing.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Advanced indexing with numpy arrays, Difficulty: Hard, Category: Section :keywords: numpy array, integer array indexing, boolean array indexing, copy indexing, advanced -``` + # Advanced Indexing diff --git a/Python/Module3_IntroducingNumpy/ArrayTraversal.md b/Python/Module3_IntroducingNumpy/ArrayTraversal.md index 115b2f34..da718d02 100644 --- a/Python/Module3_IntroducingNumpy/ArrayTraversal.md +++ b/Python/Module3_IntroducingNumpy/ArrayTraversal.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Numpy array traversal ordering, Difficulty: Medium, Category: Section :keywords: row-major order, c order, column-major order, f order, traversal, array iteration -``` + # Iterating Over Arrays & Array-Traversal Order In this section, you will learn: diff --git a/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md b/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md index 527ee446..1cee79bf 100644 --- a/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md +++ b/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Numpy array attributes, Difficulty: Easy, Category: Section :keywords: ndim, shape, size, itemsize, dtype, examples -``` + # Basic Array Attributes diff --git a/Python/Module3_IntroducingNumpy/BasicIndexing.md b/Python/Module3_IntroducingNumpy/BasicIndexing.md index 5e61cdab..fae04f4b 100644 --- a/Python/Module3_IntroducingNumpy/BasicIndexing.md +++ b/Python/Module3_IntroducingNumpy/BasicIndexing.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Numpy array basic indexing, Difficulty: Medium, Category: Section :keywords: basic index, slice, no copy index, multidimensional array, nd array, view, reverse, axis -``` + # Introducing Basic and Advanced Indexing diff --git a/Python/Module3_IntroducingNumpy/Broadcasting.md b/Python/Module3_IntroducingNumpy/Broadcasting.md index 41a8f5a6..2c68aea3 100644 --- a/Python/Module3_IntroducingNumpy/Broadcasting.md +++ b/Python/Module3_IntroducingNumpy/Broadcasting.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Numpy array broadcasting, Difficulty: Medium, Category: Section :keywords: broadcasting, vectorization, rules, mismatched shapes, distances -``` + # Array Broadcasting diff --git a/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md b/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md index 67f18ec4..2fac459f 100644 --- a/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md +++ b/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Creating numpy arrays, Difficulty: Easy, Category: Section :keywords: create array, ndarray, ones, random, zeros, empty, examples, arange, linspace, reshape, hstack, vstack -``` + # Functions for Creating NumPy Arrays diff --git a/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md b/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md index a5c0ffa8..b05dbfd9 100644 --- a/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md +++ b/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Introduction to numpy arrays, Difficulty: Easy, Category: Section :keywords: numpy array, ndarray, introduction, overview -``` + # Introducing the ND-array diff --git a/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md b/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md index a4e7323d..b2b59efa 100644 --- a/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md +++ b/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Measuring classification accuracy, Difficulty: Easy, Category: Practice Problem :keywords: numpy, vectorization, practice, machine learning, classifier -``` + # Measuring the Accuracy of a Classification Model diff --git a/Python/Module3_IntroducingNumpy/VectorizedOperations.md b/Python/Module3_IntroducingNumpy/VectorizedOperations.md index 48defb53..1c893ee6 100644 --- a/Python/Module3_IntroducingNumpy/VectorizedOperations.md +++ b/Python/Module3_IntroducingNumpy/VectorizedOperations.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Vectorized operations with numpy arrays, Difficulty: Easy, Category: Section :keywords: vectorize, optimized, calculation, numpy, fast, C routine, MKL, sum, linear algebra, optimized -``` + # "Vectorized" Operations: Optimized Computations on NumPy Arrays diff --git a/Python/Module4_OOP/Applications_of_OOP.md b/Python/Module4_OOP/Applications_of_OOP.md index fdb32205..fe93d859 100644 --- a/Python/Module4_OOP/Applications_of_OOP.md +++ b/Python/Module4_OOP/Applications_of_OOP.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Applications of object-oriented programming, Difficulty: Medium, Category: Section :keywords: summary, tutorial, python shopping list, object oriented, method, attribute -``` + # Applications of Object Oriented Programming diff --git a/Python/Module4_OOP/Brief_Review.md b/Python/Module4_OOP/Brief_Review.md index 94b3b9f1..29d35c97 100644 --- a/Python/Module4_OOP/Brief_Review.md +++ b/Python/Module4_OOP/Brief_Review.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Brief review of object oriented programming, Difficulty: Easy, Category: Tutorial :keywords: class definition, simple, examples, overview, init, initialize, type, object -``` + ## A Brief Summary of Terms and Concepts diff --git a/Python/Module4_OOP/ClassDefinition.md b/Python/Module4_OOP/ClassDefinition.md index 77bb461c..6419727b 100644 --- a/Python/Module4_OOP/ClassDefinition.md +++ b/Python/Module4_OOP/ClassDefinition.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: The rules for defining classes in python, Difficulty: Easy, Category: Section :keywords: class definition, scope, class object, attribute, method -``` + diff --git a/Python/Module4_OOP/ClassInstances.md b/Python/Module4_OOP/ClassInstances.md index a7cfbe96..7d5cc65c 100644 --- a/Python/Module4_OOP/ClassInstances.md +++ b/Python/Module4_OOP/ClassInstances.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Class instances versus objects, Difficulty: Medium, Category: Section :keywords: instance, class creation, init, self, isinstance -``` + # Instances of a Class diff --git a/Python/Module4_OOP/Inheritance.md b/Python/Module4_OOP/Inheritance.md index 95eda792..95114973 100644 --- a/Python/Module4_OOP/Inheritance.md +++ b/Python/Module4_OOP/Inheritance.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Class inheritance, Difficulty: Easy, Category: Section :keywords: inherit, object oriented, overwrite, sub class, issubclass -``` + # Inheritance diff --git a/Python/Module4_OOP/Introduction_to_OOP.md b/Python/Module4_OOP/Introduction_to_OOP.md index a3e21e44..e061c9c9 100644 --- a/Python/Module4_OOP/Introduction_to_OOP.md +++ b/Python/Module4_OOP/Introduction_to_OOP.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Introducing object oriented programming in python, Difficulty: Easy, Category: Section :keywords: class, type, creation, definition, intro, overview, basics, meaning -``` + # Introduction to Object Oriented Programming diff --git a/Python/Module4_OOP/Methods.md b/Python/Module4_OOP/Methods.md index 3e30d16e..92d9723a 100644 --- a/Python/Module4_OOP/Methods.md +++ b/Python/Module4_OOP/Methods.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: The different kinds of class methods, Difficulty: Medium, Category: Section :keywords: instance, class method, static method, property, abstract method, class funtion -``` + # Methods diff --git a/Python/Module4_OOP/ObjectOrientedProgramming.md b/Python/Module4_OOP/ObjectOrientedProgramming.md index 5138eb49..38c90c9f 100644 --- a/Python/Module4_OOP/ObjectOrientedProgramming.md +++ b/Python/Module4_OOP/ObjectOrientedProgramming.md @@ -4,8 +4,8 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python diff --git a/Python/Module4_OOP/Special_Methods.md b/Python/Module4_OOP/Special_Methods.md index c1e9c780..45a91811 100644 --- a/Python/Module4_OOP/Special_Methods.md +++ b/Python/Module4_OOP/Special_Methods.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Controlling behavior with special methods, Difficulty: Medium, Category: Section :keywords: dunder method, special method, operator overload, repr, getitem, custom syntax, __init__ -``` + # Special Methods diff --git a/Python/Module5_OddsAndEnds/Modules_and_Packages.md b/Python/Module5_OddsAndEnds/Modules_and_Packages.md index 40a39915..f7027a9d 100644 --- a/Python/Module5_OddsAndEnds/Modules_and_Packages.md +++ b/Python/Module5_OddsAndEnds/Modules_and_Packages.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Understanding imports modules and packages, Difficulty: Easy, Category: Section :keywords: custom package, module, script, import, setup, pip, conda, relative import, absolute import -``` + # Import: Modules and Packages diff --git a/Python/Module5_OddsAndEnds/WorkingWithFiles.md b/Python/Module5_OddsAndEnds/WorkingWithFiles.md index e8fce932..0693aed5 100644 --- a/Python/Module5_OddsAndEnds/WorkingWithFiles.md +++ b/Python/Module5_OddsAndEnds/WorkingWithFiles.md @@ -4,19 +4,19 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python name: python3 --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Working with aths and files, Difficulty: Medium, Category: Section :keywords: open file, read file, pathlib, join directory, context manager, close file, rb, binary file, utf-8, encoding, pickle, numpy, load, archive, npy, npz, pkl, glob, read lines, write, save -``` + # Working with Files This section will discuss the best practices for writing Python code that involves reading from and writing to files. We will learn about the built-in `pathlib.Path` object, which will help to ensure that the code that we write is portable across operating systems (OS) (e.g. Windows, MacOS, Linux). We will also be introduced to a *context manager*, `open`, which will permit us to read-from and write-to a file safely; by "safely" we mean that we will be assured that any file that we open will eventually be closed properly, so that it will not be corrupted even in the event that our code hits an error. Next, we will learn how to "glob" for files, meaning that we will learn to search for and list files whose names match specific patterns. Lastly, we will briefly encounter the `pickle` module which allows us to save (or "pickle") and load Python objects to and from your computer's file system. diff --git a/Python/Module5_OddsAndEnds/Writing_Good_Code.md b/Python/Module5_OddsAndEnds/Writing_Good_Code.md index 2ae43b2b..ea9453ff 100644 --- a/Python/Module5_OddsAndEnds/Writing_Good_Code.md +++ b/Python/Module5_OddsAndEnds/Writing_Good_Code.md @@ -4,8 +4,8 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.1' - jupytext_version: 1.1.0-rc0 + format_version: '1.2' + jupytext_version: 1.3.0rc1 kernelspec: display_name: Python 3 language: python @@ -13,11 +13,11 @@ jupyter: --- -```raw_mimetype="text/restructuredtext" + .. meta:: :description: Topic: Writing good code, Difficulty: Easy, Category: Section :keywords: pep8, code style, lint, format, best practices, type hint, documentation, numpydoc, sphinx, typing, annotation, whitespace -``` + # Writing Good Code diff --git a/README.md b/README.md index 83953534..52a4bcef 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Once this environment is created activate it. You may need to manually install a ```shell pip install sphinx-rtd-theme==0.4.3 -pip install jupytext==1.1.1 +pip install jupytext==1.3.0rc1 ``` Using this environment, you should now be able to run sphinx to build the html for this site from the source-code. To do this, navigate to the directory named Python in this repository, and then run: diff --git a/plymi.yml b/plymi.yml index deff2655..6190dd63 100644 --- a/plymi.yml +++ b/plymi.yml @@ -111,7 +111,7 @@ dependencies: - docutils==0.14 - idna==2.8 - imagesize==1.1.0 - - jupytext==1.1.1 + - jupytext==1.3.0rc1 - mock==2.0.0 - numpydoc==0.9.1 - pbr==5.2.0 diff --git a/src/plymi/__init__.py b/src/plymi/__init__.py index 0e8ab93c..94e0fe80 100644 --- a/src/plymi/__init__.py +++ b/src/plymi/__init__.py @@ -111,7 +111,7 @@ def convert_all_markdown_to_ipynb( root: Union[str, Path], verbose: bool = True, excluded_file_names=frozenset() ): assert all(name.endswith(".md") for name in excluded_file_names) - return _convert_all( + _convert_all( root=root, verbose=verbose, file_getter=get_all_markdown_files, @@ -120,13 +120,26 @@ def convert_all_markdown_to_ipynb( ) +def convert_all_markdown_to_markdown( + root: Union[str, Path], verbose: bool = True, excluded_file_names=frozenset() +): + assert all(name.endswith(".md") for name in excluded_file_names) + _convert_all( + root=root, + verbose=verbose, + file_getter=get_all_markdown_files, + destination_format="markdown", + excluded_file_names=excluded_file_names, + ) + + def convert_all_ipynb_to_markdown( root: Union[str, Path], verbose: bool = True, excluded_file_names=frozenset(excluded_notebook_names), ): assert all(name.endswith(".ipynb") for name in excluded_file_names) - return _convert_all( + _convert_all( root=root, verbose=verbose, file_getter=get_all_notebook_files,