Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-sourcemap, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size py_sourcemap-0.4.0-py3-none-any.whl (809.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size py-sourcemap-0.4.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page