https://github.com/bjascob/pythondataserve
A module for serving up python data in a stand-alone process.
https://github.com/bjascob/pythondataserve
client-server data python
Last synced: 10 months ago
JSON representation
A module for serving up python data in a stand-alone process.
- Host: GitHub
- URL: https://github.com/bjascob/pythondataserve
- Owner: bjascob
- License: mit
- Created: 2020-01-14T14:28:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T16:53:37.000Z (about 6 years ago)
- Last Synced: 2025-04-14T06:17:15.778Z (10 months ago)
- Topics: client-server, data, python
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PythonDataServe
**A module for serving up python data in a stand-alone process.**
## About
PythonDataServe is a simple library that allows you to serve data from a different python process. This eliminates the need to load large data files every time you want to run your program.
The library includes a very simple HTTP Server for basic data types and a Proxy Server for python objects. Both servers implement a similar methodology, allowing the user to define functions on the server side which the client can call with a data payload to and get a return response. This is a remote-procedure-call type of implementation which also makes the library an excellent tool for doing multiprocessing across computers.
The library also contains a DataContainer utility class to encapsulate pickling, gzipping, loading and saving functionality. This simplifies some common data operations.
## Documentation
For the latest documentation, see **[ReadTheDocs](https://pythondataserve.readthedocs.io/en/latest/)**. Alternatively, you can view the markup files directly in the __*docs*__ folder of this project.
You can see example implementations in the __*tests*__ folder.
## Setup
The project is designed to work with python 3.
The only external requirement is the commonly used "requests" library and its sub-dependencies.
To install do..
```
pip3 install dataserve
```