Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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
Filename, size py-sourcemap-0.4.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page