Parse JavaScript source maps.
>>> import sourcemap
>>> sourcemap.discover('...')
'jquery.min.map'
>>> index = sourcemap.loads('...')
>>> index.lookup(line=10, column=10)
<Token: dst_line=10 dst_column=10 src='jquery.js' src_line=50 src_col=200 name='lol'>
- copyright:
2013 by Matt Robenolt
- license:
BSD, see LICENSE for more details.
Metadata
Release files for sourcemap 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sourcemap-0.2.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sourcemap-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 13.7 kB
Release files / sourcemap-0.2.1.tar.gz
| Download URL | sourcemap-0.2.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be00a90185e7a16b87bbe62a68ffd5e38bc438ef4700806d9b90e44d8027787c
|
|
BLAKE2b-256 checksum How to use checksums |
63120dba762927b6a763fbb33f8a96f5080b0745c7493360c9ead6449c9a9d70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sourcemap-0.2.1-py2.py3-none-any.whl
| Download URL | sourcemap-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c448a8c48f9482e522e4582106b0c641a83b5dbc7f13927b178848e3ea20967b
|
|
BLAKE2b-256 checksum How to use checksums |
6587a4b7f3127837e557560298a7f4af456923470040d2abb3e46597fa557165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |