oleiade / py-elevator

py-elevator is a python client for Elevator, a Key-Value store written in Python and based on levelDB, allows high performance on-disk bulk read/write.
https://py-elevator.readthedocs.org/en/latest/
MIT License
13 stars 6 forks source link

Revisit the API #40

Open k4nar opened 10 years ago

k4nar commented 10 years ago

The current API seems to be based on py-leveldb rather than on Elevator. I don't think that's a good idea. If Elevator has a command X, I except the client to have a method Elevator.x.

Also, if we want to follow the PEP8 we shouldn't have Elevator.Get but Evelator.get. It's coherent with Plyvel's API.