Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/btrevizan/pybtree
An on-disk BTree implementation in Python 3.
https://github.com/btrevizan/pybtree
Last synced: 9 days ago
JSON representation
An on-disk BTree implementation in Python 3.
- Host: GitHub
- URL: https://github.com/btrevizan/pybtree
- Owner: btrevizan
- License: mit
- Created: 2018-01-09T21:55:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T13:42:14.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T01:19:23.606Z (about 1 month ago)
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pybtree
[![docs](https://readthedocs.org/projects/pybtree/badge/?version=latest)](http://pybtree.readthedocs.io/en/latest/?badge=latest)*pybtree* is a package the implements a **BTree on-disk**.
## Installation
```bash
$ pip3 install pybtree
```## Example
```python
from pybtree import BTree# Open/create a BTree file
btree = BTree('records.btree')# Insert the key 34 and value 68 associated
btree.insert(34, 68)# Return 68
btree.search(34)
```## Docs and stuff
You can find docs, api and examples in [here](http://pybtree.readthedocs.io/en/latest/).