Skip to main content


Project description

[![Coverage Status](](
[![PyPI version](](
[![Build Status](](

This is a Python class that queries the API of to return data about a specific entity (corporation.) It can also parse the XML-files provided by GLEIF.

Usage if you query the API:
from pygleif import GLEIF

data = GLEIF('8RS0AKOLN987042F2V04')

## 1. How to use

Usage if you use the XML files:
from pygleif import GLEIFParseRelationshipRecord

# XML is the content (converted to text) of a <RelationshipRecord>
data = GLEIFParseRelationshipRecord(XML)
print(data.raw.Relationship.StartNode.NodeID.text) # Uses BeautifulSoup to convert to object


There are also some examples available in the sources' example folder.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pygleif-0.3.2.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page