Skip to content

LeetCode-OpenSource/py-sourcemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 12, 2018
25d186b · Sep 12, 2018
Aug 31, 2018
Sep 12, 2018
Sep 11, 2018
Sep 6, 2018
Sep 12, 2018
Sep 12, 2018
Sep 12, 2018
Aug 31, 2018
Sep 12, 2018
Sep 12, 2018
Sep 3, 2018
Sep 12, 2018
Sep 3, 2018
Sep 12, 2018
Sep 12, 2018
Sep 12, 2018
Sep 3, 2018
Sep 12, 2018
Aug 31, 2018
Sep 12, 2018
Sep 12, 2018

Repository files navigation

py-sourcemap

CircleCI Build Status Build status

A tiny source-map-mappings bindings for python using PyO3

Platform Support

Operating Systems

Linux macOS Windows x86 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