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.13.tar.gz
(2.7 kB
view hashes)
Built Distribution
py_sourcemap-0.3.13-py3-none-any.whl
(809.3 kB
view hashes)
Close
Hashes for py_sourcemap-0.3.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f24890416bcd6ed89ac9a97dc3de43e2162e5e9855eaf8d7bbb8085bf394682 |
|
MD5 | ae3b82378b2b6325ea190afbae973742 |
|
BLAKE2b-256 | c8ac23c20f81163110916a53427dfa6a7f804ac7ade1a1de4b2737851b714b22 |