freshcrate
Home > Frameworks > telepath

telepath

A library for exchanging data between Python and JavaScript

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`](https://docs.python.org/3/library/pickle.html), but with the unpickling happening in the browser. Full documentation: https://wagtail.github.io/telepath/

Release History

VersionChangesUrgencyDate
0.3.1Imported from PyPI (0.3.1)Low4/21/2026
v0.3.1* Fix check for lazily evaluated objects, for provisional Django 5.0 compatibility * Drop support for Python <3.8 and Django <3.2Low2/21/2024
v0.3* Add support for packing objects to primitive typesLow9/15/2022
v0.2Add new API for classes to define their own packing logicLow6/15/2021
v0.1.1* Correctly handle lazy translation objects returned from gettext_lazy * Upgrade telepath-unpack to 0.0.3 for ES5 compatibilityLow4/22/2021
v0.1Initial release.Low2/10/2021

Dependencies & License Audit

Loading dependencies...

Similar Packages

pre-commitA framework for managing and maintaining multi-language pre-commit hooks.v4.6.0
azure-core-tracing-opentelemetryMicrosoft Azure Azure Core OpenTelemetry plugin Library for Pythonazure-template_0.1.0b6187637
spdx-toolsSPDX parser and tools.0.8.5
lacesDjango components that know how to render themselves.0.1.2
django-tasksA backport of Django's built in Tasks framework0.12.0