Pandas DataFrame Service (DFS).
Project description
Pandas DataFrame Service (DFS)
Features
* Simple, ~100 lines multi-threaded file cache implementation
* Key-value store for Panda DataFrames with basic index querying
* Fixed budget memory consumption w/ LRU eviction
* Supports updates on files and dataframes
* Simple TCP client/server interface w/ client-side connection pooling
Limitations
1. Currently does not support replication, though the file system can be (e.g. NAS)
Usage
Install
$ pip3 install dataframe-service
Start server
$ dfs_server
Serving on 0.0.0.0 port 8000 with max memory 1073741824 at root directory <current dir>
Run DFS REPL
$ rlwrap dfs_repl
Welcome to DFS REPL
author: Brian Guarraci
repo : https://github.com/briangu/dfs
crtl-c to quit
?> stats
{
"memory": {
"used": "0",
"free": "1073741824",
"max": "1073741824"
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dataframe-service-0.1.8.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for dataframe_service-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ffcfe91c1c4f850d2a6e7a5a3fff839b9413a62f3332b41b2506f36c6b01407 |
|
MD5 | 9c1ed5ae4423b954b6b155d0b437a347 |
|
BLAKE2b-256 | 2e2bf0af2c71dbbaf3dd067888edca64374b5ac2f51b46a7abfe2a81f40bbd94 |