Releases: GLAM-Workbench/trove-newspapers
Releases · GLAM-Workbench/trove-newspapers
v1.3.4
v1.3.3
A few notebook changes and fixes:
- Fix problem with QueryPic where Voila caused an error when you tried to download the CSV or HTML results (Voila update seemed to do the job)
- Modify Save Page Image notebook so that it only requires an API key if you're searching for a particular date/newspaper
- Updated all packages and tested
v1.3.2
The Upload Trove newspapers to Omeka notebook has been updated to:
- use the omeka-s-tools package to interact with the Omeka API
- use the trove-newspaper-images package to download images of newspaper articles
By incorporating these two packages I've been able to remove a lot of code from the notebook. The basic examples and functions all remain the same.
v1.3.1
v1.3.0
Various updates relating to code quality and repository management:
- all Python packages updated to latest versions
- start managing requirements using
pip-tools
-- therequirements.txt
file is now generated fromrequirements.in
usingpip-tools
, this makes it easier to keep everything synchronised - added
requirements.in
file (see above) -- this contains the unpinned python packages used in this repo, so you can use this to install the latest versions of packages or to avoid problems with pinned versions in certain environments - added
requirements-dev.in
andrequirements-dev.txt
these can be used to install packages you might need if you're doing development work on this repository, including things like testing and qa - included
.pre-commit-config.yaml
andpyproject.toml
to configure testing and qa - all notebooks now undergo basic testing using
pytest
andnbval
-- at this stage the tests just make sure cells run without generating exceptions nbval-skip
tags have been added to some cells in notebooks to prevent execution in testing- if notebooks require Trove API keys to run, I've added some code to look for the API key in an environment variable -- this enables me to automate testing but also saves a lot of cutting and pasting of keys -- just create a
.env
file and setTROVE_API_KEY
to the value of your key - if notebooks are designed to run as web apps using Voila, I've added some code to create a simple test by setting basic parameters and then triggering the start button -- they only run if there's a
GW_STATUS
env variable set to 'dev'. - all notebooks are now formatted using
nbqa
,isort
,Black
, and checked againstFlake8
-- this should mean cleaner, more consistent code!
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
Notebooks added:
- Harvest information about newspaper issues
- QueryPic
- Gathering historical data about the addition of newspaper titles to Trove
Datasets added:
- Total number of issues per year for every newspaper in Trove
- Complete list of issues for every newspaper in Trove
- CSV formatted lists of newspaper titles in Trove
Other changes:
- Default index is now
index.ipynb
rather thanindex.md