Skip to main content

Parsing JavaScript objects into Python dictionaries

Project description

Chompjs

license pypi version python version downloads

Transforms JavaScript objects into Python data structures.

In web scraping, you sometimes need to transform Javascript objects embedded in HTML pages into valid Python dictionaries. chompjs is a library designed to do that as a more powerful replacement of standard json.loads:

>>> chompjs.parse_js_object("{a: 100}")
{'a': 100}
>>>
>>> json_lines = """
... {'a': 12}
... {'b': 13}
... {'c': 14}
... """
>>> for entry in chompjs.parse_js_objects(json_lines):
...     print(entry)
... 
{'a': 12}
{'b': 13}
{'c': 14}

Reference documentation

Quickstart

1. installation

> pip install chompjs

or build from source:

$ git clone https://github.com/Nykakin/chompjs
$ cd chompjs
$ python setup.py build
$ python setup.py install

Features

There are two functions available:

  • parse_js_object - try reading first encountered JSON-like object. Raises ValueError on failure
  • parse_js_objects - returns a generator yielding all encountered JSON-like objects. Can be used to read JSON Lines. Does not raise on invalid input.

An example usage with scrapy:

import chompjs
import scrapy


class MySpider(scrapy.Spider):
    # ...

    def parse(self, response):
        script_css = 'script:contains("__NEXT_DATA__")::text'
        script_pattern = r'__NEXT_DATA__ = (.*);'
        # warning: for some pages you need to pass replace_entities=True
        # into re_first to have JSON escaped properly
        script_text = response.css(script_css).re_first(script_pattern)
        try:
            json_data = chompjs.parse_js_object(script_text)
        except ValueError:
            self.log('Failed to extract data from {}'.format(response.url))
            return

        # work on json_data

Parsing of JSON5 objects is supported:

>>> data = """
... {
...   // comments
...   unquoted: 'and you can quote me on that',
...   singleQuotes: 'I can use "double quotes" here',
...   lineBreaks: "Look, Mom! \
... No \\n's!",
...   hexadecimal: 0xdecaf,
...   leadingDecimalPoint: .8675309, andTrailing: 8675309.,
...   positiveSign: +1,
...   trailingComma: 'in objects', andIn: ['arrays',],
...   "backwardsCompatible": "with JSON",
... }
... """
>>> chompjs.parse_js_object(data)
{'unquoted': 'and you can quote me on that', 'singleQuotes': 'I can use "double quotes" here', 'lineBreaks': "Look, Mom! No \n's!", 'hexadecimal': 912559, 'leadingDecimalPoint': 0.8675309, 'andTrailing': 8675309.0, 'positiveSign': '+1', 'trailingComma': 'in objects', 'andIn': ['arrays'], 'backwardsCompatible': 'with JSON'}

If the input string is not yet escaped and contains a lot of \\ characters, then unicode_escape=True argument might help to sanitize it:

>>> chompjs.parse_js_object('{\\\"a\\\": 12}', unicode_escape=True)
{'a': 12}

