Skip to main content

JsLex

A Javascript lexer in Python

Ned Batchelder, http://nedbatchelder.com

JsLex is part of an effort to improve Django’s support of localized strings in Javascript code. It splits Javascript source into a list of tokens.

This makes it more palatable by xgettext in C mode.

This is a release to PyPI created by Martijn Faassen to make it usable outside of Django as well.

To run the tests, run “python tests.py”.

CHANGES

0.2.1 (2012-01-13)

  • Added a MANIFEST.in, as otherwise CHANGES.txt isn’t picked up.

0.2 (2012-01-13)

  • Added a jslex_prepare script (using setuptools entry points) that can be used to run this code from the command line.

0.1 (2012-01-13)

  • make it work with setuptools and zest.releaser.

  • Initial release to PyPI.

Metadata

Release files for jslex 0.2.1

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

Source distribution (sdist)

Source distribution for jslex 0.2.1
File Size Uploaded Provenance
jslex-0.2.1.tar.gz 11.5 kB Without provenance Details

Release files / jslex-0.2.1.tar.gz

Download URL jslex-0.2.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f12f1e327420b8d227729d68e0e98018fef9ddbb2144a5792511da7e8a449d5c
BLAKE2b-256 checksum
How to use checksums
3af73c7c8b48083e866805051aed457a1d876eddaf995de693a371c8f453f56a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jslex 0.2.1

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.

Release history Release notifications | RSS feed

This release

0.2.1 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