Skip to content

quotquot/pyr3

 
 

Repository files navigation

pyr3

a python wrapper for r3 https://github.com/c9s/r3

Usage

import pyr3
r = pyr3.R3Tree()
print r
print dir(r)
# data can be anything
r.insert_path(path="/bar", data='4')
r.insert_path(path="/zoo", data='5')
r.insert_path(path="/foo/bar", data='123')
r.compile()

print r.match('/foo/bar')

Build

git clone https://github.com/lucemia/pyr3
git submodule init
git submodule update
cd ./r3
./autogen.sh
./configure
cd ..
python setup.py build_ext --inplace

alt tag ####Tutorials May 30-31, Conference June 5-7, Sprints June 8, Taipei, Taiwan Mark your calendar now and stay up to date on the must-attend event in 2015. Join the biggest Python conference in ASIA. To find more -> 'https://tw.pycon.org/2015apac/'

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%