34 lines
1.6 KiB
Text
34 lines
1.6 KiB
Text
|
|
Metadata-Version: 2.1
|
||
|
|
Name: telepath
|
||
|
|
Version: 0.3.1
|
||
|
|
Summary: A library for exchanging data between Python and JavaScript
|
||
|
|
Home-page: https://github.com/wagtail/telepath
|
||
|
|
Author: Matthew Westcott
|
||
|
|
Author-email: matthew.westcott@torchbox.com
|
||
|
|
License: BSD
|
||
|
|
Classifier: Development Status :: 5 - Production/Stable
|
||
|
|
Classifier: Environment :: Web Environment
|
||
|
|
Classifier: Intended Audience :: Developers
|
||
|
|
Classifier: License :: OSI Approved :: BSD License
|
||
|
|
Classifier: Operating System :: OS Independent
|
||
|
|
Classifier: Programming Language :: Python
|
||
|
|
Classifier: Programming Language :: Python :: 3
|
||
|
|
Classifier: Programming Language :: Python :: 3 :: Only
|
||
|
|
Classifier: Framework :: Django
|
||
|
|
Requires-Python: >=3.8
|
||
|
|
Description-Content-Type: text/markdown
|
||
|
|
License-File: LICENSE
|
||
|
|
Provides-Extra: docs
|
||
|
|
Requires-Dist: mkdocs (<1.2,>=1.1) ; extra == 'docs'
|
||
|
|
Requires-Dist: mkdocs-material (<6.3,>=6.2) ; extra == 'docs'
|
||
|
|
|
||
|
|
# 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`](https://docs.python.org/3/library/pickle.html), but with the unpickling happening in the browser.
|
||
|
|
|
||
|
|
Full documentation: https://wagtail.github.io/telepath/
|