Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

This library is part of Hat Open project - open-source framework of tools and libraries for developing applications used for remote monitoring, control and management of intelligent electronic devices such as IoT devices, PLCs, industrial automation or home automation systems.

Development of Hat Open and associated repositories is sponsored by Končar - Power Plant and Electric Traction Engineering Inc. (Končar KET - https://www.koncar-ket.hr).

For more information see:

About

Python ctypes wrapper for JavaScript Duktape engine with minimal API:

Data = typing.Union[None, bool, int, float, str,
                    typing.List['Data'], typing.Dict[str, 'Data'],
                    typing.Callable]

class Interpreter:

    def __init__(self): ...

    def eval(self,
             code: str,
             with_result: bool = True
             ) -> Data:
        """Evaluate JS code and optionally return last expression"""

    def get(self, name: str) -> Data:
        """Get global value"""

    def set(self, name: str, value: Data):
        """Set global value"""

Release files for hat-duktape 0.4.1.dev20210707

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

Built distributions (wheels)

Table of built distributions (wheels) for hat-duktape 0.4.1.dev20210707
File Interpreter ABI Platform
hat_duktape-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl CPython 3.8, CPython 3.9 none Windows x86-64 Details
hat_duktape-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl CPython 3.8, CPython 3.9 none Linux glibc 2.5+ x86-64 Details

Total release size: 603.0 kB

Release files / hat_duktape-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl

Download URL hat_duktape-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl
Size 384.8 kB
Tags CPython 3.8 CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9f4499e53a198b1be34c69adcf4a05dcd84fddc53a8276d5c35434af04225403
BLAKE2b-256 checksum
How to use checksums
f4ec0bb125729f3e9ddae26c38236f16ea4016c60728f9019245e812b2a33672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / hat_duktape-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl

Download URL hat_duktape-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl
Size 218.2 kB
Tags CPython 3.8 CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
24ef435c430ca7bf2642bec9c9449f8afb7698b9ae6cee974be4a84b8c7d108a
BLAKE2b-256 checksum
How to use checksums
b8b93265fe93509b10de09e73ed47083b684ac331135c34e093fe497d73bb274
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
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