Skip to main content

A tiny JavaScript code generator

Reason this release was yanked:

This release is broken, use the newest version instead

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinyjs-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinyjs-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tinyjs-0.1.0.tar.gz.

File metadata

  • Download URL: tinyjs-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tinyjs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e56be1bbf01a19ad9bc8817a8d473c1792040a2f33666aaee83b1944ab7af5d
MD5 a2b5e42760438d70590074f7b724939b
BLAKE2b-256 9dcb62a1383bceaae0568b622a7fc593ebf97424a81c2544ef9e7998af6cf7a1

See more details on using hashes here.

File details

Details for the file tinyjs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tinyjs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tinyjs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68e170a6414ea1f593d96ab8aff4e5a9bdd65fd1a65b48c2f78df7c7802e04a6
MD5 e5da1b3314385086cd23f494e945e942
BLAKE2b-256 a886c1bb2e5f6a4082f918395948ae0f4e01fdbcfee7560d0b36cd47e2479e5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page