Initial commit

This commit is contained in:
2024-08-27 20:33:44 +02:00
commit 1f1832267d
14794 changed files with 1599592 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,27 @@
Copyright (c) 2021-present Torchbox Ltd and individual contributors.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Torchbox nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,33 @@
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/

View File

@@ -0,0 +1,13 @@
telepath-0.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
telepath-0.3.1.dist-info/LICENSE,sha256=wLzi2fKefA7VzTnvCZz1dc5RKukVQztOgkHX89HWAkI,1512
telepath-0.3.1.dist-info/METADATA,sha256=NqRxzbwlk_2U6P8IhE_qTNVwCypeWR0qFAk5KevDs7k,1689
telepath-0.3.1.dist-info/RECORD,,
telepath-0.3.1.dist-info/WHEEL,sha256=LFkqBJk4I7hCv0noSqfZr_dqF1ghJkoTPb1XzfEVHuI,93
telepath-0.3.1.dist-info/top_level.txt,sha256=IduaR56UEMcPFA3ATeQa_2hxMvf777qWTDb1Msg6UXI,9
telepath/__init__.py,sha256=TPhnjTvndyu3vTDGsZRnhiJGeYIf-wl6_7hBF1k_-CI,12614
telepath/__pycache__/__init__.cpython-310.pyc,,
telepath/__pycache__/test_settings.cpython-310.pyc,,
telepath/__pycache__/tests.cpython-310.pyc,,
telepath/static/telepath/js/telepath.js,sha256=93ShD9oU5oEL1KMx_vYD8NhzhaW7kyLEf4ZosV5nIHg,4491
telepath/test_settings.py,sha256=cwqpZd2xOuTHTN3Ld6arwsauj_p3I9AYqciGSnm3vvQ,122
telepath/tests.py,sha256=3Km5tDGYw3WV9CGRHhg5QCknP4yBS-jzpRIE1suGvi0,9813

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.38.4)
Root-Is-Purelib: true
Tag: py38-none-any

View File

@@ -0,0 +1 @@
telepath