Skip to content

lucemia/pyr3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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