Skip to content

Commit

Permalink
Merge pull request #26 from GLAM-Workbench/update
Browse files Browse the repository at this point in the history
Update repository, add metadata, add notebook to get images from coll…
  • Loading branch information
wragge committed Apr 24, 2024
2 parents 2ed5ee3 + 7b1e390 commit de3f398
Show file tree
Hide file tree
Showing 22 changed files with 2,726 additions and 745 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ cats.csv
a116159h.jpg
d1_10099h.jpg
.env
*.old
*.old
git_all_versions.sh
harvested-metadata-all.ndjson
harvested-metadata.ndjson
images-viewcopy.ndjson
82 changes: 9 additions & 73 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,85 +1,21 @@
# Trove images
# trove-images

Current version: [v1.0.1](https://github.com/GLAM-Workbench/trove-images/releases/tag/v1.0.1)
A GLAM Workbench repository

Jupyter notebooks to work with data from Trove's picture zone. For more information see the [Trove images](https://glam-workbench.net/trove-images/) section of the GLAM Workbench.
For more information and documentation see the [Trove images](https://glam-workbench.net/trove-images) section of the [GLAM Workbench](https://glam-workbench.net).

## Notebook topics
## Notebooks
- [Download a collection of digitised images](https://github.com/GLAM-Workbench/trove-images/blob/master/download-image-collection.ipynb)
- [The use of standard licences and rights statements in Trove image records](https://github.com/GLAM-Workbench/trove-images/blob/master/rights-statements-on-images.ipynb)

* [The use of standard licences and rights statements in Trove image records](rights-statements-on-images.ipynb) – build a picture of which rights statements are currently being used, and by who.

## Datasets
## Associated datasets
- [trove-images-rights-data](https://github.com/GLAM-Workbench/trove-images-rights-data/)

**Harvested 9 March 2022**

* [Rights applied to images by each Trove contributor](https://github.com/GLAM-Workbench/trove-images/blob/master/rights-on-images.csv)
* [Rights applied to out-of-copyright photographs by each Trove contributor](https://github.com/GLAM-Workbench/trove-images/blob/master/rights-on-out-of-copyright-photos.csv)

<!-- START RUN INFO -->

## Run these notebooks

There are a number of different ways to use these notebooks. Binder is quickest and easiest, but it doesn't save your data. I've listed the options below from easiest to most complicated (requiring more technical knowledge).

### Using Binder

[![Launch on Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/GLAM-Workbench/trove-images/master/?urlpath=lab/tree/index.md)

Click on the button above to launch the notebooks in this repository using the [Binder](https://mybinder.org/) service (it might take a little while to load). This is a free service, but note that sessions will close if you stop using the notebooks, and no data will be saved. Make sure you download any changed notebooks or harvested data that you want to save.

See [Using Binder](https://glam-workbench.net/using-binder/) for more details.

### Using Reclaim Cloud

[![Launch on Reclaim Cloud](https://glam-workbench.github.io/images/launch-on-reclaim-cloud.svg)](https://app.my.reclaim.cloud/?manifest=https://raw.githubusercontent.com/GLAM-Workbench/trove-images/master/reclaim-manifest.jps)

[Reclaim Cloud](https://reclaim.cloud/) is a paid hosting service, aimed particularly at supported digital scholarship in hte humanities. Unlike Binder, the environments you create on Reclaim Cloud will save your data – even if you switch them off! To run this repository on Reclaim Cloud for the first time:

* Create a [Reclaim Cloud](https://reclaim.cloud/) account and log in.
* Click on the button above to start the installation process.
* A dialogue box will ask you to set a password, this is used to limit access to your Jupyter installation.
* Sit back and wait for the installation to complete!
* Once the installation is finished click on the 'Open in Browser' button of your newly created environment (note that you might need to wait a few minutes before everything is ready).

See [Using Reclaim Cloud](https://glam-workbench.net/using-reclaim-cloud/) for more details.

### Using Docker

You can use Docker to run a pre-built computing environment on your own computer. It will set up everything you need to run the notebooks in this repository. This is free, but requires more technical knowledge – you'll have to install Docker on your computer, and be able to use the command line.

* Install [Docker Desktop](https://docs.docker.com/get-docker/).
* Create a new directory for this repository and open it from the command line.
* From the command line, run the following command:
```
docker run -p 8888:8888 --name trove-images -v "$PWD":/home/jovyan/work quay.io/glamworkbench/trove-images repo2docker-entrypoint jupyter lab --ip 0.0.0.0 --NotebookApp.token='' --LabApp.default_url='/lab/tree/index.ipynb'
```
* It will take a while to download and configure the Docker image. Once it's ready you'll see a message saying that Jupyter Notebook is running.
* Point your web browser to `http://127.0.0.1:8888`

See [Using Docker](https://glam-workbench.net/using-docker/) for more details.

### Setting up on your own computer

If you know your way around the command line and are comfortable installing software, you might want to set up your own computer to run these notebooks.

Assuming you have recent versions of Python and Git installed, the steps might be something like:

* Create a virtual environment, eg: `python -m venv trove-images`
* Open the new directory" `cd trove-images`
* Activate the environment `source bin/activate`
* Clone the repository: `git clone https://github.com/GLAM-Workbench/trove-images.git notebooks`
* Open the new `notebooks` directory: `cd notebooks`
* Install the necessary Python packages: `pip install -r requirements.txt`
* Run Jupyter: `jupyter lab`

See the [GLAM Workbench for [more details](https://glam-workbench.net/getting-started/#using-python-on-your-own-computer.

<!-- END RUN INFO -->

## Cite as

See the [GLAM Workbench](https://glam-workbench.net/trove-images/) for up-to-date citation details.

----

This repository is part of the [GLAM Workbench](https://glam-workbench.github.io/).
Created by [Tim Sherratt](https://timsherratt.au) for the [GLAM Workbench](https://glam-workbench.net)
Loading

0 comments on commit de3f398

Please sign in to comment.