A library for exchanging data between Python and JavaScript
Project description
telepath
telepath is a Django library for exchanging data between Python and JavaScript, allowing you to build apps with rich client-side interfaces while keeping the business logic in server-side code.
What does it do?
It provides a mechanism for packing structured data, including Python objects, into a JSON-serializable format. This mechanism can be extended to support any Python class, by registering the class with a corresponding JavaScript implementation. The packed data can then be included in an HTTP response, and unpacked in JavaScript to obtain an equivalent data structure to the original. Think of it as pickle
, but with the unpickling happening in the browser.
Full documentation: https://wagtail.github.io/telepath/
Project details
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 telepath-0.3.1.tar.gz
.
File metadata
- Download URL: telepath-0.3.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925c0609e0a8a6488ec4a55b19d485882cf72223b2b19fe2359a50fddd813c9c |
|
MD5 | deeff91e1de226b1a2532f5883498932 |
|
BLAKE2b-256 | 65585de8765687d6f9dfcbb72c89251036c3b901126404f872b936b13377a3fe |
File details
Details for the file telepath-0.3.1-py38-none-any.whl
.
File metadata
- Download URL: telepath-0.3.1-py38-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c280aa8e77ad71ce80e96500a4e4d4a32f35b7e0b52e896bb5fde9a5bcf0699a |
|
MD5 | ca3beda3fffc2aa0fb6cee307c026636 |
|
BLAKE2b-256 | 5f500f246d316f223b14ba5a88fbe2ff0b480d4a6064b866d48008dd57fd5930 |