A module for serving up python data in a stand-alone process.
Project description
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.
The only external requirement is the commonly used "requests" library.
Documentation
For the latest documentation, see ReadTheDocs. Alternatively, you can view the markup files directly in the docs folder of this project.
You can see example implementations in the tests folder.
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
Built Distribution
File details
Details for the file dataserve-0.1.0.tar.gz
.
File metadata
- Download URL: dataserve-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.40.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325b5835b9c660026f18c71cbc5dd494e84cfa30501c31a7f2a04c211e142560 |
|
MD5 | 9c5ae8a31985f472663afb37cd27b4e0 |
|
BLAKE2b-256 | c18b83a239c091417468ca1563a8e9eddb8f2d38adea628c0c49ab9d49c49744 |
File details
Details for the file dataserve-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: dataserve-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.40.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d23a7f1e4153672920a3edb204f7805f08d693c0b3d2e449199dbc55812b5e |
|
MD5 | 9ee64e057c4c7b66c7812bcca31a4d72 |
|
BLAKE2b-256 | 1df43a4c5ab2e5aca9c2a84c69df92695b7fe52c7a473e992beb80e9b748e92c |