Skip to main content

Python library for parsing and generating source maps

Project description

Python library for parsing and generating source maps.




>>> import sourcemaps
>>> sourcemap = sourcemaps.decode('...')
>>> sourcemap.tokens[3]
<Token: dst_line=10 dst_column=10 src='jquery.js' src_line=50 src_col=200 name='lol'>
>>> sourcemaps.encode(sourcemap)
'{version: 3, mappings: 'AAAA,...', ...}'


  • Python 2.7
  • Python 3.3
  • PyPy

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 python-sourcemaps, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page