Skip to main content
Help us improve Python packaging – donate today!

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

Release history Release notifications

This version
History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date (7.0 kB) Copy SHA256 hash SHA256 Source None Jul 16, 2015

Supported by

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