dataframe-service


Namedataframe-service JSON
Version 0.1.10 PyPI version JSON
download
home_page
SummaryPandas DataFrame Service (DFS).
upload_time2023-02-11 03:06:14
maintainer
docs_urlNone
authorBrian Guarraci
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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"
  }
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "dataframe-service",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Brian Guarraci",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/61/f8/3db9c5a15b8d3051edaf0881a88452de561b39787c0e98c402c5ea63ba72/dataframe-service-0.1.10.tar.gz",
    "platform": null,
    "description": "# Pandas DataFrame Service (DFS)\n\n## Features\n\n    * Simple, ~100 lines multi-threaded file cache implementation\n    * Key-value store for Panda DataFrames with basic index querying\n    * Fixed budget memory consumption w/ LRU eviction\n    * Supports updates on files and dataframes\n    * Simple TCP client/server interface w/ client-side connection pooling\n\n## Limitations\n\n    1. Currently does not support replication, though the file system can be (e.g. NAS)\n\n## Usage\n\nInstall\n\n```bash\n$ pip3 install dataframe-service \n```\n\nStart server\n\n```bash\n$ dfs_server\nServing on 0.0.0.0 port 8000 with max memory 1073741824 at root directory <current dir>\n```\n\nRun DFS REPL\n```bash\n$ rlwrap dfs_repl\nWelcome to DFS REPL\nauthor: Brian Guarraci\nrepo  : https://github.com/briangu/dfs\ncrtl-c to quit\n\n?> stats\n{\n  \"memory\": {\n    \"used\": \"0\",\n    \"free\": \"1073741824\",\n    \"max\": \"1073741824\"\n  }\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pandas DataFrame Service (DFS).",
    "version": "0.1.10",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dcd35c8e4c60ab12a39999f734e68ca68a8bfe5fff0d56e88a3948392d7cfca5",
                "md5": "8f042fee9e21f894c8a89606abe1e89e",
                "sha256": "30d83bfbe5bf2adcefd3ce8cc262c9ddc6ef426dd9813d738e960bef8c8bbefa"
            },
            "downloads": -1,
            "filename": "dataframe_service-0.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f042fee9e21f894c8a89606abe1e89e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 12405,
            "upload_time": "2023-02-11T03:06:12",
            "upload_time_iso_8601": "2023-02-11T03:06:12.787473Z",
            "url": "https://files.pythonhosted.org/packages/dc/d3/5c8e4c60ab12a39999f734e68ca68a8bfe5fff0d56e88a3948392d7cfca5/dataframe_service-0.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61f83db9c5a15b8d3051edaf0881a88452de561b39787c0e98c402c5ea63ba72",
                "md5": "0aadfa11555445ece74837a23d38aa45",
                "sha256": "ccfd484e6cda1654d9f6fb6dc5d8356ff4394f89897cb222d97eccd55c6d7178"
            },
            "downloads": -1,
            "filename": "dataframe-service-0.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "0aadfa11555445ece74837a23d38aa45",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10233,
            "upload_time": "2023-02-11T03:06:14",
            "upload_time_iso_8601": "2023-02-11T03:06:14.385153Z",
            "url": "https://files.pythonhosted.org/packages/61/f8/3db9c5a15b8d3051edaf0881a88452de561b39787c0e98c402c5ea63ba72/dataframe-service-0.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-11 03:06:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "dataframe-service"
}
        
Elapsed time: 0.05209s