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.7.tar.gz
(2.8 kB
view hashes)
Built Distribution
py_sourcemap-0.3.7-py3-none-any.whl
(809.4 kB
view hashes)
Close
Hashes for py_sourcemap-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8aeb9dc704c2c3664b0d35df1e3a849c368c1a296f35a7d1abd67bd77f6b9bb |
|
MD5 | c839f0940e912c8c15ad18ccc624ee5d |
|
BLAKE2b-256 | dccfb9b06e53c12c0e8337e05e074a40aab9ed01921fc8d857dcf58e7734d387 |