kylef / refract.py

A Python library for interacting with Refract

Home Page:http://python-refract.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refract Python

A library for interacting with Refract in Python 3.

Refract provides the ability to take a normal data structure and add a layer on top of it for the purpose of annotating and adding semantic data.

>>> element = refract({'name': 'Doe', 'email': 'doe@example.com'})
>>> element.title = 'Person'
>>> element['email'].classes.append('personal')

Installation

To install Python Refract, simply run this simple command in your terminal of choice.

$ pip install refract

Documentation

Documentation is available at http://python-refract.readthedocs.io.

About

A Python library for interacting with Refract

http://python-refract.readthedocs.io/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%