dataframe-service-0.1.9
توضیحات
Pandas DataFrame Service (DFS).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dataframe-service-0.1.9 |
| نام | dataframe-service |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brian Guarraci |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dataframe-service/ |
| مجوز | MIT |
# 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
```bash
$ pip3 install dataframe-service
```
Start server
```bash
$ dfs_server
Serving on 0.0.0.0 port 8000 with max memory 1073741824 at root directory <current dir>
```
Run DFS REPL
```bash
$ 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"
}
}
```
نیازمندی
| مقدار | نام |
|---|---|
| ~=1.5.1 | pandas |
| ~=5.0.2 | pysimdjson |
| - | colorama |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl dataframe-service-0.1.9:
pip install dataframe-service-0.1.9.whl
نصب پکیج tar.gz dataframe-service-0.1.9:
pip install dataframe-service-0.1.9.tar.gz