By default chompjs tries to start with first { or [ character it founds, omitting the rest:

>>> chompjs.parse_js_object('<div>...</div><script>foo = [1, 2, 3];</script><div>...</div>')
[1, 2, 3]

Post-processed input is parsed using json.loads by default. A different loader such as orsjon can be used with loader argument:

>>> import orjson
>>> import chompjs
>>> 
>>> chompjs.parse_js_object("{'a': 12}", loader=orjson.loads)
{'a': 12}

loader_args and loader_kwargs arguments can be used to pass options to underlying loader function. For example for default json.loads you can pass down options such as strict or object_hook:

>>> import decimal
>>> import chompjs
>>> chompjs.parse_js_object('[23.2]', loader_kwargs={'parse_float': decimal.Decimal})
[Decimal('23.2')]

Rationale

In web scraping data often is not present directly inside HTML, but instead provided as an embedded JavaScript object that is later used to initialize the page, for example:

<html>
<head>...</head>
<body>
...
<script type="text/javascript">window.__PRELOADED_STATE__={"foo": "bar"}</script>
...
</body>
</html>

Standard library function json.loads is usually sufficient to extract this data:

>>> # scrapy shell file:///tmp/test.html
>>> import json
>>> script_text = response.css('script:contains(__PRELOADED_STATE__)::text').re_first('__PRELOADED_STATE__=(.*)')
>>> json.loads(script_text)
{u'foo': u'bar'}

The problem is that not all valid JavaScript objects are also valid JSONs. For example all those strings are valid JavaScript objects but not valid JSONs:

  • "{'a': 'b'}" is not a valid JSON because it uses ' character to quote
  • '{a: "b"}'is not a valid JSON because property name is not quoted at all
  • '{"a": [1, 2, 3,]}' is not a valid JSON because there is an extra , character at the end of the array
  • '{"a": .99}' is not a valid JSON because float value lacks a leading 0

As a result, json.loads fail to extract any of those:

>>> json.loads("{'a': 'b'}")
Traceback (most recent call last):
  ...
ValueError: Expecting property name: line 1 column 2 (char 1)
>>> json.loads('{a: "b"}')
Traceback (most recent call last):
  ...
ValueError: Expecting property name: line 1 column 2 (char 1)
>>> json.loads('{"a": [1, 2, 3,]}')
Traceback (most recent call last):
  ...
ValueError: No JSON object could be decoded
>>> json.loads('{"a": .99}')
Traceback (most recent call last):
  ...
json.decoder.JSONDecodeError: Expecting value: line 1 column 7 (char 6)

chompjs library was designed to bypass this limitation, and it allows to scrape such JavaScript objects into proper Python dictionaries:

>>> import chompjs
>>> 
>>> chompjs.parse_js_object("{'a': 'b'}")
{'a': 'b'}
>>> chompjs.parse_js_object('{a: "b"}')
{'a': 'b'}
>>> chompjs.parse_js_object('{"a": [1, 2, 3,]}')
{'a': [1, 2, 3]}
>>> chompjs.parse_js_object('{"a": .99}')
{'a': 0.99}

Internally chompjs use a parser written in C to iterate over raw string, fixing its issues along the way. The final result is then passed down to standard library's json.loads, ensuring a high speed as compared to full-blown JavaScript parsers such as demjson.

>>> import json
>>> import _chompjs
>>> 
>>> _chompjs.parse('{a: 1}')
'{"a":1}'
>>> json.loads(_)
{'a': 1}

Development

Pull requests are welcome.

To run unittests

$ python -m unittest discover

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

chompjs-1.4.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distributions

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

chompjs-1.4.1-cp314-cp314t-win_amd64.whl (18.9 kB view details)

Uploaded CPython 3.14tWindows x86-64

chompjs-1.4.1-cp314-cp314t-win32.whl (18.1 kB view details)

Uploaded CPython 3.14tWindows x86

chompjs-1.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl (33.4 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (34.0 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp314-cp314t-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

chompjs-1.4.1-cp314-cp314-win_amd64.whl (18.8 kB view details)

Uploaded CPython 3.14Windows x86-64

chompjs-1.4.1-cp314-cp314-win32.whl (18.0 kB view details)

Uploaded CPython 3.14Windows x86

chompjs-1.4.1-cp314-cp314-musllinux_1_2_x86_64.whl (33.3 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (33.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp314-cp314-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

chompjs-1.4.1-cp313-cp313-win_amd64.whl (18.5 kB view details)

Uploaded CPython 3.13Windows x86-64

chompjs-1.4.1-cp313-cp313-win32.whl (17.7 kB view details)

Uploaded CPython 3.13Windows x86

chompjs-1.4.1-cp313-cp313-musllinux_1_2_x86_64.whl (33.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (33.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp313-cp313-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

chompjs-1.4.1-cp312-cp312-win_amd64.whl (18.5 kB view details)

Uploaded CPython 3.12Windows x86-64

chompjs-1.4.1-cp312-cp312-win32.whl (17.7 kB view details)

Uploaded CPython 3.12Windows x86

chompjs-1.4.1-cp312-cp312-musllinux_1_2_x86_64.whl (33.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (33.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp312-cp312-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

chompjs-1.4.1-cp311-cp311-win_amd64.whl (18.5 kB view details)

Uploaded CPython 3.11Windows x86-64

chompjs-1.4.1-cp311-cp311-win32.whl (17.7 kB view details)

Uploaded CPython 3.11Windows x86

chompjs-1.4.1-cp311-cp311-musllinux_1_2_x86_64.whl (33.5 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (34.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp311-cp311-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

chompjs-1.4.1-cp310-cp310-win_amd64.whl (18.5 kB view details)

Uploaded CPython 3.10Windows x86-64

chompjs-1.4.1-cp310-cp310-win32.whl (17.7 kB view details)

Uploaded CPython 3.10Windows x86

chompjs-1.4.1-cp310-cp310-musllinux_1_2_x86_64.whl (32.5 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (33.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

chompjs-1.4.1-cp39-cp39-win_amd64.whl (18.5 kB view details)

Uploaded CPython 3.9Windows x86-64

chompjs-1.4.1-cp39-cp39-win32.whl (17.7 kB view details)

Uploaded CPython 3.9Windows x86

chompjs-1.4.1-cp39-cp39-musllinux_1_2_x86_64.whl (32.3 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

chompjs-1.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (32.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

chompjs-1.4.1-cp39-cp39-macosx_11_0_arm64.whl (17.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file chompjs-1.4.1.tar.gz.

File metadata

  • Download URL: chompjs-1.4.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1.tar.gz
Algorithm Hash digest
SHA256 fc1a6d7f03fa6381351306a8cefaa5e0946e841c25fba919c726f35f1a3fc614
MD5 392f1ae936d06d3d409f41a38f048338
BLAKE2b-256 8af1cbf1868cf274bfe2b35c43e160bba21b47ee2a85fd1ddd6247106b1e1859

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1.tar.gz:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 014dc3c6da266a6a23c84abdf556fc5c3f9cf7fe62faa49f099a34eea41b91be
MD5 3d9f41661c9443ccd04fa8fe376b24aa
BLAKE2b-256 b08a6d157e56f57ddc59d55a6bc9d474d70a75ca51dcd518f10137c0e7fef563

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314t-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314t-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp314-cp314t-win32.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: CPython 3.14t, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 56fef5011bbe1539aa08dc38545655490655d6777bf638398a635fe3647c94e2
MD5 d403dce884dde38d5e705e0646e2a345
BLAKE2b-256 9c068c8e165af1a5aaf75c1a90a15f730afc97929f828405696e0d7d7f0ba032

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314t-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e5199b2001d670f1e2eab1a2d1ffbb787e38e9275544ca877b387a64abc60426
MD5 5a59dacf483a236f4de478d0b7cafff2
BLAKE2b-256 8bb991e7cb5b015007d0da773f7215267e009c2cba8b628d044d2921166d113d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 32677891ba45f786b82a074622a096f582365407ac86192ee876e21f33ad640a
MD5 98473a1e5c5a514e2349bfb9d94519c3
BLAKE2b-256 8303255b5c9c116973a71584c0db336d0ff8b3d41059f549ef32b322b57514e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 310c212c277bea6cf03c929637e27ece8b9b2fb6c2b1a414dc9cdf249db8c9b9
MD5 821c1c69ae47310406d777d129a76139
BLAKE2b-256 1b3b96bffd874bf03245def38199367e1e52e8f3dc6b050084003f0c5989440a

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a910e9e8bb7fc8992b9f7679a0ec7eb072541a5dc823457598011118dcd7033b
MD5 1907cb5657d663c508390b0d9d4466e0
BLAKE2b-256 7bf45a3046ec9ded96d205613a41a901c2d5e70a415ed0b8d63d67586322b748

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp314-cp314-win32.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 191b4ed5d50b63023407b08823dd4cdbf734a418c9e35e1065efc9a7dabbaae6
MD5 2d894ada7fcd07553cfd060f136ede16
BLAKE2b-256 e5422e60d483d536da8db6537e69f6ba19ce32abe8d5f0ed4f9e4b6d593b33cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2f3f1c7b3d9d52efa6f7cb5b57a8967e1504cf329d8788ac3e7124b9d7138175
MD5 db6d13cd854e1a697e8394e12b56e7f1
BLAKE2b-256 adda9efeedc5897998746775ab58d95bca3a130b673c6be05a6620cea671dff3

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58b61f8cdca5edd5ee909302b25f23afb1dd24794c947b86469c72156ef1d6b5
MD5 99b3aa54b139a34bf5ebe5a2360a6f73
BLAKE2b-256 85cff9e5ad3d1b5779dee2f734ebebee8380148f558d01f34706a676b2e25d72

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 daff5a9ca1dbe05becf3d0510be3bb8ce1904d6f0abdcf3631460db2c2a109ca
MD5 4dbd8ec33f8569a4d96476910c39b561
BLAKE2b-256 297723a0d12f16581918a8ded7f7ee5bb06e0e5fa2d10bb54e49a628730cb7e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0c6c3a3a8fca53595265313d448855c22c2d1a7faf98c8dfa6ec596ca91d4d7a
MD5 89cf6ccb2ebe3148cf03dca7370f899d
BLAKE2b-256 0e43e6882994bebb2d180a8d9dbd821f6fce043db2b8cd4b339138285b185346

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp313-cp313-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 7b65434736a74f35130ce9b0295e3ea74b4d25402c9a8f73a4a4b727c6f39477
MD5 1775eb3ca2c1bd577486ca26961bfe7d
BLAKE2b-256 c1c963ec6297a1a26dd234681a5a73a310ea6c4ac4fe6bed2b17fed2ff7f6632

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp313-cp313-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 415262fc8a62bc85f0ceafce0d1d9c4ea3f4e5b0754e9c799c7d8226692e5d82
MD5 7498c6727fc51417d7a91fff5aa2e5e3
BLAKE2b-256 fded3ff09f31c869b948a07f8c010bba85f19eaf4bdfe4c9640e3c4967c25e9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e0ae219efeb2303ad927fc07d778340c86c0f132b73eb1be075824180c4892b
MD5 bda85e506b3e47e6a036549e4df1a5bf
BLAKE2b-256 ede609636d61b8248f8d8d29ac77df699dbda61a840779187dd84c78c9108dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fa7cbf280788885d2b7b960782ccda6f91fc1ca5764688d1d8be7b6510635e0
MD5 b000a3d09f372e678b5cf88a4dfe07f2
BLAKE2b-256 023b45c40e28a905b9e081af6fa487abd0ae7820aa3706dc94ee3e473ad426ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 75732ac7c0abc2b1422efa51e116b5aa3e55af2aca75716bf212c2639c4e662d
MD5 2b9d599874ea4b1c7cfe9b8877ff1ab1
BLAKE2b-256 fcd4ea4b389f0678d49ba3b0bce7ff3f03b0fbed90768d167f55c00274c96850

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp312-cp312-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 917e467d476d59b42888d01626d0e4de469daa9537af67bb7d88c7faa6a127ed
MD5 0bd01901a66e069b0546c67b10b99ace
BLAKE2b-256 372ea0cd6fcdff04df4264a99a4e031f0080f603521727e0cfcdc345f3ae9bb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp312-cp312-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9512c4411d59858b1089638653eb359a4ed9a52adc016a800c6c523de73edc32
MD5 713c336635950b74db2f0c9d97038e9a
BLAKE2b-256 47eae6ff70318989bcac80f2f9ee870cd91ac94339516b33a0e947b45f70cc01

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e3d3874e9c3adb1a30b111b28f08f3bc5cf1d3e3b17a07df56d25af08f06f46
MD5 8d4f00bb6b54ed1e7fc62725a20db8cd
BLAKE2b-256 89f74715dbb95dcdcd714e1f8e3eb80f76000cca53cec063f08d86a03fdedd2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 41a241f6580f4cc1dfb3ae97beac916401957fafb0e548f1180bc7ae16556a69
MD5 b89708ee86c658924320a618f336b1bd
BLAKE2b-256 7370ef5d882a94ebc36324b36d5e5a71550d14e8310e95f6dfc28546c4962875

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9e5d91417ab200c428348f74dc75078b377ea1cd0dafb78131d747392cf1cc94
MD5 4afec5e5116c2c7c0b0d024353cb1e64
BLAKE2b-256 8aa1c0475a38c7277096b0ac4730a50aef9569d621e6369f1c4d7eae33fac0bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp311-cp311-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 419d0d9feaa8f21e3ef1e4095ec34e0f574ea373b67bcf7cafae8915e5d78658
MD5 c85bd6ae015aa94823614db327dfbf6f
BLAKE2b-256 f7013cd137be3ad3a63ee8a814e1353697af787a48b6dbf68291b8ec58a147cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp311-cp311-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a40b1dac781a1ff3735d3676a5f4c6d9d02702f417a4c54d2398fc6eac28e852
MD5 f71b5bc2c18b5482ce5056585937e324
BLAKE2b-256 76bc505d8ce570ddbbfb62b49686a9dbb7fab1e4cbbca809b78fefd3d286d6eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0315464301c893e3889e1d322432cd76802ffc94a7bb59209d6a89dc508c81a5
MD5 d23743b993dd49ee3a5c04192c285c5c
BLAKE2b-256 16bc963e37bf6c1e38c948c38f1cd59bb96ff4157366c409b4c9d7b2197ba9ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 261a287799bfa9aee888bd6fca349114d66477019bc05fdc9755de0cd0f9323d
MD5 32595d59e17af34aed62a6f9dd01ca2d
BLAKE2b-256 c472fd7821715128c1c2c9d5783544ab6ee09b31f9a92875a3981e391ab152af

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 67930fd96ba34a1dfbabebe4ddc353e31a68c2829d8fe8b4ba32bf2c1d215273
MD5 9c7c2c7f0fc0152cab71515552ee7a85
BLAKE2b-256 64eeca13ee0c3c9c5e6f1bafe340857cf375d3d7dae8fc0a230ad3a9d1669dd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp310-cp310-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 8b257f8f8861943156df01dc7ae6fbf80f7dc39c1741b27a8a39c35f3f4c462f
MD5 83b1e47f90704e0121a28a723d6c7d73
BLAKE2b-256 73e3b073c5429f4d4e29fc7ed9d30b07b19442ff02dad70b0b509a3cbda2475f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp310-cp310-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7f3626b51b3e2ddc3198f73fe1b91e12a67b112fc625d91522fac653de8a9a30
MD5 87684df243ea8a4895f52c99d6d999fd
BLAKE2b-256 e78823af4e7156dcb438cc55955c1d19549e0448cf737fe43e87f0b27cb88b2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53e6bbacc54db4c46393142aa54b9787a4e992cd4e3fe587e15824a5ed4773ed
MD5 8073d53ce297a1cf1148a98bfaee6489
BLAKE2b-256 fffbfd8048e0eae1b727305d3be30e06298928e2961d9d5a5d848233d13b4bec

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b03f207180a76237b9c4ce6d8216ced1e6b89c7b2e6d89a5d885844e350e8f28
MD5 f1a2258c8e57e1373193582fdb335ca9
BLAKE2b-256 365b82a53405be3aeb8205596df5cddd0c7c3569e4a7229cea15e15eb310e530

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 09e10996da41028c966f30c5b377e0e641929e609179e476e620926917232e64
MD5 658a06f217bdd4f39075511042b80cbe
BLAKE2b-256 03225d8bd6ab5406b4421f6e5ab2831fae18e603b519d95e419d8da95166c8b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp39-cp39-win_amd64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: chompjs-1.4.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chompjs-1.4.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 ca9a9820290fc0a441c7f7e84dc511748383b2e4fe0a880cf983b3aa7c0c0e57
MD5 35d38ef90d001de61be55c409578c286
BLAKE2b-256 32af4e73fbcd80b00ebe75a394ea1af5fe60192198df36d811f9e0a41e551495

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp39-cp39-win32.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4768b22e8545f139cf7d30d11e4ca75a2a4f9d2dab48fb0fb4e48fc748a3a7b9
MD5 081d83caa2b5feb66cc0bfefe4c59c05
BLAKE2b-256 4bba42d01c297b569f834e4f30825f9d1b9b664b2af9f3736d01f9c7eec74750

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp39-cp39-musllinux_1_2_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebf90c406286c9e3ebd1964030c996d586b1d914cfe8cb5a1d25f6346358a9df
MD5 11f48eff7a65c60410dafe5c20231a57
BLAKE2b-256 5422b7c14a6341d079ea3bbd725c18627fa15926b39d397f3d3c20a43ddfd982

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chompjs-1.4.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chompjs-1.4.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6057a577592459947a66c2c0ad14ea8d83152f2360fc8dc1c268c920e58e304f
MD5 e32fcc022c0d3d67b53155caeaf84e51
BLAKE2b-256 c7fc65f4a7da04b9b8650caa5be2d49564d772d532c8a84885cf8848f534e374

See more details on using hashes here.

Provenance

The following attestation bundles were made for chompjs-1.4.1-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: deploy.yml on Nykakin/chompjs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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