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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tinyjs-0.1.2.tar.gz | 8.1 kB | With provenance | Details for tinyjs-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tinyjs-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for tinyjs-0.1.2-py3-none-any.whl |
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 logRelease 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 logSecurity for tinyjs 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tinyjs-0.1.2.tar.gz
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 logA 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.