Skip to main content

TinyJS

A simple package that allows for synthesising simple, syntaxically correct, javascript code

Installation

pip install tinyjs

Usage

from tinyjs import create_program, annotate_program

program_list = create_program(level="ALL", count=1000)
annotated_program_list = annotate_program(program_list, level="ALL")
# Or
annotated_program_list = create_program(level="ALL", count=1000, annotated=True)

Note: Annotation requires NodeJS to be installed! Annotation happens by evaluating the code, and for reliability, this was handled by native NodeJS instead

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

This project is a modified port of the TinyJS generator by Kamel Yamani et al., 2021

Metadata

Release files for tinyjs 0.1.2

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

Source distribution (sdist)

Source distribution for tinyjs 0.1.2
File Size Uploaded
tinyjs-0.1.2.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tinyjs 0.1.2
File Interpreter ABI Platform
tinyjs-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / tinyjs-0.1.2.tar.gz

Download URL tinyjs-0.1.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
15ba3e0e7ad8b841d8b14e050d82919ede9262341b2bb9f01e7e05712076314e
BLAKE2b-256 checksum
How to use checksums
de0698b436e0a61fc94ef70c25dbea5dcc3c40350efbc3d9f55ac04277d43e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Release files / tinyjs-0.1.2-py3-none-any.whl

Download URL tinyjs-0.1.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90c8f9244a810f5b57405cbc356d58fedc67d56acde95945c3e95a4d6cd78399
BLAKE2b-256 checksum
How to use checksums
36c1c6ae7abe931d9cec2bf72b57370b4a020e7df5d6da1e996a0b39a0e3607a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

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