Git Product home page Git Product logo

issnpy's Introduction

issnpy

issnpy is a Python package and command line tool that allows to access linked data from the ISSN Portal.

Installation

... via SSH

pip install -e git+ssh://[email protected]/herreio/issnpy.git#egg=issnpy

... or via HTTPS

pip install -e git+https://github.com/herreio/issnpy.git#egg=issnpy

Usage Example

Command Line

# fetch ISSN data (JSON, fields: id, link, title, format, location, status, modified, url)
ISSN "2151-2124"
# fetch ISSN data (JSON-LD)
ISSN "2151-2124" --ld
# fetch ISSN-L data (JSON, fields: id, related, title)
ISSN-L "0269-8803"
# fetch ISSN-L data (JSON-LD)
ISSN-L "0269-8803" --ld

Use the --pretty flag for formatted JSON output.

Interpreter

# import package issnpy
import issnpy
# select ISSN of record to fetch
issn = "2767-3200"
# fetch data of record identified by ISSN
record = issnpy.fetch(issn)
# get linked data graph
record_graph = record.graph()
# get linked data context
record_context = record.context()
# get parsed data of record (fields: id, link, title, format, location, status, modified, url)
record_parsed = record.parse()
# retrieve linking ISSN for given ISSN
issn_l = issnpy.find_link(issn)
# fetch data of record identified by ISSN-L
record = issnpy.fetch(issn_l, link=True)
# get parsed data of record (fields: id, related, title)
record_parsed = record.parse()
# fetch and parse in one go
record_parsed = issnpy.record(issn)
record_parsed = issnpy.record_link(issn_l)

Source Data

Identification and description data from the ISSN Register has been made available as linked data, in various RDF formats (RDF/XML, Turtle and JSON). This service shall foster the use, re-use, exchange and enrichment of ISSN data.

See the linked data application profile of the CIEPS/ISSN International Centre for further details.

Usage Terms

CIEPS/ISSN International Centre

DEFINITIONS

...

Released ISSN Data: Part of the data extracted from the ISSN Register concerning a publication, selected by the CIEPS/ISSN International Centre and made available to users free of charge via the Free Access Portal. This Released ISSN Data is limited to:

  • ISSN
  • ISSN-L
  • Title proper
  • Key-title
  • Country
  • Medium
  • URL of the digital resource
  • Date of last update

...

See the License contract of the ISSN Portal for further details.

issnpy's People

Contributors

herreio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.