* The Austrian National Library offers data, free to use
* We want to show you roughly what data you can expect
* We want to show you how to work with the data interfaces
%% Cell type:markdown id: tags:
#### Why?
* If you ever need this kind of data
* For fun
%% Cell type:markdown id: tags:
#### Data and Interfaces
***Metadata**: catalogue data, metadata for historic postcards and historic newspapers, SPARQL
***Images and text**: Text for historic newspapers, images and text for historic newspapers and historic postcards
%% Cell type:markdown id: tags:
### Who are these people?
%% Cell type:markdown id: tags:
* Presenter
%% Cell type:markdown id: tags:
* Participants
%% Cell type:markdown id: tags:
#### What are you interested in?
%% Cell type:markdown id: tags:
### What do I need?
* The repository at [https://labs.onb.ac.at/gitlab/labs-team/pydays19/-/tree/UnlocktheLibraries](https://labs.onb.ac.at/gitlab/labs-team/pydays19/-/tree/UnlocktheLibraries) in its freshest form
* A working Python3 installation
* A venv with the requirements installed
* A `jupyter notebook` running inside the venv
%% Cell type:markdown id: tags:
### How do we want to do this?
%% Cell type:markdown id: tags:
## Used Libraries
***requests** - HTTP for humans [https://2.python-requests.org/en/master/](https://2.python-requests.org/en/master/)
***pandas** - spreadsheets for Python on steroids [https://pandas.pydata.org/](https://pandas.pydata.org/)
***jsonpath** - xpath for json [https://github.com/h2non/jsonpath-ng](https://github.com/h2non/jsonpath-ng)
***lxml** - xml parser and xpath (version 1) implementation [https://lxml.de/](https://lxml.de/)
***sickle** - OAI-PMH for humans [https://sickle.readthedocs.io/en/latest/](https://sickle.readthedocs.io/en/latest/)
* The Austrian National Library offers data, free to use
* We want to show you roughly what data you can expect
* We want to show you how to work with the data interfaces
%% Cell type:markdown id: tags:
#### Why?
* If you ever need this kind of data
* For fun
%% Cell type:markdown id: tags:
#### Data and Interfaces
***Metadata**: catalogue data, metadata for historic postcards and historic newspapers, SPARQL
***Images and text**: Text for historic newspapers, images and text for historic newspapers and historic postcards
%% Cell type:markdown id: tags:
### Who are these people?
%% Cell type:markdown id: tags:
* Presenter
%% Cell type:markdown id: tags:
* Participants
%% Cell type:markdown id: tags:
#### What are you interested in?
%% Cell type:markdown id: tags:
### What do I need?
* The repository at [https://labs.onb.ac.at/gitlab/labs-team/pydays19/-/tree/UnlocktheLibraries](https://labs.onb.ac.at/gitlab/labs-team/pydays19/-/tree/UnlocktheLibraries) in its freshest form
* A working Python3 installation
* A venv with the requirements installed
* A `jupyter notebook` running inside the venv
%% Cell type:markdown id: tags:
### How do we want to do this?
%% Cell type:markdown id: tags:
## Used Libraries
***requests** - HTTP for humans [https://2.python-requests.org/en/master/](https://2.python-requests.org/en/master/)
***pandas** - spreadsheets for Python on steroids [https://pandas.pydata.org/](https://pandas.pydata.org/)
***jsonpath** - xpath for json [https://github.com/h2non/jsonpath-ng](https://github.com/h2non/jsonpath-ng)
***lxml** - xml parser and xpath (version 1) implementation [https://lxml.de/](https://lxml.de/)
***sickle** - OAI-PMH for humans [https://sickle.readthedocs.io/en/latest/](https://sickle.readthedocs.io/en/latest/)
* returns JSON-LD structured documents that together describe the structure and layout of a digitized object or other collection of images and related content
* returns JSON-LD structured documents that together describe the structure and layout of a digitized object or other collection of images and related content