www/py-telepath 0.3.1 NetBSD
Data exchange library between Django and browser
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- www, python
- Package size
- 20.1 KiB, 98.9 KiB installed
Description
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.
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | www/py-telepath | 0.3.1 |
| DragonFly | devel/py-telepath | 0.3.1_1 |
Install
Binary package:
pkgin install py311-telepath
From pkgsrc:
cd /usr/pkgsrc/www/py-telepath && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.3.1 |
| NetBSD 10.1 aarch64 | 0.3.1 |
| SmartOS / illumos x86_64 | 0.3.1 |
| macOS 15 arm64 | 0.3.1 |
Dependencies
Run dependencies 2
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-telepath-0.3.1,py313-telepath-0.3.1,py314-telepath-0.3.1