Skip to main content

TranscryptFrame

This is a suggestion for a transcrypt framework which offers convenient solutions or wrappers around common functions. Originally created by Andreas Bunkahle 2018

Install it with:

pip install TranscryptFrame

You can import this library with import TranscryptFrame as tf

and use it in your Python/Transcrypt scripts like this

myElement = tf.doc_id(“intro”) tf.doc_id(“demo”).innerHTML = “The text from the intro paragraph is “ + myElement.innerHTML

or even shorter: myElement = tf.S(“#intro”, “htm”) tf.S(“#demo”).innerHTML = “The text from the intro paragraph is “ + myElement

You can also have jQuery-like function calls like

tf.S(“#demo”).innerHTML = “<p>New paragraph</p>” instead of $(“#demo”).html(“<p>New paragraph</p>”) in Javascript or document.getElementById(“demo”).innerHTML = “<p>New paragraph</p>” in Transcrypt

or new_var = tf.S(“#demo”, “htm”) instead of new_var = $(“#demo”).html() or new_var = document.getElementById(“demo”).innerHTML

Examples

There are several examples for running the library in https://github.com/bunkahle/Transcrypt-Examples/tree/master/dom

You find a tutorial for it at: https://github.com/bunkahle/Transcrypt-Examples/blob/master/dom/changing_texts.rst

Requirements

The code currently only runs under Python 3 due to the fact that Transcrypt is only available for Python 3. Of course it relies on Transcrypt for running.

License

GNU GPL v3

Metadata

Release files for TranscryptFrame 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TranscryptFrame 1.0
File Size Uploaded Provenance Actions
TranscryptFrame-1.0.zip 6.0 kB Without provenance Details for TranscryptFrame-1.0.zip

Release files / TranscryptFrame-1.0.zip

Download URL TranscryptFrame-1.0.zip
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ccc2535b5b210692fbd5a47c8b5f7073fbf05b4559b574bd01785013a79e6ec4
BLAKE2b-256 checksum
How to use checksums
82775d03649d8646ae0e0e360310d727038354a24d3cbb1211f8261f11765996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.12

Security for TranscryptFrame 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page