Skip to main content

Generinator: RATS

Random Attributes, Tags & Style

Random web content (HTML, CSS, SVG) generator for Fuzzinator.

Requirements

  • Python >= 3.4

  • pip and setuptools Python packages (the latter is automatically installed by pip).

  • MongoDB (either local installation or access to remote database)

  • ANTLR v4

Install

The quick way:

pip install generinator-rats

Alternatively, by cloning the project and running setuptools:

python setup.py install

Usage

As a first step, Generinator:RATS needs to process existing web content to extract names of, parent-child relation between, and values of tags and attributes. The extracted information is then stored in a database.

Example invocation of the processing step:

generinator-rats-process <input1.html> <input2.css> <input3.svg> <inputdir4>

Once the processing step has built a database, the generator of Generinator:RATS can be used to produce any number of files with random web content.

Example invocation of the generation step:

generinator-rats -n <number-of-tests> -o <output-dir>

For more information on their usage, use the –help command line option on any of the tools.

(Note: The processing step can be re-executed any number of times, even after executing the generator. Actually, it may be really useful to periodically run the processing step on new input files or test suites.)

Metadata

Release files for generinator-rats 18.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 generinator-rats 18.2
File Size Uploaded Provenance Actions
generinator-rats-18.2.tar.gz 15.9 kB Without provenance Details for generinator-rats-18.2.tar.gz

Release files / generinator-rats-18.2.tar.gz

Download URL generinator-rats-18.2.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4d89c86ebb027d216a490649a19e983a84d3f60e79b196648351b57d2f1d4524
BLAKE2b-256 checksum
How to use checksums
ff9f2df92f528484f7d16786e48dea241b37446a608a0088b0efe646e91ce893
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for generinator-rats 18.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.

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

18.2 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