Skip to content

For Administrators#

B2HANDLE is the distributed service for storing, managing and accessing persistent identifiers (PIDs) and essential metadata (PID records) as well as managing PID namespaces.

In this secction you will get information on how to install and configure the library.

B2HANDLE supports two different libraries - PYHANDLE (recommended) - B2HANDLE (will stop maintaining)

## PYHANDLE

PyHandle is a Python client library for interaction with a Handle System server, providing basic create, read, update and delete capabilities for Handles. The library offers a client for the HTTP REST interface. It also includes a client that interacts directly with a Handle server SQL back-end.

Find guidelines on how to install PYHANDLE

Dependencies#

PyHandle currently supports Python >=3.5 (tested up to 3.8), and requires at least a Handle System server 8.1. The library requires - OpenSSL v1.0.1 or higher. - Python 2.7 and 3.5, 3.6, 3,7, 3.9 are supported, - PyMysql 0.8. - requests 2.23

Install PYHANDLE#

There are two ways to install pyhandle

Using the code from the repo#

You can install the PyHandle library as follows:

git clone https://github.com/EUDAT-B2HANDLE/PYHANDLE.git
cd PYHANDLE/
python setup.py install

Via python pip#

 pip install pyhandle

B2HANDLE#

The b2handle Python library is a client library for interaction with a Handle System server, using the native REST interface introduced in Handle System 8. The library offers methods to create, update and delete Handles as well as advanced functionality such as searching over Handles using an additional search servlet and managing multiple location entries per Handle.

Find guidelines on how to install B2HANDLE

Dependencies#

B2HANDLE currently supports Python >=3.5 (tested up to 3.8), and requires at least a Handle System server.

The library requires - OpenSSL v1.0.1 or higher. - Python 2.7 and 3.5, 3.6, 3,7, 3.9 are supported, - requests 2.23

Install B2HANDLE#

There are two ways to install b2handle

Using the code from the repo#

You can install the library as follows:

git clone https://github.com/EUDAT-B2HANDLE/B2HANDLE.git
cd B2HANDLE/
python setup.py install

Via python pip#

 pip install b2handle

Last update: 09.11.2023