oaitools

A high-level OAI-PMH library.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License GPL-3.0
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install oaitools
choosenim install oaitools
git clone https://github.com/markpbaggett/oaitools.nim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
oaitools - - - - - - -

Source

Repository https://github.com/markpbaggett/oaitools.nim
Homepage https://github.com/markpbaggett/oaitools.nim
Registry Source nimble_official

README

Nim OAI Tools

Build and Test

A high-level OAI-PMH library for Nim.

Installation

nimble install https://github.com/markpbaggett/oaitools.nim

Examples

Get number of records in a request

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.get_complete_size("MODS")

Get metadata prefixes from a provider

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.list_metadata_formats()

Get a list of identifiers as a sequence that match a request

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler", "utk_wderfilms")
echo x.list_identifiers("MODS")

More Documentation

All documentation and code examples can be found in this repository.