Each python notebook should be numbered and contain a working example of StringCompare's features and usage.
The first notebook, 1-getting-started.ipynb, should walk the user through the installation of the package, the logical structure of the package, and simple examples (kind of like the package README does, but in a bit more detail).
Following notebooks should introduce more advanced features and use cases. For instance, we could cover how to learn the parameters of string comparison functions from data, how to do blocking to speed-up finding close matches, or how to feed string comparisons to a machine learning algorithm for fuzzy string matching. Any working example would be suitable here.
Ideas for specific user examples can be proposed by opening separate Github Issues.
The goal of user examples
There are three main goals to providing user examples in this way:
It provides users with a guide to working with the package and working code as a starting point.
It provides us (the developers) with motivating use cases and a playground on which to experiment with new functionality.
It provides us with a way to test end-to-end workflows involving the use of StringCompare. Formal tests are as simple as using pytest and the testbook package to automatically check that all notebooks run without error.
Create an examples folder structured as follows:
Each python notebook should be numbered and contain a working example of StringCompare's features and usage.
The first notebook,
1-getting-started.ipynb
, should walk the user through the installation of the package, the logical structure of the package, and simple examples (kind of like the package README does, but in a bit more detail).Following notebooks should introduce more advanced features and use cases. For instance, we could cover how to learn the parameters of string comparison functions from data, how to do blocking to speed-up finding close matches, or how to feed string comparisons to a machine learning algorithm for fuzzy string matching. Any working example would be suitable here.
Ideas for specific user examples can be proposed by opening separate Github Issues.
The goal of user examples
There are three main goals to providing user examples in this way:
pytest
and thetestbook
package to automatically check that all notebooks run without error.