A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kylef/refract.py below:

kylef/refract.py: A Python library for interacting with Refract

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4