A tiny source-map-mappings bindings for python using PyO3
Project description
py-sourcemap
A tiny source-map-mappings bindings for python using PyO3
Platform Support
Operating Systems
Linux | macOS | Windows x32 | Windows x64 |
---|---|---|---|
✓ | ✓ | ✓ | ✓ |
Python
Python3.5 | Python3.6 | Python3.7 |
---|---|---|
✓ | ✓ | ✓ |
Usage
from py_sourcemap import SourcemapParser
sourcemap_parser = SourcemapParser("./tests/index.js.map")
# pass line, column in, start from 1
sourcemap_parser.original_location_for(1, 195303) # (original_line, original_column, source_file_name, function_name_in_source) start from 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-sourcemap-0.3.12.tar.gz
(2.7 kB
view hashes)
Built Distribution
py_sourcemap-0.3.12-py3-none-any.whl
(809.3 kB
view hashes)
Close
Hashes for py_sourcemap-0.3.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f604af7407351fa461700e3ef73b16220e3ff2d6416225b9f619c50ca8d243ae |
|
MD5 | 4ce32d7077fe54e2de8a9ddd1e426dce |
|
BLAKE2b-256 | cb628340d52a7cd7d2fd962137517f370921f5c8f2444571e48dd5baaa9b6697 |