StationA / triforce

No-bullshit n-triples encoder/decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

triforce

No-bullshit n-triples encoder/decoder

Getting Started

Installing from Github

pip install git+https://github.com/StationA/triforce.git#egg=triforce

Installing from source

git clone https://github.com/StationA/triforce.git
cd triforce
pip install .

Usage

Encoding a subject, predicate, value as an n-triple

triforce encode 'http://stationa.xyz' 'http://schema.org/name' 'Station A'
# <http://stationa.xyz> <http://schema.org/name> "Station A" .

Contributing

When contributing to this repository, please follow the steps below:

  1. Fork the repository
  2. Submit your patch in one commit, or a series of well-defined commits
  3. Submit your pull request and make sure you reference the issue you are addressing

Running tests

tox -e dev

About

No-bullshit n-triples encoder/decoder

License:MIT License


Languages

Language:Python 96.3%Language:Dockerfile 3.7%