rlmv / ptree Goto Github PK
View Code? Open in Web Editor NEWThis project forked from edsu/ptree
minimal PairTree implementation
Home Page: https://confluence.ucop.edu/display/Curation/PairTree
This project forked from edsu/ptree
minimal PairTree implementation
Home Page: https://confluence.ucop.edu/display/Curation/PairTree
The ptree module has two functions to help you work with PairTree identifiers and file paths: id2ptree and ptree2id. PairTree [1] is an technique from the digital preservation community for safely mapping identifiers to file paths, and back again. It can be helpful when writing resources to disk so that they can be identified later on by merely looking at the filesystem layout. >>> import ptree >>> ptree.id2ptree("info:lccn/12345678") '/in/fo/+l/cc/n=/12/34/56/78/' >>> ptree.ptree2id('/in/fo/+l/cc/n=/12/34/56/78/') u'info:lccn/12345678' ptree draws from Ben O'Steen's PairTree Python module [2], which provides a lot more functionality for storing bitstreams on disk. ptree intentionally focuses soley on the identifier/filepath mapping, and leaves IO operations up to you. The unit tests were shamlessly stolen from John Kunze's File::PairTree CPAN module [3]. Author: Ed Summers <[email protected]> License: Public Domain [1] https://confluence.ucop.edu/display/Curation/PairTree [2] http://pypi.python.org/pypi/Pairtree [3] http://search.cpan.org/dist/Pairtree/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.