Skip to content
/ arkpy Public

A basic implemention of Archival Resource Key utils in Python

Notifications You must be signed in to change notification settings

mjgiarlo/arkpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arkpy

Simple tools built around the Archival Resource Key specification, allowing minting and validating of ARKs via code and the command-line.

Code

  """ python """
  import arkpy
  ark = arkpy.mint('42409', 'ededk', 'mycoll-')
  if not arkpy.validate(ark):
      print "Ruh roh"

Command-line usage

  $ bin/arkmint --authority=42409 --template='eeddeeddk' --prefix='digcoll-'
  42409/digcoll-23496q15t

  $ bin/arkvalidate 42409/digcoll-23496q15t
  42409/digcoll-23496q15t is valid? True

About

A basic implemention of Archival Resource Key utils in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages